FormulaCraft

How to count blank cells in Excel and Google Sheets

Excel & Google Sheets
=COUNTBLANK(B2:B6)

Verified example

Computed by a real spreadsheet engine on the sample data below.

LabelScore
Alpha85
Beta
Gamma90
Delta
Epsilon78

=COUNTBLANK(B2:B6)2

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Identify the range to check for blanks, e.g. B2:B6.
  2. 2In an empty cell type =COUNTBLANK(B2:B6) and press Enter.
  3. 3The result is the number of cells in that range that are empty.

Tips

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

Does COUNTBLANK count cells containing a space character?

No — a cell with a space is not blank. COUNTBLANK only counts cells with no content at all or that return "".

Can I count blank cells in a column conditionally (e.g. only in rows where another column equals 'A')?

Yes: =COUNTIFS(A2:A6,"A",B2:B6,"") counts rows where A is 'A' and B is blank.

Formulas used

Related tasks

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: