Cellgrids Cellgrids
Home › Practice questions › COUNTA › Question 1

Excel COUNTA Practice Question: Customer names are in A2:A9 (some rows are empty). How many names are listed?…

By Rinkesh Shah, founder of Cellgrids.

The question

Customer names are in A2:A9 (some rows are empty). How many names are listed? Put it in D2.

The data

ABCD
1CustomerStatusResult
2AshaPaid?
3Ravi
4Pending
5KaranPaid
6Divya
7
8ImranPending
9SunitaPaid

The yellow cell is where your answer goes.

Show answer

Answer in D2: 6

How it works

Explanation: COUNTA counts every cell that is not empty, whether it holds text, numbers or anything else.
Syntax: =COUNTA(A2:A9)
6 of the 8 cells have a name.

Try it yourself in the live sheet

Type your formula in the highlighted cell and get instant feedback. Free, no Excel install needed.

Try this question in the live sheet →

COUNTA syntax

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

Counts how many cells in a range are not empty. COUNTA is used in data analysis work to summarize or test patterns across a data set. Full COUNTA guide.

More COUNTA practice questions

All practice questions · Excel exercises · Interview prep · Cheat sheet