← All comparisons

AVERAGE vs AVERAGEA (and COUNT vs COUNTA): the A matters

The A-suffix functions treat non-numeric cells as values (text counts as 0, TRUE as 1) instead of skipping them. That's occasionally what you want and more often a silent way to drag an average down with "N/A" strings.

The differences at a glance

AVERAGEAVERAGEACOUNTCOUNTA
NumbersIncludedIncludedCountedCounted
Text (including "N/A", "-")IgnoredCounted as 0 — drags the average downIgnoredCounted
TRUE / FALSEIgnored1 / 0IgnoredCounted
Empty cellsIgnoredIgnoredIgnoredIgnored
CompatibilityUniversalUniversalUniversalUniversal — all verified in every version we test

Which should you use?

Compatibility (from executed tests)

All four behave identically in every version of Excel, Google Sheets, and LibreOffice we test. The subtle cross-check: if AVERAGE and AVERAGEA disagree on a range, that range contains text or booleans — a quick way to detect polluted numeric columns (=COUNTA(rng)-COUNT(rng) counts the non-numeric cells).

Example formulas

Average of the numbers only=AVERAGE(A2:A100)
How many cells are filled (any type)=COUNTA(A2:A100)
Detect non-numeric pollution=COUNTA(A2:A100)-COUNT(A2:A100)

Full per-version details on each function page: AVERAGE · AVERAGEA · COUNT · COUNTA.