Math function

Google Sheets COUNTA function

Counts how many cells in a range are not empty, whatever they contain.

Syntax

=COUNTA(value1, [value2, ...])
value1The first cell or range to count.
value2, ...Optional. More ranges.

Try it

Edit the formula and the result updates instantly. Click a cell to add its reference.

▦ Test scores
fx
Result: 7
ABCDEF
1StudentScoreSubmittedMin scoreGrade
2Lily88TRUE0F
3Omar72TRUE60D
4Priya95TRUE70C
5SamFALSE80B
6Tom64TRUE90A
7Uma59TRUE
8Vic81TRUE

Examples

These use the sample sheet above.

→ 7

Seven students are listed.

→ 1

How many students are missing a score.

Tips & common mistakes

Related functions