Excel AND statement with 3 conditions

2019-09-02 07:27发布

I have this code in cell O2 and its working.

 =IF(OR(AND(M2=0;N2=0;I2>14);AND(N2<0,05;I2>14);AND(I2>14;N2<0,05););H2;"")

I want this additional condition. O2 should be also empty if L2 is greater than 0. Adding a 3rd condition to the AND statements didnt work.

enter image description here

1条回答
对你真心纯属浪费
2楼-- · 2019-09-02 08:16

I also had an issue adding the statement to the AND for some reason. You could nest your equation inside another IF statement like so

O2 = IF(L2 > 0; ""; x)

where x = your current equation

查看更多
登录 后发表回答