Excel COUNT & COUNTA Functions

Sometimes, you just want to know how many entries are there in a list — like how many students submitted homework, or how many sales are recorded.

That’s where Excel COUNT & COUNTA functions help. They look similar, but do different things.

Let’s break it down simply, with 5 useful examples and a comparison table.


What Are COUNT and COUNTA?

COUNT: Counts only numbers in the selected range.

COUNTA: Counts everything — numbers, text, dates, symbols — except empty cells.


Syntax

=COUNT(value1, [value2], …)

=COUNTA(value1, [value2], …)


Example 1: Count Numbers in a Column

A (Marks)
85
92
77
60

Formula:

=COUNT(A1:A5)

👉 Result: 4
Note: It ignores the empty cell.


Example 2: Count Text and Numbers (Using COUNTA)

A (Responses)
Yes
No
123
Maybe

Formula:

=COUNTA(A1:A5)

👉 Result: 4
Note: COUNTA counts both text and numbers, but skips empty cells.


Example 3: Count How Many Cells Are Filled

A (Data)
Apple
50
Done

Formula:

=COUNTA(A1:A5)

👉 Result: 4
COUNTA counts Apple, 50, , and Done — everything except the empty cell.

Note: Even symbols like - or * are counted.


Example 4: Count Entries in a Mixed Table

NameAge
Riya22
Soham
Aarav25
30

To count how many ages are entered: =COUNT(B2:B5) 👉 Result: 3

To count how many names are filled: =COUNTA(A2:A5) 👉 Result: 3


Example 5: Use with Non-Continuous Cells

You can even count values from separate cells.

=COUNT(A1, A3, A5)

or

=COUNTA(A1, A3, A5)

Note: Handy when only some cells matter to you.


COUNT vs COUNTA – Comparison Table

FeatureCOUNTCOUNTA
Counts Numbers✅ Yes✅ Yes
Counts Text❌ No✅ Yes
Counts Dates✅ Yes✅ Yes
Counts Symbols❌ No✅ Yes
Counts Empty Cells❌ Skips❌ Skips
Best Use CaseWhen working with numbers onlyWhen you need to count all entries

Real-Life Use Cases

TaskFunctionExample
Count how many prices are filledCOUNT=COUNT(B2:B20)
Count total entries in a formCOUNTA=COUNTA(A2:A100)
Count how many students submitted homeworkCOUNTA=COUNTA(B2:B31)
Count only numerical scoresCOUNT=COUNT(C2:C10)

Bonus Tip: Want to Count Blank Cells?

Try:

=COUNTBLANK(range)

Example:

=COUNTBLANK(A1:A10)

Note: It tells how many cells are empty in the selected range.


Summary

FunctionCountsIgnores
COUNTOnly numbersText, blanks
COUNTANumbers, text, dates, symbolsBlanks

Final Thoughts

Use COUNT when you care only about numbers, like sales or marks.
Use COUNTA when you want to know how many cells are filled — no matter what’s inside.

What’s Next?

In the next post, we’ll learn about the MIN & MAX Function.

Spread the love

Leave a Comment

Your email address will not be published. Required fields are marked *

Translate »
Scroll to Top