SUMIF and COUNTIF
Part of the full Google Sheets course
Total and count only the rows that match a condition, and copy the formula down without breaking its ranges.
- 12steps
- 12minutes
- 1cheat sheet
Lessons run in your browser on a laptop or desktop.
In this lesson
12 steps, about 12 minutes in a practice Google Sheets. Each step is checked the moment you do it.
- Total each spending category from one long list of purchases.
- Count the rows that match, such as how many purchases were for travel.
- Copy the formula down a whole table without its ranges sliding out of place.
- Match amounts above or below a number, not only exact words.
The steps
How the lesson goes.
- 12 steps: 4 explain the idea, 5 you do yourself, 2 ask a question and 1 you do on your own. Then your turn: the same job on your own.
- Cheat sheet: SUMIF and COUNTIFWith the course
Also in Math and statistics
14 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.
- SkillMath and statistics
- StageConfident
Get this lesson and 214 more.
SUMIF and COUNTIF is one of 14 lessons in Math and statistics, 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