Lessons / Decision logic · Lesson 2 of 4
Combined conditions
Nest conditions so both business rules are represented.
- 1See itThe worked example.
- 2Try itIn a real sheet. Hints if you need them.
- 3Do it on your ownWithout hints, to make the skill strong.
D2=IF(AND(B2="North",C2>20),"Truck","Van")
| Row | A | B | C | D |
|---|---|---|---|---|
| 1 | Parcel | Zone | Weight | Send by |
| 2 | P-1 | North | 26 | |
| 3 | P-2 | North | 8 | |
| 4 | P-3 | South | 31 |
AND is true only when every test is true. OR needs just one.
The exercises in this lesson are part of Pro
Pro isn’t on sale yet. The worked example is open to everyone.
Practise it
8 exercises- Invoice deskIntermediate · 10 minPro
- Order queueIntermediate · 10 minPro
- Claims reviewIntermediate · 10 minPro
- Project ledgerIntermediate · 10 minPro
- Pass needs both partsIntermediate · 9 minPro
- Who should be offered support?Intermediate · 9 minPro
- Restaurant or market?Intermediate · 8 minPro
- Fix the results sheetAdvanced · 14 minPro
Next lesson · Decision logic
Open the lessonIFERROR fallbacks
Return a safe numeric fallback for a missing record.