Function reference · Math & aggregation

SUMIFS

Adds up numbers that meet several conditions at once.

SUMIFS(sum_range, criteria_range1, criterion1, [criteria_range2, criterion2, ...])

SUMIFS is SUMIF with more than one test — sales in the West, in Q3, above 1000. Conditions combine with AND.

Arguments

ArgumentRequiredWhat it does
sum_range Yes The numbers to add. Comes first, unlike SUMIF.
criteria_range1 Yes The range the first condition tests.
criterion1 Yes The first condition.

Worked example

RegionRepSales
WestAna1200
EastBen900
WestCara1500
NorthDan600
EastEve1100
=SUMIFS(C2:C6, A2:A6, "West", C2:C6, ">1000")

Returns 2700.

West rows with sales above 1000 — both of Ana's and Cara's figures qualify.

Gotchas

Related functions