# AVERAGEA Function

Calculates the average of a group of supplied values

Over 1.8 million professionals use CFI to learn accounting, financial analysis, modeling and more. Start with a free account to explore 20+ always-free courses and hundreds of finance templates and cheat sheets.

## What is the AVERAGEA Function?

The AVERAGEA Function[1] 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.

### Formula

=AVERAGEA(value1, [value2], …)

Where:

1. Value1 is a 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.

### How to use the AVERAGEA Function in Excel?

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 a few examples:

#### Example 1

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 in it would be considered as 0.
• As shown in B6 & B7 – A cell with FALSE in it is considered as 0 and 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”.

#### Example 2

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:

### Differences between AVERAGE and AVERAGEA Functions

ParticularsAVERAGE FunctionAVERAGEA Function
If we use logical values or text representations of numbers that are typed directly into the list of argumentsThey 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 argumentsIgnored by this functionThey 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 argumentsIgnored by this functionThe function counts it as zero
Empty cellsIgnored by this functionIgnored by this function

### Things to remember in AVERAGEA Function:

1. AVERAGEA evaluates TRUE as 1 and FALSE as zero.
2. 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.
3. Arguments that contain TRUE are evaluated as 1 and arguments that contain FALSE are evaluated as 0 (zero).
4. 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.
5. The formula will return errors when the arguments are error values or text that cannot be translated into numbers.
6. 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.
{"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "url": "https://corporatefinanceinstitute.com/resources/excel/averagea-function-in-excel/", "fetch_time": 1722748593000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2024-33/segments/1722640389685.8/warc/CC-MAIN-20240804041019-20240804071019-00186.warc.gz", "warc_record_offset": 146316341, "warc_record_length": 72472, "token_count": 800, "char_count": 3586, "score": 4.03125, "int_score": 4, "crawl": "CC-MAIN-2024-33", "snapshot_type": "latest", "language": "en", "language_score": 0.8918555974960327, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00004-of-00064.parquet"}