FormulaCraft

How to count non-blank cells in Excel and Google Sheets

Excel & Google Sheets
=COUNTA(A2:A100)

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Choose a cell for the count.
  2. 2Enter =COUNTA(A2:A100) to count all non-empty cells in the range.
  3. 3Use COUNT instead if you only want cells containing numbers.

Tips

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

What is the difference between COUNT and COUNTA?

COUNT counts only numeric cells; COUNTA counts every non-empty cell, including text and formula results.

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: