Skip to main content

SUMIF

Sums cells that meet a criteria.

CategoryAggregate
SyntaxSUMIF(range, criteria, [sum_range])

Parameters

ParameterRequiredDescription
rangeRequiredThe range of cells to evaluate against the criteria.
criteriaRequiredThe criteria in the form of a number, expression, or text that defines which cells will be added.
sum_rangeOptionalThe actual cells to sum. If omitted, the cells in range are summed.

Example

SUMIF(A1:A10, ">5")           // Sum values greater than 5
SUMIF(A1:A10, ">5", B1:B10) // Sum B where A > 5

Auto-generated from the EngCanvas function registry.