Excel COUNTBLANK function

Counts how many cells in a range are empty. In Spanish Excel it is called CONTAR.BLANCO.

Syntax

English Excel

=COUNTBLANK(range)

Spanish Excel (Mexico)

=CONTAR.BLANCO(rango)

Spanish Excel (Spain, Latin America)

=CONTAR.BLANCO(rango)

ArgumentWhat it is
rangeThe cells to check.

Example

COUNTBLANK(range) counts the empty cells. It tells you how much data is still missing.

=COUNTBLANK(B2:B9)

Common mistake

A formula returning "" counts as blank for COUNTBLANK, even though the cell is not truly empty.

About Ads

This site uses Google AdSense to display ads. These ads help us keep WebHerramientas completely free. Ads are managed by Google and meet strict security and privacy standards.

Advertising
Loading ad...

Ads help us keep WebHerramientas free for everyone

Practice COUNTBLANK

Type the formula in the sheet and check it instantly. Spanish or English function names both work. See all lessons

Count blanks with COUNTBLANK

COUNTBLANK(range) counts the empty cells. It tells you how much data is still missing.

Example=COUNTBLANK(B2:B9)CONTAR.BLANCO = COUNTBLANK

In E1, count how many students have not turned it in.

E1
ABCDEF
1StudentTurned inMissing
2Ana03/02/2026
3Luis
4Sofía03/03/2026
5Diego
6Marta03/01/2026
7Pablo
8Valeria03/02/2026
9Tomás
10

Tip: while typing, click a cell or drag across several to insert their reference. F4 anchors the reference with $.

Frequently asked questions

What is COUNTBLANK called in Spanish?
In Spanish Excel it is CONTAR.BLANCO. The formula =COUNTBLANK(B2:B9) is written =CONTAR.BLANCO(B2:B9) (or with commas in Mexico).
Why does COUNTBLANK use semicolons in some Excel versions?
It depends on regional settings. Where the comma is the decimal mark (Spain, much of South America), Excel separates arguments with semicolons. English Excel and Mexican Spanish Excel use commas.
What is the most common COUNTBLANK mistake?
A formula returning "" counts as blank for COUNTBLANK, even though the cell is not truly empty.