Excel Supreme

Excel track · Exercise 18 of 86 Paid

COUNTA: count the non-empty cells

Count filled cells rather than numbers, so a checklist reports real progress.

Beginner

A five-step checklist

Read-only data · answer in B7

In B7, count how many of the five steps have a date in B2:B6.

AB
1StepDone on
2Draft2026-03-02
3Review
4Publish2026-03-09
5Announce
6Archive2026-04-01
7Steps done

Download this grid (.xlsx) Two tabs: the grid you see, and the answer.

B7

What it does

COUNTA counts the cells in a range that hold something, whatever it is: a date, a word, a space. Only empty cells are left out. Three of the five cells in B2:B6 hold a date, so the answer is 3.

COUNT asks the narrower question and returns 0 on this column, because the dates sit in it as text rather than as date values. On a checklist the empty cells carry the meaning: each one is a step nobody has started, and the filled ones are the progress report.

A cell holding a single space counts as filled. Clean the stray spaces out of a checklist and the total drops to the number of steps really finished.

Syntax

=COUNTA(value1, [value2], ...)

Worked example

On A five-step checklist, =COUNTA(B2:B6) returns 3.

=COUNTA(B2:B6)

Common errors

Error codes for COUNTA
ErrorWhat it means and how to fix it
Counts spacesA cell with a space typed into it counts as filled, so progress rises without any work being done.
Wrong functionCOUNT over B2:B6 answers 0, because it looks for numbers and the dates are text.
#NAME?COUNTA typed with an extra letter is not a function Excel knows, so the cell shows an error.

At work

A launch checklist where each empty cell is a step still to do and the dated ones are what the status deck reports.