Count who actually signed up (COUNTA)
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)
| A | B | D | |
|---|---|---|---|
| 1 | Invited | Confirmed | Confirmed |
| 2 | Anna | Anna | |
| 3 | Ben | Ben | |
| 4 | Cara | ||
| 5 | Dan | Dan | |
| 6 | Ella | Ella | |
| 7 | Frank | ||
| 8 | Grace | Grace | |
| 9 | Henry | Henry | |
| 10 | Ivy | ||
| 11 | Jack | Jack |
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.
- Target cell is D2
- The range to check is B2:B11 — every row, blank ones included
COUNTAneeds no criteria — it just counts non-empty cells- 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
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.