Totals and counts function

COUNTA

Count the cells that are not empty.

Purpose

Count how many cells in a range have anything in them

Returns

A number: how many cells are not empty

Syntax

=COUNTA(range1, [range2], ...)

ArgumentRequiredWhat goes here
range1RequiredThe cells to look at, like B2:B13.
range2OptionalThe cells to look at, like B2:B13.

How to use COUNTA

COUNTA counts every cell holding anything at all, whether it is a number, a word or a single space.

It is how you count rows. An invoice reference column is text, so COUNT returns nought on it and COUNTA returns the number of invoices.

Paired with COUNT it says whether the numeric column is as complete as the row count says it should be.

Examples

Every result below is worked out by the same evaluator that marks your answers, on the sheet shown here.

Payables ageing — October.xlsxSheet1
Harbour Foods payables at 31 October 2026, with supplier terms alongside
ABCDEFGH
1InvoiceSupplierStatusDays overdueAmountSupplierTerms (days)
2INV-8801Brightwell PaperOverdue12940Ashgrove Catering30
3INV-8802Calder UtilitiesQueried471180Brightwell Paper30
4INV-8803Meridian FreightOverdue632450Calder Utilities14
5INV-8804Ashgrove CateringOn terms0405Meridian Freight45
6INV-8805Brightwell PaperOverdue38760Thornbury Print60
7INV-8806Thornbury PrintOverdue911320
8INV-8807Meridian FreightOn terms0580
9INV-8808Calder UtilitiesOverdue24215
FormulaResult
=COUNTA(A2:A9)Eight rows on the schedule.8
=COUNTA(A2:A40)The same count over a generous block. Empty rows are not counted, so this one keeps working as the ledger grows.8
=COUNT(E2:E9)/COUNTA(A2:A9)The proportion of rows carrying a figure. One means the column is complete.1

Notes

  • A cell holding "" from a formula counts as something to COUNTA, which is how a column of results can look fuller than it is.