How to Use SUMIFS in Excel (Multiple Conditions)
SUMIFS adds up the values that meet several conditions at once. The syntax is =SUMIFS(sum_range, criteria_range1, criteria1, criteria_range2, criteria2, ...) — so you can total sales for the North region in Q1, or expenses for one category above a threshold.
SUMIFS vs SUMIF — the order swap that catches everyone
This is the single most common mistake:
| Formula | Argument order |
|---|---|
| SUMIF | range, criteria, sum_range — sum range last |
| SUMIFS | sum_range, criteria_range, criteria, ... — sum range first |
SUMIFS puts the sum range first, then pairs of criteria range and value. Mix them up and you get a wrong total or #VALUE!.
If you only need one condition, how to use SUMIF in Excel covers the simpler version — but SUMIFS handles one condition perfectly well too, so there’s no harm in using it throughout.
A worked example
Say your data is:
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Region | Quarter | Product | Sales |
| 2 | North | Q1 | Widget | 500 |
| 3 | South | Q1 | Widget | 300 |
| 3 | North | Q2 | Gadget | 700 |
To total North sales in Q1:
=SUMIFS(D2:D100, A2:A100, "North", B2:B100, "Q1")
D2:D100— the numbers to addA2:A100, "North"— first conditionB2:B100, "Q1"— second condition
Both conditions must be true for a row to count.
Adding more conditions
Just keep adding pairs — up to 127:
=SUMIFS(D2:D100, A2:A100, "North", B2:B100, "Q1", C2:C100, "Widget")
That totals North Q1 Widget sales. Each pair narrows the result further.
Criteria operators
The same rules as SUMIF — operators go inside the quotes:
| To match | Write it as |
|---|---|
| Exactly “North” | "North" |
| Greater than 500 | ">500" |
| Greater than or equal to | ">=500" |
| Not equal to | "<>North" |
| Between two values | Two conditions: ">=100", "<=500" |
| Blank | "" |
| A value in another cell | ">"&E2 |
“Between” needs two criteria, since SUMIFS has no BETWEEN operator:
=SUMIFS(D2:D100, D2:D100, ">=100", D2:D100, "<=500")
Using cell references as criteria
Typing criteria into the formula makes it rigid. Referencing cells makes it a reusable summary:
=SUMIFS($D$2:$D$100, $A$2:$A$100, $G2, $B$2:$B$100, H$1)
Fill that across and down, and you’ve built a region-by-quarter matrix from one formula. Note the mixed references — $G2 locks the column, H$1 locks the row.
Dates as criteria
Dates need care because Excel stores them as numbers:
| To sum | Criteria |
|---|---|
| Exactly 15 Jan 2026 | "15/01/2026" or DATE(2026,1,15) |
| After a date | ">"&DATE(2026,1,1) |
| Between two dates | ">="&DATE(2026,1,1) and "<="&DATE(2026,3,31) |
| This month | ">="&EOMONTH(TODAY(),-1)+1 and "<="&EOMONTH(TODAY(),0) |
Using DATE() rather than a text date avoids locale confusion — "01/02/2026" means different things in different countries.
Wildcards
For partial text matches:
=SUMIFS(D2:D100, C2:C100, "*widget*")
* matches any characters, ? matches one. So "*widget*" catches “Widget”, “Blue Widget”, and “Widgets”.
Common problems
| Problem | Fix |
|---|---|
| Wrong total | Usually the argument order — SUMIFS takes the sum range first |
#VALUE! | The ranges are different sizes. Every range must cover the same rows |
| Always returns 0 | Criteria mismatch: trailing spaces, text vs number, or a date stored as text |
| “Between” doesn’t work | SUMIFS has no BETWEEN — use two criteria on the same range |
| Dates won’t sum | The dates are text, not real dates. Check they’re right-aligned |
| Only some rows counted | A range stops short of the data |
Where SUMIFS fits
It’s the workhorse behind most summary tables. Once the totals are right, how to make a graph in Excel turns them into a chart, or a pivot table does the whole grouping job in a few clicks — often faster than writing several SUMIFS formulas.
FAQ
What does SUMIFS do in Excel?
It adds up values that meet several conditions at once — for example, total sales for one region in one quarter.
What’s the difference between SUMIF and SUMIFS?
SUMIF takes one condition and lists the sum range last. SUMIFS takes several conditions and lists the sum range first. The order swap is the usual source of errors.
Can I use SUMIFS with a date range?
Yes — use ">="&DATE(2026,1,1) and "<="&DATE(2026,3,31) as two separate criteria on the same date column.
How do I sum values between two numbers?
Use two criteria: =SUMIFS(D2:D100, D2:D100, ">=100", D2:D100, "<=500"). There’s no BETWEEN operator.
Why is my SUMIFS returning 0?
The criteria aren’t matching. Check for trailing spaces, numbers stored as text, or dates entered as strings rather than real dates.
Related guides
Google Sheets Formulas for Beginners (10 You Need to Know)
The 10 essential Google Sheets formulas every beginner needs — SUM, AVERAGE, COUNT, IF, and more, with working examples.
How to Add Checkboxes in Google Sheets (Tick Boxes)
Add checkboxes in Google Sheets with Insert → Checkbox, set custom checked/unchecked values, and count ticks with COUNTIF or a progress bar.
How to Combine Two Columns in Excel (4 Ways)
Combine two columns in Excel with an ampersand, CONCAT, or TEXTJOIN - plus Flash Fill for one-off jobs, and why merging cells is the wrong answer.