Syntax
| Parameter | Description |
|---|---|
| value1 | Parameter of the COUNT function. |
| [value2 | (Optional.) Parameter of the COUNT function. |
| ...] | Parameter of the COUNT function. |
Examples
Count how many cells have numbers
=COUNT(B2:B100)
Count dates in a range
=COUNT(D2:D50)
Check data completeness
=COUNT(B2:B100)/COUNTA(A2:A100)
Common Errors
All cells contain text, not numbers. Numbers formatted as text (left-aligned) are not counted. Convert with VALUE().
Tips
COUNT counts only numbers. COUNTA counts any non-empty cell (text, numbers, errors). Use COUNTA for general non-blank counting.
COUNT counts all numbers. COUNTIF counts cells matching specific criteria. Use COUNTIF for conditional counting.
Use COUNTBLANK(A1:A100) to count empty cells, or =ROWS(A1:A100)-COUNT(A1:A100) for cells without numbers.
Try COUNT in Viztab
Import your data and use COUNT with 370+ other formulas. No signup required.
Open Viztab