Statistical

COUNTIFS

Count rows that meet all conditions across aligned ranges.

Syntax

=COUNTIFS(criteria_range1, criteria1, [criteria_range2, criteria2], …)

Worked example

Enter Open, Closed, Open in A2:A4 and 9, 8, 2 in B2:B4. Count open items above five units.

=COUNTIFS(A2:A4,"Open",B2:B4,">5")

Result 1

Microsoft documentation

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

Microsoft reference

Search ExcelTutor