Cellgrids Cellgrids
Home › Practice questions › COUNTA › Question 4

Excel COUNTA Practice Question: Using the customer table, find the share of rows that have a name (A2:A9), as…

By Rinkesh Shah, founder of Cellgrids.

The question

Using the customer table, find the share of rows that have a name (A2:A9), as a decimal with 2 places. 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: 0.75

How it works

Explanation: COUNTA divided by the number of rows gives a completion rate.
Syntax: =ROUND(COUNTA(A2:A9)/ROWS(A2:A9),2)
6 / 8 = 0.75.

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