TX Sheet Control

COUNTIFS Function

Function

Count the cells that meet every one of several conditions. Each pair of criteria_range and criteria adds a condition, for up to 127 pairs, and a row counts only when it meets all of them. The criteria work as in COUNTIF. All ranges must have the same size; otherwise COUNTIFS returns #VALUE!.

Syntax

COUNTIFS(criteria_range1, criteria1)

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

Available for supported offline calculation.

Examples

=COUNTIFS(B4:B6,">15000",C4:C6,">19000")

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

See Also