Use COUNTA to Count Non‑Empty Cells in Google Sheets

Quickly count non-empty cells (text, numbers, dates, logical values, or formula results) with the COUNTA function. Includes counting whole columns, multiple ranges, and a simple completion-rate formula.

What the video covers

How to apply the COUNTA function in Google Sheets to count non-empty cells in a single range, across whole columns, or in multiple disjoint ranges, plus a basic data-completion formula and common caveats.

Watch the video on YouTube

Step-by-step instructions

  1. Open the spreadsheet and identify the data range
    Open your Google Sheets file and locate the column or block of cells you want to count (for example, names in A2:A200).
  2. Choose an output cell
    Click an empty cell where you want the count to appear (usually a summary cell outside the main table).
  3. Enter a basic COUNTA formula
    Type =COUNTA(A2:A200) and press Enter to get the number of non-empty cells in that range (counts text, numbers, dates, logical values, and formula results).
  4. Count an entire column to include future rows
    Use an open-ended range such as =COUNTA(A2:A) so new rows added below are included automatically.
  5. Count multiple nonadjacent ranges
    Separate ranges with commas inside COUNTA, for example =COUNTA(A2:A50, C2:C50, E2:E50) to total non-empty cells across those areas.
  6. Calculate a simple data-completion percentage
    Combine COUNTA with COUNTBLANK to show completion: =COUNTA(A2:A100) / (COUNTA(A2:A100) + COUNTBLANK(A2:A100)). Format the result cell as Percentage.
  7. Be aware of what COUNTA counts
    COUNTA treats invisible spaces, hidden line breaks, and empty-string formula outputs ("") as non-empty. Clean or adjust formulas if you want those treated as blank.

Watch the video

Video thumbnail for Use COUNTA to Count Non‑Empty Cells in Google Sheets Play tutorial

Watch on YouTube

Why it matters

COUNTA quickly returns the number of cells that are not blank—counting text, numbers, dates, logical values, and formula outputs—so you can audit entry volume and monitor data completion without manual tallying.

Check your result

Result is correct when the output cell shows the expected total of non-empty cells. For a completion percentage, the formatted cell should display a percent between 0% and 100% and update as rows change.

Troubleshooting

If counts seem too high, check for invisible characters (spaces, line breaks) or formulas returning empty strings (""), which COUNTA treats as non-empty. If counts seem too low, ensure your selected range covers all rows you expect (use an open-ended range like A2:A to include future rows).