Count who actually signed up (COUNTA)

Easy Math
Description
Hints 0/4
Solutions 2
–
Test case
1
2
3
Reset
Submit
fx
A
B
C
D
E
F
G
1
2
3
4
5
6
7
8
9
10
Loading interactive spreadsheet...
Preparing grid cells and formula calculation engine
○ Ready Enter formula in highlighted cells, then click Submit.

The problem

Problem statement

Ten colleagues were invited to a workshop and the sign-up sheet is in B2:B11 — some wrote their name, some left the cell blank. The venue only fits confirmed attendees, so count how many cells in B2:B11 are not empty. Put the headcount in the Confirmed cell D2.

COUNTA counts non-empty cells only — case 3 has one blank, so the answer is 9, not 10.

Problem data

Show the sheet as a table (selectable, copyable)
The exercise data, as a table
ABD
1 InvitedConfirmedConfirmed
2 AnnaAnna
3 BenBen
4 Cara
5 DanDan
6 EllaElla
7 Frank
8 GraceGrace
9 HenryHenry
10 Ivy
11 JackJack

Notes

COUNTA counts every non-empty cell: text, numbers, booleans, even a formula that returns an empty string. COUNT only counts numbers — on a text column it returns 0, which is the classic reason a "count" quietly reports zero. For a text column like this one, COUNTA is the right tool.

How to approach

Your answer goes in D2. On submit we re-run your formula against 3 different sets of input, so a hardcoded number will fail — the formula has to follow the cells.

  1. Target cell is D2
  2. The range to check is B2:B11 — every row, blank ones included
  3. COUNTA needs no criteria — it just counts non-empty cells
  4. Shape: =COUNTA(?) — the range you identified goes in the brackets

Official solutions

Show 2 solutions — try it yourself first

Approach 1: COUNTA over the sign-up column

=COUNTA(B2:B11)

COUNTA counts every cell that holds anything. Blanks are skipped, names are counted — the result is the confirmed headcount for the venue.

Approach 2: total invites minus blanks

=10-COUNTBLANK(B2:B11)

The same answer from the other side: ten invites minus the empty cells. Handy when the invite list is a fixed size and you think in terms of no-shows.

Function guide

Related practice

FAQ

What formula counts non-empty cells in Excel?

=COUNTA(B2:B11). It counts anything that is not blank — text, numbers, dates, booleans. Use COUNT instead only when you want numbers specifically.

What is the difference between COUNT and COUNTA?

COUNT counts cells containing numbers; COUNTA counts all non-empty cells. On a column of names, COUNT returns 0 while COUNTA returns the real headcount.

How do I count empty cells instead?

=COUNTBLANK(B2:B11). It counts genuinely empty cells. Note a formula returning "" looks blank but is counted as non-empty by COUNTA — a subtle difference that trips up sign-up sheets maintained by formulas.