Math and trigonometry

SUMIFS

Add amounts for rows that meet every specified rule.

Syntax

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

Worked example

Enter East, West, East in A2:A4, Paid, Paid, Open in B2:B4, and 50, 40, 30 in C2:C4. Total paid East invoices.

=SUMIFS(C2:C4,A2:A4,"East",B2:B4,"Paid")

Result 50

Microsoft documentation

Check the arguments, supported editions and behavior of this function in Microsoft’s reference.

Microsoft reference

Search ExcelTutor