How to use the SUMIFS function in Excel

SUMIFS adds up numbers in a range only when matching rows meet the conditions you set. It suits anyone who tracks sales, expenses or stock in a spreadsheet. You only need Excel and a table with a header row.

YouTube video: SUMIFS Function in Excel - How to Use SUMIFS function with 5 Examples

YouTube’s video details do not confirm captions. Check CC in the player for available tracks.

7 chapters. Tap a step to jump to it.Chapters from the creator
Choose a chapter (7)
Video length
11 min 49 s
Time to do it
10 minutes
Difficulty
Easy
Steps
8

What you need

Steps

  1. Click the cell where you want the total and type =SUMIFS( to start the formula.

  2. Select the range of numbers to add, such as the sales column, and type a comma.

  3. Select the criteria range, such as the region column, then type a comma.

  4. Type the criteria value, like "North" in quotes or a cell reference, and close the bracket.

  5. Press Enter and check the result against a manual count of a few rows.

  6. Add more range and criteria pairs before the closing bracket to test several conditions at once.

  7. For numeric tests, put the operator in quotes, like ">=100", followed by the number.

  8. For dates, use quoted comparisons such as ">="&DATE(2021,1,1) so Excel reads them as dates.

Tips and common mistakes

All ranges in SUMIFS must be the same size, or Excel returns an error.

Text criteria are not case sensitive, so "north" and "North" match the same rows.

Use cell references for criteria so you can change the filter without editing the formula.

Questions

What is the difference between SUMIF and SUMIFS?

SUMIF handles one condition. SUMIFS handles one or more and puts the sum range first.

Why does my SUMIFS return 0?

The criteria likely do not match the data, or the ranges are different sizes. Check spelling, spaces and range lengths.

Can I use wildcards in SUMIFS?

Yes. Use * for any number of characters and? for a single character, like "Nor*".

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in Money & Office

See all