AVERAGEA Function. Get the average including non-numeric values.

Japanese version.

Get the average including non-numeric values.

How it works

=AVERAGEA(number1 to 255)
NameOmissionSpecify
number1 to 255Required argument.The number to be averaged.

Example Results

Specify cell range.

Basically, a range of cells is specified.

Non-numeric characters are mixed in

If non-numeric characters such as alphabetic characters are mixed in, the non-numeric characters are averaged as 0.

In this example, there is a difference between the AVERAGE function and this.

FunctionCalculation.
AVERAGEIgnore "A". Result is 2.5.
AVERAGEACalculate "A" as 0. Result is 2.

0 and blank

Zeros are included in the average calculation, but spaces are ignored.

In the example below, the calculation is 10 divided by 5.

This rule is identical to the AVERAGE function.

AVERAGEA
AVERAGE

However, if a cell contains a formula such as ="", it will be treated as 0 even though it looks the same as a blank space.
This behavior differs from that of the AVERAGE function.

AVERAGEA
AVERAGE

Error value

If an error cell is mixed in, the AVERAGE function will also result in an error.

This should be noted when including the results of XLOOKUP and VLOOKUP functions in the calculation.

Specify other than cell range.

It is also possible to return a range of cells as the result of a function argument. In this case, the average value is taken from the result of the function.

List of functions that result in a range of cells.

FunctionCategoryDescription
TEXTSPLITTextDivides text into cells based on a specified character.
XLOOKUPLookup & ReferenceGet data matching the search value.
FILTERLookup & ReferenceGet a list of data that matches the condition.
UNIQUELookup & ReferenceDelete duplicate data in a specified cell range.
SEQUENCELookup & ReferenceCreate sequential numbers in multiple cells.
SORTLookup & ReferenceSort a range of cells by a specified column.
SORTBYLookup & ReferenceSort a cell range by specifying multiple reference columns.
DROPLookup & Referenceelete a specified number of rows and columns from a specified cell range.
TAKELookup & ReferenceObtains a specified number of rows and columns from a specified cell range.
TOCOLLookup & ReferenceArranges a specified range of cells in a single column.
TOROWLookup & ReferenceSort a specified range of cells into a single column.
EXPANDLookup & ReferenceExtended specified cell range.
CHOOSEROWSLookup & ReferenceGet the row at the specified position from the specified cell range.
CHOOSECOLSLookup & ReferenceGet the column at the specified position from the specified cell range.
WRAPROWSLookup & ReferenceSort a range of cells in a single column or row by a specified number of rows.
WRAPCOLSLookup & Reference
Sort a range of cells in a column or row by a specified number of columns.
VSTACKLookup & ReferenceMerge multiple cell ranges in row direction.
HSTACKLookup & ReferenceMerge multiple cell ranges in column direction.
TRANSPOSELookup & ReferenceCreate a cell range with the rows and columns of the specified cell range swapped.

It can also be specified as an array.

=AVERAGEA({5,2,10,1,-8})

Multiple values can also be specified simply by separating them with commas.

=AVERAGEA(5,2,10,1,-8)

Multiple cells can be specified by separating them with commas.

Spill

Spill when using the BYROW or BYCOL function.

=BYROW(A1:C3,LAMBDA(r,AVERAGEA(r)))
Row direction
=BYCOL(A1:C3,LAMBDA(c,AVERAGEA(c)))
Column direction

---

Links

Microsoft Excel Functions Statistical