i use this formula
=IF(OR(J2={"F";"S";"P"});Inventaire!D14; IF(OR(J2={"Mat.IN";"Mat.OUT"}); Inv.Materiel!D14; ""))
but it only refer to J2 if blank i want to add if Inventaire!D14 is blank to "" don't show 0
is there anyway to check if 2 cell are blank at same time ?
thanks for your help
您可以将输出包装在另一个if语句中,以检查结果是否为空,然后输出“”
=IF(ISBLANK(IF(OR(J2={"F";"S";"P"}),Inventaire!D14:IF(OR(J2={"Mat.IN";"Mat.OUT"}),Inv.Materiel!D14,""))),"",IF(OR(J2={"F";"S";"P"}),Inventaire!D14:IF(OR(J2={"Mat.IN";"Mat.OUT"}),Inv.Materiel!D14,"")))
To check if two cells are blank, use this code:
=IF(AND(ISBLANK(B3),ISBLANK(C3)), 1, 0)
Above, is cells C3
and B3
are blank, the function will return 1
. If either or both have values, it'll return a 0
. Hope this helps. I'm not sure how you incorporate this into your own function.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.