Statistical

COUNTIF

Count cells that satisfy one condition, such as a threshold or text match.

Syntax

=COUNTIF(range, criteria)

Worked example

Enter 72, 80, 95 and 63 in A2:A5. Count scores at or above 80.

=COUNTIF(A2:A5,">=80")

Result 2

Microsoft documentation

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

Microsoft reference

Search ExcelTutor