Find empty cells with COUNTBLANK

Counting · About 3 minutes

Find empty cells with COUNTBLANK

Before you send a sheet on, it helps to know what's missing. COUNTBLANK counts the empty cells in a range.

Exercise 1 of 3 · Worked example

In B8, count the Maths marks not entered yet. Type =COUNTBLANK(B2:B7) and press Enter.

ABC
1StudentMathsScience
2Ananya7885
3Farhan72
4Ishita91
5Karthik66
6Lakshmi88
7Nikhil84
8Not entered (answer cell)

Questions people ask

Does COUNTBLANK count cells with 0?

No. A 0 is a value, so the cell is not blank.

Does COUNTBLANK count cells with a space?

No. A space is text, so the cell is not blank even though it looks empty. TRIM or SUBSTITUTE can clear stray spaces.

Does COUNTBLANK count formulas that return ""?

Yes, in Excel and Google Sheets: a formula showing "" counts as blank. COUNTA counts the same cell as filled, so the two can overlap.

How do I count cells that are not blank?

Use COUNTA, or COUNTIF with "<>" as the condition.

Can COUNTBLANK check two columns at once?

Yes. Give it the whole block, like =COUNTBLANK(B2:C20), and it counts empty cells in both columns.

Theme