IF With AND & OR in Excel & Google Sheets: Multiple Conditions

Check whether every rule passes (AND) or at least one rule matches (OR) inside an IF formula to return clear status labels automatically.

1. IF With AND (All Conditions Must Be True)

Use =IF(AND(condition1, condition2), value_if_true, value_if_false) when every condition must pass at once—such as a score of at least 80 and attendance of at least 90%:

=IF(AND(B2>=80, C2>=0.9), "Approved", "Review")

2. IF With OR (At Least One Condition True)

Use =IF(OR(condition1, condition2), value_if_true, value_if_false) when meeting any single rule should trigger your result—such as flagging overdue or high-priority tasks:

=IF(OR(B2="Urgent", C2="Overdue"), "Action Needed", "Normal")

Worked Example

Score (Col B) Attendance (Col C) =IF(AND(B2>=80, C2>=0.9), "Approved", "Review")
85 95% Approved (both rules true)
88 82% Review (attendance below 90%)

Helpful Tips

Editorial & Accuracy Note: Tested across Microsoft Excel and Google Sheets. Part of the Know Unlimited Excel & Google Sheets Hub.