SpreadsheetFormulas
beginnerSUMIFS

Sum Values That Meet Multiple Conditions

You need a total that only includes certain rows — revenue for one region, spend in one category, hours for one project — instead of summing the whole column.

Quick formula
=SUMIFS(C2:C20,A2:A20,"Sales",B2:B20,">100")
Sample input
1RegionUnitsRevenue
2Sales1402800
3Sales801600
4East2004000
5Sales1503000
Result
1QuestionResult
2Sales revenue, units > 1005800

Excel & Google Sheets

=SUMIFS(C2:C20,A2:A20,"Sales",B2:B20,">100")

This formula works in both Excel and Google Sheets.

How it works

SUMIFS adds up values from C2:C20, but only for rows where column A equals Sales and column B is greater than 100. Note the argument order: the range to sum comes first, then the condition pairs. This is the reverse of the older SUMIF, which puts the sum range last — a regular source of confusion.

C2:C20
The values to add up. This range comes first in SUMIFS.
A2:A20,"Sales"
Condition 1: column A must equal Sales.
B2:B20,">100"
Condition 2: column B must be greater than 100. Operators go in quotes.

When to use it

Use SUMIFS for any conditional total: revenue by rep, expenses by month, quantities by warehouse. For a full breakdown by every category at once, a pivot table is usually better.

Common mistakes

  • Putting the sum range last, like SUMIF.

    SUMIFS takes the sum range first. Mixing up the order sums the wrong column or errors out.

  • Summing a range that contains text.

    Text cells are silently treated as zero. Check the sum column holds real numbers, not numbers stored as text.

Did this formula help?

Engine-verified against the sample data aboveLast reviewed 2026-07-08