SUMIFS with Multiple Criteria in Excel: 8 Real-World Examples

SumIFS With Multiple Criteria Blogpost
Struggling to sum data across multiple conditions in Excel? This guide covers SUMIFS with multiple criteria through 8 practical examples — from basic text matching to date ranges, wildcard patterns, OR logic, and dynamic cell-referenced filters. Each example includes a sample dataset and a ready-to-copy formula. Perfect for beginners and intermediate Excel users building reports, dashboards, or payroll sheets.

The SUMIFS with multiple criteria formula is one of the most powerful tools in all of Excel. It lets you sum values that match two, three, or even ten conditions simultaneously — across text, numbers, dates, and wildcards. In this guide, you will find 8 real-world examples that go well beyond the basics, each paired with a sample dataset and a formula you can copy directly into your spreadsheet.

SUMIFS Syntax Explained

Before working through the examples, here is the full SUMIFS syntax so every argument is completely clear:

=SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)
Argument Required? What it means
sum_range Required The cells containing the numbers you want to add up
criteria_range1 Required The first column to evaluate against a condition
criteria1 Required The first condition — text, number, date, or comparison expression
criteria_range2, criteria2 Optional Additional column + condition pairs. Up to 127 pairs total.
Key difference from SUMIF: SUMIFS places sum_range as the first argument. SUMIF places it last. Also, SUMIFS applies AND logic by default — every condition must be true for a row to contribute to the sum.

Example 1: Two Text Criteria (Region + Product)

The most common use of SUMIFS with multiple criteria is matching two text columns. Here you want to sum sales for the North region and the Laptop product only.

Sum sales where Region = "North" AND Product = "Laptop"
#
A — Region
B — Product
C — Sales
1
North
Laptop
$4,200
2
South
Laptop
$3,100
3
North
Monitor
$1,800
4
North
Laptop
$5,500
5
East
Laptop
$2,700
=SUMIFS(C2:C6, A2:A6, "North", B2:B6, "Laptop")
Result: $9,700 — Only rows 1 and 4 match both conditions.

Rows 2, 3, and 5 are excluded because each fails at least one condition. This is the AND logic SUMIFS applies automatically — a row must satisfy every criterion to be counted.

Example 2: Sum Between a Date Range

SUMIFS handles date ranges using comparison operators. This is ideal for monthly or quarterly reporting where you need to isolate a specific time window.

Sum revenue between Jan 1 and Jan 31, 2026
#
A — Date
B — Revenue
1
15-Jan-26
$8,400
2
28-Jan-26
$3,200
3
02-Feb-26
$5,100
4
20-Feb-26
$2,700
-- Using hardcoded dates (DATE function): =SUMIFS(B2:B5, A2:A5, ">="&DATE(2026,1,1), A2:A5, "<="&DATE(2026,1,31)) -- Referencing cells E1 (start date) and E2 (end date): =SUMIFS(B2:B5, A2:A5, ">="&E1, A2:A5, "<="&E2)
Result: $11,600 — Only January dates qualify.
Pro tip: Always concatenate the operator string with an ampersand before a cell reference: ">="&E1. Never put the cell reference inside the quotes — it will be treated as literal text and return zero.

Example 3: Greater Than / Less Than Numbers

Numeric comparisons let you filter rows where a value falls above or below a threshold before summing. This is common in payroll, inventory, and sales analysis.

Sum bonuses where Salary > $50,000 AND Years > 3
#
A — Salary
B — Years
C — Bonus
1
$62,000
5
$4,000
2
$45,000
6
$2,500
3
$78,000
8
$6,200
4
$55,000
2
$3,100
=SUMIFS(C2:C5, A2:A5, ">"&50000, B2:B5, ">"&3)
Result: $10,200 — Rows 1 and 3 qualify. Row 2 fails the salary test; row 4 fails the years test.

Example 4: Wildcard Matching with *

SUMIFS supports the wildcard characters * (any sequence of characters) and ? (exactly one character). This lets you match partial text — perfect for grouping product families, sub-regions, or order codes that share a prefix.

Sum sales where Region starts with "North" (any variant)
#
A — Region
B — Sales
1
North
$4,200
2
North-East
$3,800
3
Northern
$2,100
4
South
$5,000
=SUMIFS(B2:B5, A2:A5, "North*")
Result: $10,100 — All three North variants match; South does not.
Wildcard cheat sheet:
"North*" — starts with North  |  "*Pro*" — contains "Pro" anywhere  |  "??-2026" — exactly two chars then -2026  |  "~*" — literal asterisk (tilde escapes)

Example 5: Three Conditions Combined

SUMIFS scales effortlessly to three or more conditions. Here you filter by salesperson, region, and product simultaneously — a scenario common in sales commission reporting.

Sum where Person = "Ana" AND Region = "East" AND Product = "Chair"
#
A — Person
B — Region
C — Product
D — Amount
1
Ana
East
Chair
$1,200
2
Ben
East
Chair
$900
3
Ana
East
Chair
$2,400
4
Ana
West
Chair
$3,000
=SUMIFS(D2:D5, A2:A5, "Ana", B2:B5, "East", C2:C5, "Chair")
Result: $3,600 — Only rows 1 and 3 pass all three conditions.

Example 6: OR Logic (Two SUMIFS Added Together)

Since SUMIFS uses AND logic natively, OR logic requires a workaround: add two separate SUMIFS results together. This gives the total where condition A or condition B is true.

Sum sales where Region = "North" OR Region = "South"
-- Method 1: Simple addition (easy to read) =SUMIFS(C2:C10, A2:A10, "North") + SUMIFS(C2:C10, A2:A10, "South") -- Method 2: SUMPRODUCT + array (scales to many OR values) =SUMPRODUCT(SUMIFS(C2:C10, A2:A10, {"North","South","East"}))
Which to use? Method 1 is easiest to read and audit. Method 2 scales better — just extend the array with more values. Be aware: if any row can match more than one OR condition simultaneously, simple addition may double-count those rows.
Watch out for double-counting: If your data can have overlapping matches (e.g. a row tagged as both "North" and in another filtered column that also matches), use SUMPRODUCT with distinct criteria to avoid counting the same row twice.

Example 7: Dynamic Criteria from a Cell

Hard-coding criteria works for one-off analysis, but for dashboards and reports you should reference cells. This way a user changes the filter value in one cell and every connected SUMIFS updates automatically.

Dynamic dashboard filter driven by dropdown cells
#
E — Label
F — User selects
1
Region filter
North ← dropdown
2
Product filter
Laptop ← dropdown
3
Total Sales
=SUMIFS formula →
-- Reference cells instead of hardcoded strings: =SUMIFS(C2:C100, A2:A100, F1, B2:B100, F2) -- Partial match from a cell (append wildcard with &): =SUMIFS(C2:C100, A2:A100, F1&"*")
Pair with Data Validation dropdowns: Go to Data → Data Validation → List and enter your allowed values. Now users pick from a predefined list and every SUMIFS in your dashboard updates instantly — no formula editing needed.

Example 8: Summing Across Multiple Sheets

A common quarterly reporting pattern uses one sheet per month. The cleanest approach is a SUMIFS per sheet added together, or better still, consolidate all data on a single master sheet with a Month column.

Q1 total for "North" region across Jan, Feb, Mar sheets
-- Option A: Chain SUMIFS across sheets =SUMIFS(Jan!C:C, Jan!A:A, "North") +SUMIFS(Feb!C:C, Feb!A:A, "North") +SUMIFS(Mar!C:C, Mar!A:A, "North") -- Option B (recommended): Single master sheet + two criteria =SUMIFS(D2:D5000, A2:A5000, "North", E2:E5000, "Q1")
Best practice: Avoid splitting data across multiple sheets whenever possible. A single table with a Month or Quarter column is always easier to query, audit, and extend.

Quick-Reference: All Comparison Operators in SUMIFS

Operator syntax Meaning Example formula
"="&A1 Equal to cell A1 =SUMIFS(C:C, A:A, "="&A1)
"<>"&A1Not equal to cell A1 =SUMIFS(C:C, A:A, "<>"&A1)
">"&A1 Greater than A1 =SUMIFS(C:C, B:B, ">"&A1)
">="&A1 Greater than or equal to A1 =SUMIFS(C:C, B:B, ">="&A1)
"<"&A1 Less than A1 =SUMIFS(C:C, B:B, "<"&A1)
"<="&A1 Less than or equal to A1 =SUMIFS(C:C, B:B, "<="&A1)
"<>" Not blank / not empty =SUMIFS(C:C, A:A, "<>")
"" Is blank / empty =SUMIFS(C:C, A:A, "")
"North*" Starts with "North" (wildcard)=SUMIFS(C:C, A:A, "North*")
"*Pro*" Contains "Pro" anywhere =SUMIFS(C:C, A:A, "*Pro*")

Troubleshooting: SUMIFS Returning Zero or Wrong Results

If your SUMIFS returns 0 when you expect a number, or the wrong number entirely, work through these five common causes:

1. Range sizes don't match

Every criteria_range must be exactly the same size as the sum_range. If sum_range is C2:C100, every criteria_range must also be 99 rows tall. Mismatched sizes silently return zero.

2. Numbers stored as text

If your criteria column holds numbers formatted as text (look for the green triangle in the corner of each cell), SUMIFS will not match them against numeric criteria. Fix: select the column → Data → Text to Columns → Finish.

3. Extra spaces in cell values

A cell containing "North " (trailing space) will not match "North". Clean data first with TRIM(), or use a wildcard as a workaround: "North*".

4. Date format mismatch

Dates in your sheet must be genuine Excel serial dates (stored as numbers internally), not text that looks like dates. Press Ctrl+` to toggle formula view — real Excel dates display as 5-digit numbers like 46017.

5. Operator placed outside the quote marks

This is wrong: =SUMIFS(C:C, B:B, >"&A1). The operator must be inside the quotes and joined with &: =SUMIFS(C:C, B:B, ">"&A1).

Common mistake: =SUMIFS(C:C, A:A, >=10) without quotes causes an error. Operators must always be inside quote marks, whether hard-coded or concatenated with a cell reference.

Frequently Asked Questions

  • SUMIF supports only one condition, while SUMIFS supports up to 127 criteria pairs, making it far more powerful for multi-condition sum operations. SUMIFS also places sum_range as the first argument, whereas SUMIF places it last — a subtle but important syntax difference.
  • Yes. Add two SUMIFS results together (=SUMIFS(...) + SUMIFS(...)) to apply OR logic, since SUMIFS natively uses AND logic between conditions. For multiple OR values, use SUMPRODUCT: =SUMPRODUCT(SUMIFS(sum_range, criteria_range, {"A","B","C"})).
  • Yes. Use comparison operators inside quotes and concatenate cell references with &: =SUMIFS(B:B, A:A, ">="&E1, A:A, "<="&E2). Make sure dates in your column are real Excel serial dates and not text-formatted strings — press Ctrl+` to verify.
  • Yes. Use * for any sequence of characters and ? for a single character. For example, "North*" matches North, Northern, North-East, etc. To match a literal asterisk, prefix it with a tilde: "~*".
  • Common causes: criteria ranges and sum_range have different sizes, numbers stored as text, extra spaces in cell values, date format mismatches, or a comparison operator placed outside quote marks. See the troubleshooting section above for step-by-step fixes for each issue.
  • SUMIFS supports up to 127 criteria pairs (each pair is one criteria_range and one criteria argument). Performance remains fast for datasets up to several hundred thousand rows in modern Excel and Microsoft 365.