ProofDrill

SUMIF

Adds the numbers whose rows meet one condition.

Worked example

How many hours went on repairs?

D2=SUMIF(C2:C4,"Repair",B2:B4)

RowABCD
1JobHoursTypeRepairs
2J-13Repair5
3J-25Install
4J-32Repair

The test comes first and the numbers last.

How to write it

=SUMIF(range, criteria, [sum_range])

range
The cells to test.
criteria
What to match, such as "Paid" or ">100".
sum_range
The numbers to add.
Free with a free account

Try SUMIF yourself

Real tasks in a spreadsheet, checked on changed data. A free account saves your work and checks your answers.

Practise it free

Watch out for

  • The two ranges should start and end on the same rows.
  • SUMIFS puts the numbers first, so the order is different.

Practise it