Forum Discussion
CaliMayhem
Apr 09, 2024Copper Contributor
FALSE Responses When using IF Equations
Hi, I have an IF equation with a Yes/No Response [=IF(C3="Yes","Buy Cupcakes",IF(C3="No","Buy Brownies")). This works fine. What I am now trying to do is have an explanation in the next column, k...
Patrick2788
Apr 09, 2024Silver Contributor
If you omit the false argument, Excel will default to showing FALSE:
To show a blank instead, you could use:
=IF(C3="Yes","Yum","")
- CaliMayhemApr 09, 2024Copper ContributorThat wors perfectly when I have two conditions. What do I do when I have three conditions and it only needs to be blank for one of them. This is what I tried, but it didn't work 😞
=IF(C6="Yes","Explanation not required",IF(C6="Not Applicable","Explanation not required,"IF(C6="No","")))
I am trying to use an excel spreadsheet that will heavily automate a task for us hence all the questions....- SergeiBaklanApr 09, 2024Diamond Contributor
As variant
=SWITCH( TRUE, OR( C6 = {"Yes","Not applicable"} ), "Explanation not required", "") - Patrick2788Apr 09, 2024Silver Contributor
You can arrange it as an IF-OR:
=IF(OR(C6="Yes","Explanation not required",C6="Not applicable"),"Explanation not required","")