What it does
COUNTA counts cells that are not empty.
Syntax or pattern
=COUNTA(value1, [value2], ...)5 practical examples
Count filled names
Count non-empty names in a list.
=COUNTA(A2:A100)Text, numbers and dates are counted.
Count submitted tasks
Count rows with any task title.
=COUNTA(Tasks[Task])Useful for simple task trackers.
Count filled survey responses
Count non-empty response cells.
=COUNTA(Survey[Answer])Counts any visible entry.
Count several columns
Count non-empty values in two columns.
=COUNTA(A2:A100,C2:C100)Works across multiple ranges.
Compare filled vs numeric
Use COUNTA beside COUNT.
=COUNTA(B2:B100)-COUNT(B2:B100)This can reveal text values in a numeric column.
Common mistakes to avoid
- Selecting ranges with different sizes.
- Using text values where numbers are required.
- Forgetting how blanks and hidden rows are treated.
Related Excel examples
FAQ
Can this formula use Excel Tables?
Yes. Structured references often make summary formulas easier to read.
Here are some ideas for you
Optional resources that may help if you are learning formulas, building reports, or working in spreadsheets often.
- Excel formula booksSee ideas
Practice formulas with structured examples you can keep beside your desk.
- Excel shortcut guidesSee ideas
Build speed with keyboard shortcuts for selection, formatting and navigation.
- Numeric keypadsSee ideas
Helpful if you enter many numbers on a laptop or compact keyboard.
- External monitorsSee ideas
Useful for viewing large worksheets, formulas and reference tables side by side.
- Desk notebooksSee ideas
Sketch formula logic, report ideas and table structures before building.
- Laptop standsSee ideas
Make long spreadsheet sessions more comfortable and ergonomic.
Some links in this section may be affiliate links. Choose only what is useful for your own work.