# AVERAGEA

Calculates the average (arithmetic mean) of the values in the list of arguments. In addition to numbers, text and logical values such as TRUE and FALSE are included in the calculation.

**Syntax**

**AVERAGEA**(**value1**,value2, ...)

**Value1**, value2, ... are 1 to 30 cells, ranges of cells, or values for which you want the average.

**Remarks**

- The arguments must be numbers, names, arrays, or references.
- Array or reference arguments that contain text evaluate as 0 (zero). Empty text ("") evaluates as 0 (zero). If the calculation must not include text values in the average, use the AVERAGE function.
- Arguments that contain TRUE evaluate as 1; arguments that contain FALSE evaluate as 0 (zero).

**Tip** When averaging cells, keep in mind the difference between empty cells and those containing the value zero, especially if you have cleared the **Zero values** check box on the **View** tab (**Options** command, **Tools** menu). Empty cells are not counted, but zero values are.

**Examples**

If A1:A5 is named Scores and contains the values 10, 7, 9, 2, and "Not available", then:

`AVERAGEA(A1:A5)`

equals 5.6

`AVERAGEA(Scores)`

equals 5.6

`AVERAGEA(A1:A5)`

equals `SUM(A1:A5)/COUNTA(A1:A5)`

equals 5.6

If A1:A4 contains the values 10, 7, 9, and 2, and A5 is empty, then:

`AVERAGEA(A1:A5)`

equals 7