Cellgrids Cellgridsby LearnWithRinkesh
Home › Excel tutorials › COUNT, COUNTA and COUNTBLANK in Excel

COUNT vs COUNTA vs COUNTBLANK in Excel: Which One to Use

By Rinkesh Shah · Business Analyst, 8 years in data · Updated 2026-10-31

▶ Video coming soon

Excel has three simple counting functions, and they answer three different questions. Picking the wrong one is a classic reason for a report total being off.

COUNT: numbers only

=COUNT(A2:A100) counts cells that contain numbers (dates count too, because dates are numbers). Text is ignored.

COUNTA: anything not empty

=COUNTA(A2:A100) counts every cell with something in it: text, numbers, errors. Use this to count how many names you have.

COUNTBLANK: empty cells

=COUNTBLANK(A2:A100) counts empty cells. It also counts cells that contain a formula returning "" (empty text).

Quick comparison

Imagine five cells: 10, "Amit", empty, 25, "". COUNT gives 2. COUNTA gives 4, because the empty text from a formula counts as filled. COUNTBLANK gives 2.

Add a condition

To count with a rule, use COUNTIF or COUNTIFS. For example, how many rows have a name but no phone number: =COUNTIFS(A2:A100,"<>",B2:B100,"")

Completeness check for reports

Before sending a report, compare =COUNTA(A2:A500) with =COUNTA(B2:B500). If the numbers differ, some rows are missing a value.

Worked example

A2:A10 has 6 names and 3 empty cells. =COUNTA(A2:A10) returns 6 (non-empty). =COUNTBLANK(A2:A10) returns 3. =COUNT(A2:A10) counts only numbers.

Common mistakes

Frequently asked questions

COUNT, COUNTA or COUNTBLANK?

COUNT counts numbers, COUNTA counts anything not empty, COUNTBLANK counts empty cells.

Why does COUNTA count a cell that looks empty?

It may hold a space or a formula returning "".

How do I count blanks with a condition?

Use COUNTIFS with "" as the criterion.

Practice this online, free

Reading is only half of learning Excel. Cellgrids is a free place for online Excel practice: solve Excel formula exercises in a live spreadsheet, prepare for Excel interview questions, and work through business case studies built for data analytics and business analytics roles.

Practice these formulas: COUNTA, COUNTIF, COUNTIFS.

Start Excel practice → Case studies