AND and OR only become clear when you use them on the same data. “Sport AND large stock” and “Sport OR Hiking” look close, but they do not select the same products at all. Placing them inside IF on one shoe catalogue lets you see the difference line by line.
The following exercise shows you how to combine IF with AND, OR and the not-equal operator, tier after tier.
What you will practice in this exercise
You work on a shoe catalogue with type, price and stock. You answer 12 questions, one formula per question:
- Stock above 100 → “Overstock” (simple IF)
- Not a hiking shoe → price −10% (operator <>)
- Stock above 100 OR price under 20 → “Alert” (IF + OR)
- Sport AND stock above 100 → “Promo” (IF + AND)
- Sport OR Hiking → “Outdoor”, otherwise “City” (IF + OR)
- Stock above 100 AND price of 50 or more → “Clearance” (IF + AND)
- Fill each formula down the list (copy a formula)
Practice with exercises
IF + AND + OR — Shoe selection
Cross type, price and size to pick the right shoes, tier after tier.
Related articles
All the exercises in this series are based on real cases found on Excel forums. Each one answers a question that Excel users really ask.