Loading…
Loading…
Combine IF with AND and OR to make richer decisions, or nest one IF inside another for three or more outcomes. Build the test first (AND(...) or OR(...)), then wrap it in IF.
Syntax
IF(AND(test1,test2), yes, no) · IF(OR(test1,test2), yes, no) · IF(test1, a, IF(test2, b, c))
Example: =IF(AND(B2>=100,C2="Yes"),"Free","Pay")
Common mistakes
Read the lesson, then try it yourself in a live spreadsheet.