IF with AND and OR
Part of the full Google Sheets course
Make IF check two or more conditions at once, with AND when all must be true and OR when one is enough.
- 11steps
- 10minutes
- 1cheat sheet
Lessons run in your browser on a laptop or desktop.
In this lesson
11 steps, about 10 minutes in a practice Google Sheets. Each step is checked the moment you do it.
- Require two things at once, so only rows that pass both get a Yes.
- Catch a row when any one of several warning signs shows up.
- Test whether a number falls between two limits.
- Put the tests inside AND or OR the way a spreadsheet expects them.
The steps
How the lesson goes.
- 11 steps: 4 explain the idea, 5 you do yourself and 2 ask a question. Then your turn: the same job on your own.
- Cheat sheet: IF with AND and ORWith the course
Also in Logic
7 lessons in this skill. The Roadmap puts them in order.
Where it sits
Its skill, its stage on the Roadmap and the paths it's in.
Get this lesson and 214 more.
IF with AND and OR is one of 7 lessons in Logic, and one of 215 in the course.
- All 215 lessons, from Beginner to Analyst
- Every step checked, with hints and Show me when you're stuck
- A cheat sheet for every lesson you finish
From the free lesson "Your first pivot table."

No account needed to pay. Payments are handled by Link, Stripe's checkout. Your card statement shows LINK.COM.
30-day money-back guarantee (fewer than 10 paid lessons opened)
Already have the course? Sign in
Try a free lesson first.
5 lessons are free, with no sign-up, in a practice Google Sheets. Your progress in them comes with you when you buy.
Why your formula broke when you copied it
Lock a cell with $ so a formula keeps working when you copy it down.
Free lesson 1 of 5 · 7 min
Start the lessonRemove duplicates
Delete repeated rows from a merged list, and choose which columns decide what counts as a duplicate.
Free lesson 2 of 5 · 9 min
Start the lessonMake a dropdown list
Give a column a dropdown of fixed choices, pick from it, and stop anything else from being typed.
Free lesson 3 of 5 · 7 min
Start the lessonYour first pivot table
Turn 200 rows of sales into totals by region, read the answer, and re-ask the question by rep or product.
Free lesson 4 of 5 · 10 min
Start the lessonLook up a price with VLOOKUP and XLOOKUP
Bring each order's price over from a price list with VLOOKUP or XLOOKUP, and avoid the missing-FALSE trap.
Free lesson 5 of 5 · 11 min
Start the lesson