# AVERAGEA Function

Calculates the average of a group of supplied values

Calculates the average of a group of supplied values

The AVERAGEA Function in Excel is a statistical function. The function calculates the average of a group of supplied values. It differs from the AVERAGE function, as it evaluates the logical values TRUE and FALSE, and numbers represented as text, whereas AVERAGE just skips these values during calculation. The AVERAGEA function was introduced in MS Excel 2007 and is not available in older versions.

**=AVERAGEA(value1, [value2], …)**

Where:

**Value1**is required argument. However, subsequent values are optional.

Values that are supplied can be numbers, ranges, named ranges, or cell references that contain values. Up to 255 arguments can be supplied.

It is a built-in function which can be used as a worksheet function in Excel. To understand the uses of this function, let’s consider few examples:

With the arguments given below, let’s see how AVERAGEA function is used:

As we can see in the above example:

- As shown in C5 – A cell with text on it would be considered as 0.
- As shown in B6 & B7 – A cell with FALSE in it is considered as 0 & TRUE is considered as 1.
- All cells with numbers would be taken as their actual numbers.
- The average value returned by the formula is 66666667. The formula returned is “(0+1+0+25+45+65)/6”.

Let’s see a few more examples to understand the behavior of this function:

As seen in the table above, we can see how each argument behaves when we apply the AVERAGEA function. The function can be supplied as a single number or cell, or as an array of numbers or cells.

The results are below:

Particulars | AVERAGE Function | AVERAGEA Function |
---|---|---|

If we use logical values or text representations of numbers that are typed directly into the list of arguments | They are counted as (TRUE=1, FALSE=0) | They are counted as (TRUE=1, FALSE=0) |

Text that cannot be interpreted as a number and are typed directly into the list of arguments | #VALUE! error | #VALUE! error |

When we entered logical values within arrays or reference arguments | Ignored by this function | They are counted as (TRUE=1, FALSE=0) |

When we enter text that includes empty text "", text representations of numbers, or other text within arrays or reference arguments | Ignored by this function | The function counts it as zero |

Empty cells | Ignored by this function | Ignored by this function |

- AVERAGEA evaluates TRUE as 1 and FALSE as zero.
- The arguments can be numbers; names, arrays, or references that contain numbers; text representations of numbers; or logical values, such as TRUE and FALSE, in a reference.
- Arguments that contain TRUE are evaluated as 1 and arguments that contain FALSE are evaluated as 0 (zero).
- If an argument is an array or reference, only values in that array or reference are used. Empty cells and text values in the array or reference are ignored.
- The formula will return errors when the arguments are error values or text that cannot be translated into numbers.
- If we do not wish to include logical values and text representations of numbers in a reference as part of the calculation, it would be better to use the AVERAGE function.

**Click here to download the sample Excel file**

Thanks for reading CFI’s guide to important Excel functions! By taking the time to learn and master these functions, you’ll significantly speed up your financial analysis. To learn more, check out these additional resources:

To master the art of Excel, check out CFI's FREE Excel Crash Course, which teaches you how to become an Excel power user. Learn the most important formulas, functions, and shortcuts to become confident in your financial analysis.

Launch CFI’s Free Excel Course now to take your career to the next level and move up the ladder!