Lookup 函数中如何增加:当发现查找的单元格是空值时,则不返回任何值,为空。 ...
求大神:Lookup 函数中如何增加:当发现查找的单元格是空值时,则不返回任何值,为空。
有如下两个公式,如何增加?
1、
=LOOKUP(MOD(A21,3),{0,1,2},{"0","1","2"})
2、
=LOOKUP(MOD(A21,5),{0,1,2,3,4},{"土","水","火","木","金"}) =if(a21="","",LOOKUP(MOD(A21,3),{0,1,2},{"0","1","2"})) 增加一个判断=IF(A21="","",LOOKUP(MOD(A21,3),{0,1,2},{"0","1","2"})) =IF(A21="","",LOOKUP(MOD(A21,3),{0,1,2},{"0","1","2"})) 解决了问题,也学习到了这个IF技能,谢谢
页:
[1]