[英]Excel Nested IF Statement syntax
Trying to work out how to structure the IF
statements in Excel. 试图弄清楚如何在Excel中构造IF
语句。 From what Ive read the following should work =IF((G2=True("MED"),IF(H2=True("HIGH"),IF(I2=True("CRITICAL"), "LOW")
However Im getting errors. 从我读过的东西下面应该工作=IF((G2=True("MED"),IF(H2=True("HIGH"),IF(I2=True("CRITICAL"), "LOW")
但是我正在错误。
Im Trying to determine if A Row contains a True, in either of those CELLS if it does then display the true value (MEDIUM,HIGH,CRITICAL). Im试图确定某行中是否包含True,如果确实显示了真值(MEDIUM,HIGH,CRITICAL)。
Can anyone point out where im going wrong? 谁能指出我哪里出问题了?
G2 G2
=IF(E2<=6.9, "MED", "Not MED")
H2 H2
=IF(E2>=7, "HIGH", "Not HIGH")
I2 I2
=IF(E2=10, "CRITICAL", "Not CRITICAL")
Target Cell D2 靶细胞D2
=IF(G2,"MED",IF(H2,"HIGH",IF(I2,"CRITICAL","LOW")))
作为评论的后续内容,这一条作品
=IF(G2="MED",G2,IF(H2="HIGH",H2,IF(I2="CRITICAL",I2,"LOW")))
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.