Back to Patterns
Combo recipe
Beginner

IF + AND

Branch on multiple conditions at once

When to reach for this

Approve a bonus only when sales > $50K AND attendance ≥ 95%.

=IF(AND(B2>50000, C2>=0.95), "Bonus", "No bonus")

What this pattern does

Nests AND inside IF so both conditions must be true for the yes-branch to fire. Perfect for qualification rules, like awarding a bonus only when sales cross a threshold AND attendance is good.

Interactive walkthrough

Walk through IF

IF + AND lets you branch on multiple conditions at once. All conditions must pass for the yes-branch to fire. Watch it decide a bonus, step by step.

Formula anatomy
3 args
=IF(AND(B2>50000, C2>=0.95),"Bonus","No bonus")
1
AND(B2>50000, C2>=0.95)logical_test

Two conditions combined with AND, both must be TRUE

2
"Bonus"value_if_true

What IF returns when AND is TRUE

3
"No bonus"value_if_false

What IF returns when AND is FALSE

Bonus_Eligibility.xlsxStep 1/6
FileHomeInsertPage LayoutFormulasDataReviewView
B2
fx
=IF(AND(B2>50000, C2>=0.95)"Bonus""No bonus")
ABCDE
1EmployeeSalesAttendance
2Sarah Chen$72,00097%=IF(AND(B2>50000, C2>=0.95), "Bonus", "No bonus")
3James Wu$45,00099%
4Maria Lopez$55,00092%
5Tom Brown$62,00096%
6Anika Patel$80,00098%
Q4 Performance+
Enter

You type the combo formula

Bonus rule: sales > $50K AND attendance ≥ 95%. You're evaluating Sarah in D2: B2 = 72,000 and C2 = 97%. Excel always resolves the innermost function first, so AND runs before IF.

Key takeaway

Choose AND vs OR: use AND when all conditions must be true. Swap to OR when any one condition is enough to trigger the true branch.

IF + AND: Excel Formula Pattern | CellSkill