Excel functions / Maths & statistics

SUMIFS

Adds up the values that meet several conditions at once.

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

Arguments

sum_rangeThe cells to add. Note that it comes first here, unlike SUMIF.
criteria_range1, criteria1The first range to test and its condition.
criteria_range2, criteria2, ...More pairs. A row is added only if it meets every condition.

How it works

SUMIFS is SUMIF with as many conditions as you need: sales in the West and over 400, or orders from one customer within a date range.

Every condition must be true for a row to count. You can test the same column twice, which is how you total values between two numbers.

Example

E2=SUMIFS(C2:C5,A2:A5,"West",C2:C5,">400")
ABCDE
1RegionRepSales
2EastAna500700
3WestBen300
4EastCal250
5WestDee700
6

Result: 700. Only Dee is in the West with sales over 400.

Tips

Practise SUMIFS

Try it yourself in a real spreadsheet, with instant feedback on every answer.

Start the exercise

Related