Count Cells That Contain Only Plain Text in Google Sheets

Quick methods to count only text entries in a mixed-data column using COUNTIF, COUNTA−COUNT, and ISTEXT+SUMPRODUCT so numbers, dates, blanks, and formulas that return numbers are excluded.

What the video covers

Show three reliable formulas to get the count of cells containing only text in a selected range. Do not assume specific UI labels or versions.

Watch the video on YouTube

Step-by-step instructions

  1. Select a target range and output cell
    Identify the column range that contains mixed data (example: A2:A100). Click an empty cell where you want the text-only count to appear.
  2. Fast method — COUNTIF with wildcard
    In the output cell enter: =COUNTIF(A2:A100, "*"). This counts cells that contain any text characters and ignores pure numbers and blanks.
  3. Alternate — COUNTA minus COUNT
    To count non-empty text entries by subtracting numeric values, enter: =COUNTA(A2:A100) – COUNT(A2:A100). This returns the number of non-empty cells that are not numeric (including text).
  4. Precise test — ISTEXT with SUMPRODUCT
    For a strict test that only counts cells where ISTEXT returns TRUE, use: =SUMPRODUCT(–(ISTEXT(A2:A100))). This is reliable when you need to verify cells are stored as text.
  5. Validate results
    Compare numbers from two different methods on the same range. If they differ, inspect individual cells with ISTEXT or check for formulas that return text or empty strings.

Watch the video

Video thumbnail for Count Cells That Contain Only Plain Text in Google Sheets Play tutorial

Watch on YouTube

Why it matters

Mixed columns with names, IDs, dates, and numbers can skew summaries. Counting only text entries lets you audit and report text-based records accurately.

Check your result

Compare results from two methods (COUNTIF and ISTEXT+SUMPRODUCT or COUNTA−COUNT) on the same range — they should match for true text-only counts.

Troubleshooting

If counts seem off: ensure the range excludes header rows; formulas treat blank cells differently (COUNTA counts blanks as non-empty only if they contain formulas that return ""); cells formatted as text may still hold numeric values—use ISTEXT to confirm true text.