AVERAGEA Function

Excel Functions › Statistical

All versions Statistical

The Excel AVERAGEA function averages values just like AVERAGE, but it also counts text (as 0) and logical values (TRUE as 1, FALSE as 0) — useful when blanks and labels should pull the mean down.


Quick answer:
=AVERAGEA(1,2,"x",TRUE) text=0, TRUE=1, mean = 1

Syntax

=AVERAGEA(value1, [value2], ...)
ArgumentDescription
value1RequiredThe first value, cell, or range to average.
value2, ...OptionalUp to 254 more values. Text counts as 0; TRUE as 1; FALSE as 0; empty cells are still ignored.

How to use it

AVERAGEA differs from AVERAGE in how it treats non-numbers. Numbers behave normally, but text strings are read as 0 and logical values as 1 (TRUE) or 0 (FALSE) — all of which are counted in the divisor.

=AVERAGEA(1,2,"x",TRUE) // (1+2+0+1)/4 = 1
=AVERAGEA(10,20,FALSE) // (10+20+0)/3 = 10

Truly empty cells are still ignored, exactly as with AVERAGE. The behaviour only changes for cells that contain something non-numeric.

Watch the divisor: because text and FALSE count as 0 but still add to the count, AVERAGEA almost always returns a lower mean than AVERAGE over the same data. Use plain AVERAGE unless you specifically want labels treated as zeros.

Try it: interactive demo

Live demo

Pick a AVERAGEA example to see the formula and its result.

Result:

Practice workbook

📊
Download the free AVERAGEA practice workbook
Every example on this page, ready to open in Excel — plus practice challenges with answers on a separate tab. No sign-up required.

Frequently asked questions

How does AVERAGEA handle text?
Any text value — including an empty string "" — is treated as 0 and counted in the divisor, which lowers the average compared with AVERAGE.
How are TRUE and FALSE treated?
TRUE is counted as 1 and FALSE as 0. Both are included in the count of values.
Does AVERAGEA count empty cells?
No. Genuinely blank cells are still skipped, just like AVERAGE. Only cells that actually contain text or logicals are counted.
When should I use AVERAGEA instead of AVERAGE?
Use AVERAGEA when non-numeric entries (like "N/A" labels or FALSE flags) should be treated as zeros and weigh down the mean. Otherwise AVERAGE is the safer default.

Master functions like this in one day

This page covers one function. Our Excel Formulas and Functions class covers the 30 that matter most — live, hands-on, taught by professionals in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related functions: AVERAGE · AVERAGEIF · AVERAGEIFS · COUNTA · MEDIAN