工具-选项-视图,把“零值”去掉对勾
可将你的公式改为: =IF(ISNUMBER(E21),IF(OR(E21=0,E21=1,E21=2),"小数",""),"" )
=IF((E21<>"")*((E21=0)+(E21=1)+(E21=2)),"小数","")
=IF(AND(OR(E21=0,E21=1,E21=2),E21<>""),"小数","")