COUNTBLANK
Count blank cells and formulas that produce an empty string.
Syntax
=COUNTBLANK(range)Worked example
Enter a value in A2 and A4 and leave A3 and A5 empty. Count the missing entries.
=COUNTBLANK(A2:A5)Result 2
Microsoft documentation
Check the arguments, supported editions and behavior of this function in Microsoft’s reference.
Microsoft referenceHow to Use COUNTBLANK Function in Excel
Practice COUNTBLANK
Count the empty entries in A2:A5.
| A | B | |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 | ||
| 4 | ||
| 5 |
Show example formula
=COUNTBLANK(A2:A5) Lesson quiz
Answer three questions to see your level in this lesson.
