Math function

Google Sheets COUNT function

Counts how many cells in a range contain numbers.

Syntax

=COUNT(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: 6
ABCDEF
1StudentScoreSubmittedMin scoreGrade
2Lily88TRUE0F
3Omar72TRUE60D
4Priya95TRUE70C
5SamFALSE80B
6Tom64TRUE90A
7Uma59TRUE
8Vic81TRUE

Examples

These use the sample sheet above.

→ 6

Six students have a score (Sam's cell is blank).

→ 0

Names are text, so COUNT finds none. Use COUNTA for text.

Tips & common mistakes

Related functions