TX Sheet Control

SUMIF Function

Function

Add values whose corresponding cells meet a condition. range is tested against criteria, such as ">15000", "Product*" or a number; the wildcards * and ? match any text and any single character, and the comparison of text is not case-sensitive. SUMIF adds the cells of sum_range whose cell in range matches, or the matching cells of range itself when sum_range is omitted.

Syntax

SUMIF(range, criteria, sum_range)

Category: Conditional. Minimum arguments: 2. Maximum arguments: 3.

Available for supported offline calculation.

Examples

=SUMIF(A4:A6,"Product*",B4:B6)

The formula adds the values of B4:B6 whose cell in A4:A6 starts with Product.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also