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 referenceHow to use the COUNTIF function in Excel
Practice COUNTIF
Count the scores of 80 or higher.
| A | B | |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 | ||
| 4 | ||
| 5 |
Show example formula
=COUNTIF(A2:A5,">=80") Lesson quiz
Answer three questions to see your level in this lesson.
