ProofDrill

SUMIFS

Adds the numbers whose rows meet every condition.

Worked example

What did large red tents bring in?

D2=SUMIFS(C2:C5,A2:A5,"Red",B2:B5,"Large")

RowABCD
1ColourSizeSalesLarge red
2RedLarge420680
3RedSmall150
4BlueLarge380
5RedLarge260

Numbers first, then pairs of a column and what it must match.

How to write it

=SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], …)

sum_range
The numbers to add.
criteria_range1
The first column to test.
criteria1
What that column must match.
criteria_range2, criteria2, …
More pairs. All must match.
Part of Pro

Try SUMIFS yourself

The tasks for this function are part of Pro, which isn’t on sale yet. The lesson and its worked example are open to everyone.

See the lesson

Watch out for

  • Putting the numbers last, as in SUMIF, gives a wrong total or an error.
  • Every range must be the same size.

Practise it