Forum Discussion
cestrada
Aug 30, 2019Copper Contributor
Help with Excel using IF and AND and OR and NOT functions
Hi, I'm trying to write a formula that incorporates the IF function and uses the OR, AND and NOT features. I want the formula to read: IF cell G5="DS" or "DT" AND cell AF5 does not equal "FT10...
Detlef_Lewin
Aug 30, 2019Silver Contributor
Just the boolean logic.
=OR(G5="DS",G5="DT")*AND(AF5<>"FT10",AF5<>"FC10",AF5<>"TXTX",AF5<>"RSTK")*S5
Subodh_Tiwari_sktneer
Aug 30, 2019Silver Contributor
It needs only a small tweak...
=OR(G9="DS",G9="DT")*AND(AF9<>"FT10",AF9<>"FC10",AF9<>"TXTX",AF9<>"RSTK")*-S9