IF: make a decision in a cell
Part of the full Google Sheets course
Write an IF that shows one result or another depending on a test, with text, numbers or an empty cell as the result.
- 12steps
- 11minutes
- 1cheat sheet
Lessons run in your browser on a laptop or desktop.
In this lesson
12 steps, about 11 minutes in a practice Google Sheets. Each step is checked the moment you do it.
- Decide for every row whether a target was met, the same way each time.
- Pick the comparison that counts a result exactly on the target as met.
- Leave a cell blank when there's nothing to say, so rows needing action stand out.
- Keep number results as real numbers, so a total still adds them up.
The steps
How the lesson goes.
- 12 steps: 4 explain the idea, 5 you do yourself and 3 ask a question. Then your turn: the same job on your own.
- Cheat sheet: IF: make a decision in a cellWith 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: make a decision in a cell 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