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)
| Argument | What it is |
|---|---|
| range | The 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.
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.
In E1, count how many students have not turned it in.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Student | Turned in | Missing | |||
| 2 | Ana | 03/02/2026 | ||||
| 3 | Luis | |||||
| 4 | Sofía | 03/03/2026 | ||||
| 5 | Diego | |||||
| 6 | Marta | 03/01/2026 | ||||
| 7 | Pablo | |||||
| 8 | Valeria | 03/02/2026 | ||||
| 9 | Tomá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.