Skip to content

Lessons in your language are coming soon. Formulas already work in your Excel language.

This page isn't translated yet, so its text is in English. Function names and formulas are shown in your Excel language.

Excel function · Counting

NB.VIDE(COUNTBLANK)

Counts the empty cells in a range.

What it does

COUNTBLANK counts the cells in a range that have nothing in them. A formula that returns empty text ("") counts as blank too, which makes it handy for checking what's still missing.

Syntax

=NB.VIDE(range)

Arguments in square brackets are optional, and … means you can add more of the same. In this Excel language, arguments are separated by ;

Arguments

range
The range to check. Unlike COUNTA, it takes one range only.

Example

Five seats, some with a guest's name. How many are still free?

AB
1SeatGuest
21Lia
32
43Tom
54
65
7Free seats3

The formula in B7:

=NB.VIDE(B2:B6)

Result: 3

Only B2 and B4 have names. B3, B5 and B6 are empty, so 3 seats are free.

Common mistakes

  • A cell with a space in it isn't blank, even though it looks empty.
  • Zero isn't blank. A seat marked 0 counts as filled.

In other Excel languages

Excel translates function names, and in some languages the argument separator too. Type the name your Excel shows.

Excel languageFunction nameSeparator
EnglishCOUNTBLANK,
DeutschANZAHLLEEREZELLEN;
FrançaisNB.VIDE;
Español (España)CONTAR.BLANCO;
Español (México)CONTAR.BLANCO,
日本語COUNTBLANK,
한국어COUNTBLANK,
繁體中文COUNTBLANK,
ไทยCOUNTBLANK,
ខ្មែរCOUNTBLANK,
Tiếng ViệtCOUNTBLANK;

Practise it

More from this module

All functions