SUMIFS adds up numbers in one range only when rows meet several conditions at once. It suits anyone who tracks sales, expenses or inventory in Excel and wants totals per person or product. You only need a spreadsheet with a number column and one or more columns to test.
YouTube video: How to use the SUMIFS function in Microsoft Excel
Captions are available. Use CC in the YouTube player.
Other videos for this task
- How to use the SUMIFS function in Microsoft Excel 1:33 · 6 written steps
- Video length
- 1 min 15 s
- Time to do it
- 10 minutes
- Difficulty
- Easy
- Steps
- 8
What you need
Steps
Open your spreadsheet and click an empty cell where the total should appear.
Type =SUMIFS( to start the formula. Excel will prompt you for each part in order.
Enter the range to add, such as the sales amount column, then type a comma.
Enter the first criteria range, such as the salesperson column, then a comma.
Enter the first condition in quotes, such as "Ana", then a comma.
Add more range and condition pairs for each extra test, separated by commas.
Close the bracket and press Enter to see the total.
Copy the formula down or across if you need the same total for other conditions.
Tips and common mistakes
All ranges must be the same size, or Excel returns a #VALUE! error.
Text conditions go in quotes, but numbers and cell references do not.
Use SUMIF instead when you only have one condition to test.
Questions
What is the difference between SUMIF and SUMIFS?
SUMIF handles a single condition. SUMIFS accepts two or more range and condition pairs, so use it when you need to filter on several columns.
Can I use wildcards in the conditions?
Yes. A condition like "A*" matches any text starting with A, which helps when product names vary.
Why do I get zero instead of a total?
Check that the criteria match the cell contents exactly and that no range is a different size from the sum range.
The notes are drafted automatically from video details and general task knowledge. How the guide was prepared
Report a correction


