COUNT Function in Google Sheets
Use COUNT to count how many cells in a range hold a number — text and blank cells are ignored.
=COUNT(A2:A100)
Returns how many cells in A2:A100 contain a number. Text and empty cells do not count.
How it works
COUNT looks at every cell in the range and counts only the ones that hold a numeric value — including dates and times, which Sheets stores as numbers. Text, TRUE/FALSE and blank cells are skipped. Use it when you need "how many entries have a real number" rather than "how many rows are filled".
Variations
Count numbers across a block
=COUNT(A2:D100)
Counts every numeric cell in the range.
Count blank cells instead
=COUNTBLANK(A2:A100)
COUNTBLANK returns how many cells are empty.
Count everything (text too)
=COUNTA(A2:A100)
Switch to COUNTA when you also want text and dates entered as text.
Examples
| Scenario | Formula |
|---|---|
| How many scores were entered | =COUNT(B2:B) |
| How many cells are still empty | =COUNTBLANK(B2:B100) |
FAQ
Does COUNT count dates?
Yes. Google Sheets stores dates and times as numbers, so COUNT includes them.
Why does COUNT return 0 when my cells are full?
The cells probably contain text, not numbers — for example numbers typed with a currency symbol as text. Use COUNTA to count them, or convert them with VALUE.
How do I count numbers that meet a condition?
Use COUNTIF, e.g. =COUNTIF(A2:A100,">0") to count positive numbers.
Related formulas
- Google Sheets Formulas Cheat Sheet — 34 Copy-Paste Formulas
- Google Sheets IMPORTRANGE Builder — Generate the Formula from a Link
- Google Sheets Conditional Formatting Formula Builder — Copy the Custom Formula
- Google Sheets COUNTIF & SUMIF Builder — Generate the Formula, Copy, Done
- How to Add Days to a Date in Google Sheets
- How to Calculate Time Difference in Google Sheets
- How to Capitalize the First Letter in Google Sheets
- How to Check if a Cell Contains Specific Text in Google Sheets