AVERAGE vs AVERAGEA in Excel
By ExcelReady TeamUpdated 7 min read
The short answer
AVERAGE averages only the numbers in a range and skips text, TRUE/FALSE and empty cells. AVERAGEA also counts text as 0, TRUE as 1 and FALSE as 0, so it divides by every non-empty cell. Use AVERAGE for normal number columns, and AVERAGEA only when a text entry like "Absent" should really count as zero.
Key takeaways
- AVERAGE ignores text and TRUE/FALSE in cells. AVERAGEA counts text as 0, TRUE as 1 and FALSE as 0.
- Both ignore truly empty cells, and both include cells that hold 0.
- AVERAGE divides by COUNT (the numbers). AVERAGEA divides by COUNTA (every non-empty cell).
- AVERAGEA of a TRUE/FALSE column gives the share of TRUE, such as 0.75 for 75% complete.
- Numbers stored as text are skipped by AVERAGE and counted as 0 by AVERAGEA, so both give a wrong answer until you convert them.
On this page+
The short answer to AVERAGE vs AVERAGEA: AVERAGE averages only the numbers in a range, while AVERAGEA also counts text as 0 and TRUE/FALSE as 1 and 0. Both skip empty cells. That one difference changes the result whenever your range holds words like "Absent" or "N/A", so this guide shows both on the same data and explains when each one gives the answer you actually want.
AVERAGE vs AVERAGEA at a glance#
The functions treat numbers, zeros and empty cells the same way. They differ on text and TRUE/FALSE values inside the range.
| Feature | AVERAGE | AVERAGEA |
|---|---|---|
| Syntax | =AVERAGE(number1, [number2], ...) | =AVERAGEA(value1, [value2], ...) |
| Numbers in cells | Averaged | Averaged |
| Cells holding 0 | Included | Included |
| Empty cells | Ignored | Ignored |
| Text in cells ("Absent", "N/A") | Ignored | Counted as 0 |
| TRUE / FALSE in cells | Ignored | Counted as 1 / 0 |
Empty text from a formula ("") | Ignored | Counted as 0 |
| Numbers stored as text in cells | Ignored | Counted as 0 |
| Divides by | The count of numbers (like COUNT) | The count of non-empty cells (like COUNTA) |
| Excel versions | All versions | All versions |
How AVERAGE works#
AVERAGE adds the numbers in its arguments and divides by how many numbers there are. Anything in a cell that isn't a number is skipped, as if it weren't there.
=AVERAGE(B2:B7)Think of it as SUM(B2:B7)/COUNT(B2:B7). COUNT counts only cells with numbers. If there are no numbers at all, AVERAGE returns #DIV/0!, because it would be dividing by zero. The AVERAGE function guide covers the arguments, and the guide to AVERAGE, MIN and MAX shows it alongside its everyday partners.
One detail: values you type straight into the formula are treated differently from cells. =AVERAGE(10,TRUE) counts TRUE as 1 and returns 5.5. Inside a range, TRUE is skipped. AVERAGEA follows the same rule for typed values, so the difference between the two only appears with ranges and cell references.
How AVERAGEA works#
AVERAGEA averages every non-empty cell in its range. The "A" stands for "all": it gives every value a number.
- Numbers count as themselves.
- Text, including numbers stored as text, counts as 0.
- TRUE counts as 1 and FALSE as 0.
- Truly empty cells are still ignored.
=AVERAGEA(B2:B7)Think of it as the total divided by COUNTA(B2:B7), the number of non-empty cells. That is why AVERAGEA is usually lower than AVERAGE when the range holds text: the text adds nothing to the total but adds to the count.
The same data, both ways#
Here are six students' test scores. Cara missed the test, and Eli's score hasn't been entered yet:
| A | B | |
|---|---|---|
| 1 | Student | Score |
| 2 | Ana | 80 |
| 3 | Ben | 90 |
| 4 | Cara | Absent |
| 5 | Dev | 70 |
| 6 | Eli | |
| 7 | Fay | 60 |
| Formula | What it does | Result |
|---|---|---|
=AVERAGE(B2:B7) | 300 ÷ 4 numbers | 75 |
=AVERAGEA(B2:B7) | 300 ÷ 5 non-empty cells (Absent = 0) | 60 |
=SUM(B2:B7)/COUNTA(B2:B7) | The same sum and count as AVERAGEA | 60 |
Both ignore Eli's empty cell. The only difference is Cara. AVERAGE leaves her out, so the class average is 75. AVERAGEA gives her a 0, so it is 60. Which one is right depends on your rule for missed tests. The COUNT vs COUNTA lesson explains why the two counts differ.
TRUE/FALSE values#
AVERAGEA has a second use. Say C2:C5 holds a "Completed" checklist: TRUE, FALSE, TRUE, TRUE.
| Formula | Result |
|---|---|
=AVERAGE(C2:C5) | #DIV/0! (no numbers to average) |
=AVERAGEA(C2:C5) | 0.75 (3 TRUE ÷ 4 cells) |
Format the AVERAGEA cell as a percentage and it reads 75%: the share of tasks completed. The same works for a column of checkboxes in Microsoft 365, which store TRUE and FALSE.
When to use AVERAGE#
Use AVERAGE for almost every average of numbers. It's the right choice when:
- The column holds only numbers, such as sales, prices or hours. Both functions give the same result here, and AVERAGE is the one people expect to see.
- Text means "no data", such as "N/A", "TBC" or a dash. You don't want those rows to drag the average down.
- You want to leave out some rows on purpose. For conditions, AVERAGEIF and AVERAGEIFS are clearer. For example,
=AVERAGEIF(B2:B7,">0")averages only positive scores; see how to average without zeros. - A test or interview question asks for "the average". It means AVERAGE unless it says otherwise.
When to use AVERAGEA#
Use AVERAGEA when non-number entries should count. It fits these cases:
- Text should count as zero. "Absent" on a test, "No sale" for a day or "Missed" for a payment should lower the average, so AVERAGEA is the honest choice.
- You want the share of TRUE values.
=AVERAGEA(C2:C5)turns a TRUE/FALSE column into a completion rate in one step. - Every row must be in the count. If your rule is "divide by everyone who has an entry", AVERAGEA does it without a separate COUNTA.
If only some text should count as zero, it is clearer to replace that text with 0 in the data, or to write the rule out with SUM and COUNTA so readers can see it.
Common mistakes with AVERAGE and AVERAGEA#
These slips give averages that look reasonable but are wrong:
- Numbers stored as text. An imported "85" that is really text is skipped by AVERAGE and counted as 0 by AVERAGEA. Neither is correct. Convert the cells to numbers first.
- Cells that only look empty. A cell with a space, or a formula that returns
"", is not empty. AVERAGE skips it, but AVERAGEA counts it as 0 and lowers the result. - Blank instead of zero (or the reverse). Both functions ignore empty cells but include 0. If a missed sale should count, enter 0. If it shouldn't, leave the cell empty.
- Expecting AVERAGEA to fix #DIV/0!. AVERAGEA only helps if the range holds text or TRUE/FALSE. A truly empty range still returns #DIV/0!. Use
=IFERROR(AVERAGE(B2:B7),0)or show a message instead. - Averaging percentages or rates directly. A simple average treats a store with 10 sales like one with 1,000. Use a weighted average instead; see the guides to the weighted average and averaging percentages correctly.
- Using the average when the data has outliers. One huge value pulls any average up. Compare it with the median; the article on AVERAGE vs MEDIAN shows when each tells the truth.
Our recommendation#
Use AVERAGE by default. It does what most people mean by "average", it's the function everyone recognises, and it ignores notes like "N/A" that shouldn't affect the result.
Switch to AVERAGEA only when a text or TRUE/FALSE entry has a real numeric meaning: "Absent" should be 0, or you want the share of TRUE values. When you do, add a short note next to the cell, because many readers don't know AVERAGEA counts text as zero. If the rule is unusual, SUM/COUNTA or AVERAGEIF can make your intent clearer than either function.
In short: AVERAGE for numbers, AVERAGEA when words should count as zero.
Practise it#
Averages are easy to type and easy to get subtly wrong. Practise AVERAGE, MIN and MAX in a live spreadsheet to build the basics, then take the COUNT and COUNTA lesson to see exactly which cells each count includes. Every answer is checked instantly. Start with the exercise on this page: rebuild the AVERAGEA result with SUM and COUNTA.
Try it yourself
This is a live spreadsheet. Type the formula in the green cell and press Enter.
AVERAGEA would count Absent as 0. Get the same result without it: in E2, divide the SUM of the scores (B2:B7) by the COUNTA of the same range.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Score | |||||
| 2 | AVERAGEA result | |||||
| 3 | ||||||
| 4 | Absent | |||||
| 5 | ||||||
| 6 | Eli | |||||
| 7 | ||||||
| 8 | ||||||
| 9 | ||||||
| 10 |
Tip: SUM ignores the text, so it gives 300. COUNTA counts the five non-empty cells, including Absent.
Practise this in a lesson
Frequently asked questions
What is the difference between AVERAGE and AVERAGEA?
AVERAGE uses only the numbers in a range. AVERAGEA also counts text as 0 and TRUE/FALSE as 1 and 0. With text in the range, AVERAGEA divides by more cells, so its result is usually lower.
Does AVERAGEA count blank cells?
No. Like AVERAGE, AVERAGEA ignores empty cells. It does count a cell that holds empty text from a formula, such as ="", as 0.
When should I use AVERAGEA in Excel?
Use it when text in the range means zero, such as "Absent" for a missed test, or when you want the share of TRUE values in a TRUE/FALSE column. For ordinary number columns, use AVERAGE.
Why does AVERAGE return #DIV/0!?
There are no numbers to average. The range is empty or holds only text or TRUE/FALSE values. AVERAGEA returns a result in the second case, because it counts those values.
Is AVERAGEA the same as SUM divided by COUNTA?
When the range holds numbers and text but no TRUE values, yes. SUM ignores text, and COUNTA counts every non-empty cell, which matches how AVERAGEA treats text as 0.