Adding values that meet a condition
=SUMIF(range, criterion, [sum_range])
SUMIF checks each cell in range against the criterion and adds up the matching rows from sum_range.
=SUMIF(B2:B11, "East", C2:C11)totals column C where column B says East.- If you leave out
sum_range, SUMIF adds the matching cells inrangeitself:=SUMIF(B2:B11, ">1000"). - Point the criterion at a cell (
E2) to build a little report that updates when you change E2.
Criteria work exactly like COUNTIF: comparisons in quotes, wildcards allowed.