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:

FormulaArgument order
SUMIFrange, criteria, sum_range — sum range last
SUMIFSsum_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:

ABCD
1RegionQuarterProductSales
2NorthQ1Widget500
3SouthQ1Widget300
3NorthQ2Gadget700

To total North sales in Q1:

=SUMIFS(D2:D100, A2:A100, "North", B2:B100, "Q1")

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 matchWrite it as
Exactly “North”"North"
Greater than 500">500"
Greater than or equal to">=500"
Not equal to"<>North"
Between two valuesTwo 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 sumCriteria
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

ProblemFix
Wrong totalUsually the argument order — SUMIFS takes the sum range first
#VALUE!The ranges are different sizes. Every range must cover the same rows
Always returns 0Criteria mismatch: trailing spaces, text vs number, or a date stored as text
“Between” doesn’t workSUMIFS has no BETWEEN — use two criteria on the same range
Dates won’t sumThe dates are text, not real dates. Check they’re right-aligned
Only some rows countedA 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.