Spend for one category
A Google Sheets formula exercise from Sheetsdrill. Solve it with a formula bar on a live sheet in your browser, and it is checked the moment you submit.
The task
Add up the expenses in the category typed in E1. Point at E1 instead of typing the category, so the total follows when it changes. Answer in E2.
What this exercise teaches
SUMIF tests one column and adds another. With a cell as the criterion, changing E1 turns the same formula into the total for any category.
A hint if you get stuck
SUMIF(range to test, criterion, range to add). The criterion can be a cell.
Try it now, free, no account needed
Your first 15 exercises on Sheetsdrill are free. Open it on the practice page, solve it, and get instant feedback with a hint. A free account adds the worked solution; Pro unlocks every exercise, timed mode and the certificate.
Open this exerciseMore exercises in Conditional counting and summing
- Late deliveries
- Open high-priority tickets
- Sales for one rep and month
- Won deals above a minimum
- Average reply time
- Largest order in a region
- Cheapest item in stock
- Orders between two dates
- Customer tiers with IFS
- Region names with SWITCH
- Contacts on one email domain
- Active SKUs with a prefix
- Free shipping rule
- Weighted average score
- Rank without RANK
- Everything except one status
- Revenue for one month
- Average rating without the zeros
- Contacts with no email