πŸ“Œ COUNTA Function β€” Count Non-Empty Cells Easily in Google Sheets

n many situations in Google Sheets, you need to know how many cells actually contain any value β€” whether it’s a number, text, or date.

For example, to check how many people responded, how many cells are filled out, or whether any data is missing,
you want to count all non-blank entries β€” not just numbers.

That’s where the COUNTA function comes in.
It counts all non-empty cells, including numbers, text, formulas, and even error messages β€” only excluding blank cells.


βœ… Function Overview

Function NameCOUNTA
PurposeCounts all non-empty cells
Syntax=COUNTA(range)
Return ValueNumber of non-empty cells (integer)

βœ… Example 1: Count text-filled cells

Formula

=COUNTA(A1:A5)

πŸ“„ Spreadsheet Table Example

A
1Name
2Jane
3John
4
5Alex

πŸ“Œ A1, A2, A3, and A5 contain text, while A4 is blank.
➑️ There are 4 non-empty cells β†’ The result is 4.
✳️ You can use this formula in any cell β€” the output will stay the same.


βœ… Example 2: Mixed numbers and text

Formula

=COUNTA(B1:B5)

πŸ“„ Spreadsheet Table Example

B
1100
2Product
3200
4
5Done

πŸ“Œ B1, B2, B3, and B5 are filled with either numbers or text; B4 is blank.
➑️ Total non-empty cells = 4
✳️ The result will be the same wherever the formula is placed.


βœ… Example 3: Count across multiple ranges

Formula

=COUNTA(A1:A3, C1:C3)

πŸ“„ Spreadsheet Table Example

ABC
1100Seoul
2
3New300

πŸ“Œ A1, A3, C1, and C3 are filled. A2 and C2 are blank.
➑️ That gives 4 non-empty cells β†’ The result is 4.
✳️ It doesn’t matter where the formula is entered β€” just keep the ranges accurate.


βœ… Example 4: Use with IF for messaging

Formula

=IF(COUNTA(A1:A10) = 0, "All empty", "Data exists")

πŸ“„ Spreadsheet Table Example (partial)

A
11
2
3
4

πŸ“Œ Only A1 has a value; the rest are blank.
➑️ COUNTA returns 1 β†’ "Data exists" is shown.
✳️ This lets you check whether any input exists in a range.


πŸ’Ό Practical Use Cases

  • Count how many people responded in a survey
  • Verify if required fields are filled out
  • Detect missing entries in reports
  • Use with conditional formatting to highlight empty rows

βœ… Final Summary

The COUNTA function counts all non-empty cells β€”
including text, numbers, dates, and even errors β€” making it perfect for completeness checks.

πŸ‘‰ In the next post, we’ll cover the ISBLANK function β€” the opposite of COUNTA.
Use them together for robust spreadsheet validations!

Similar Posts

λ‹΅κΈ€ 남기기

이메일 μ£Όμ†ŒλŠ” κ³΅κ°œλ˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€. ν•„μˆ˜ ν•„λ“œλŠ” *둜 ν‘œμ‹œλ©λ‹ˆλ‹€