Forum Discussion
Sharon_Dquest1
Dec 20, 2021Copper Contributor
Conditional IF AND/OR
Hi, I am working on a spreadsheet and I have a formula that I want to add in a conditional situation. This is what I have: =IF(OR(K12="",L12=""),"",IF(AND(K12="A",L12>=50,L12<=250),"Yes",...
- Dec 20, 2021
=IF(M12="N","No",
IF(OR(K12="",L12=""),"",
IF(AND(K12="A",L12>=50,L12<=250),"Yes","No")))
If i correctly understand what you want to do, you can apply above formula. I changed data validation for cell M12 from Y/N to Y;N in order to select either "Y" or "N".
OliverScheurich
Dec 20, 2021Gold Contributor
=IF(M12="N","No",
IF(OR(K12="",L12=""),"",
IF(AND(K12="A",L12>=50,L12<=250),"Yes","No")))
If i correctly understand what you want to do, you can apply above formula. I changed data validation for cell M12 from Y/N to Y;N in order to select either "Y" or "N".
- Sharon_Dquest1Dec 21, 2021Copper ContributorPerfect! Thank you so much!