COUNT Blank Cells in Excel

There are two ways to “count blank cells in excel”: the quick way you copy and the durable way you understand. This page gives you both. The exact Excel answer is above with a tool to test it; below, we build the small mental model that makes the fix stick, so the next variation of the same problem solves itself.

Exact answer

In Excel: use =COUNTBLANK(range) — it counts empty cells, and also counts cells whose formula returns an empty string.

On this page8

Syntax

=COUNTBLANK(range)

Arguments

Argumentrequired / optionalDescription
rangerequiredThe range to check for empty cells.

Related functions

COUNTACOUNTCOUNTIF
ƒxCell CounterLive

Operators >, >=, <, <=, <> and the * / ? wildcards all work, exactly as in Excel. Matching is case-insensitive.

Not blank (COUNTA)
6
Not blank (COUNTA)
6
Numbers (COUNT)
3
Text cells
3
Blank (COUNTBLANK)
2

8 cells read

=COUNTA(A2:A9)

COUNT only counts numbers; COUNTA counts anything that is not blank. A number stored as text is text to both.

Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

What this does

COUNTBLANK counts the empty cells in a range. Its defining quirk is the mirror image of COUNTA's: a formula returning "" is counted as blank here, even though the cell is not truly empty. That makes the two functions disagree about the same range, which is confusing until you know it — and useful once you do, because the difference between them isolates exactly the cells that only look empty. Its everyday role is completeness checking: how many required fields are still unfilled. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “count blank cells in excel”. Start on a copy or a tiny sample, keep the affected blanks visible, and compare the result with the tool above before you touch the real workbook. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. The point is a layout choice that keeps the sheet readable and sortable, but the practical win is that someone else can open the file and understand what happened without asking you.

A worked example

A required-field column C2:C200: =COUNTBLANK(C2:C200) returns how many entries are still missing, and =COUNTBLANK(C2:C200)/ROWS(C2:C200) turns that into a completeness percentage. On a range of =IF(...,"",...) formulas, COUNTBLANK counts the empty-string results while COUNTA does not — the gap identifies them precisely. COUNTBLANK is the completeness check for any data-entry sheet, and its disagreement with COUNTA is a precise diagnostic rather than a bug. A practical tip before you scale it up: build it once on a small block of test data, confirm the number against the tool on this page, and only then point it at your real sheet. That one habit catches almost every mistake while it is still cheap to fix, long before a wrong figure reaches a report or a colleague.

In Google Sheets

Google Sheets handles this almost identically to Excel. The formula syntax above is the same, and the menu lives under a slightly different label rather than a ribbon tab. Use the platform toggle at the top of the page to switch every keyboard shortcut between Windows and Mac, and expect at most cosmetic differences in naming. Keep this page bookmarked for the next time the same question comes up. Better still, rebuild the example once in your own sheet — doing it yourself, with the tool above to check against, is what turns a copied formula into a technique you own. Here is the takeaway for “count blank cells in excel”: copy the answer if you are busy, but if you have a spare few minutes, rebuild the example in Excel yourself with the tool above open beside it. That single pass — type it, run it, watch the result move when you change an input — is what turns a formula you found into a technique you trust. Keep your inputs labelled and referenced, never hard-coded, and the same sheet stays correct and auditable as it grows. Done that way, you will not need to look this up again, and you will be the person others ask.

Common mistakes

  • Expecting it to ignore formula-produced empty strings — it counts them as blank.
  • Passing several ranges; COUNTBLANK takes exactly one.
  • Treating a cell containing a space as blank; it is not, and COUNTBLANK will not count it.

Frequently asked questions

Does COUNTBLANK count formulas that return ""?

Yes, it treats them as blank — the opposite of COUNTA, which counts them as filled.

How do I count blanks across several ranges?

Add several COUNTBLANK calls together; the function itself takes only one range.

Why do COUNTA and COUNTBLANK not add up to the range size?

Because cells holding formulas that return "" are counted by both. The overlap is exactly those cells.

Other ways people ask this

This is also commonly searched as “how to count blank cells in excel”, “how do i count blank cells in excel” and “how do you count blank cells in excel”. They describe the identical operation, so you are in the right place no matter how you phrased it.

Why do people search for this in so many different ways?

Because the same task has many names. “how to count blank cells in excel”, “how do i count blank cells in excel”, “how do you count blank cells in excel” all point at the one operation explained on this page, which is why they all lead here.