SUMIF and COUNTIF
Total and count only the rows that match a condition, and copy the formula down without breaking its ranges.
In this lesson
=SUMIF(range, condition, sum_range)adds the sum_range numbers on the rows where the range passes the condition.- Text goes in quotes and ignores case:
"Travel". - Comparisons go in quotes:
">1000","<>Meals".
Try a free lesson first
Delete repeated rows from a merged list, and choose which columns decide what counts as a duplicate.
Confident · 9 min · Free, with no sign-up
Do the free lesson on your computer.
Send yourself the link and open it on a laptop or desktop.
On your computer, go tolearnford.com/go/2R5R
This lesson is in the full Excel course
US$149 once
Tax included. New lessons are added as they're written.
Get the full course, US$14930-day money-back guarantee if you've opened fewer than 10 paid lessons.
- All 217 Excel lessons open today, and every new one as it's written.
- The Roadmap, Skills and all eight paths.
- A cheat sheet for every lesson you finish.
Where it sits in Math and statistics
- SUM, AVERAGE, MIN and MAX8 min
- COUNT, COUNTA and COUNTBLANK7 min
- ROUND, ROUNDUP and ROUNDDOWN10 min
- SUMIF and COUNTIFThis lesson12 min
- SUMIFS and COUNTIFS with several conditions11 min
- AVERAGEIF and AVERAGEIFS11 min
The steps
12 steps: 4 explanations, 5 Do this, 2 questions, 1 Your turn, then Your turn.
Try a free lesson first
Delete repeated rows from a merged list, and choose which columns decide what counts as a duplicate.
Confident · 9 min · Free, with no sign-up
Do the free lesson on your computer.
Send yourself the link and open it on a laptop or desktop.
On your computer, go tolearnford.com/go/2R5R