# AVERAGE Function. Get the average of the values.

Japanese version.

Get the average of the values.

## How it works

`=AVERAGE(number1 to 255)`

## 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 ignored and averaged.

Numbers treated as characters are also ignored.

#### 0 and blank cells

Zeros are included in the average calculation, while blanks are ignored.

#### 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.

It can also be specified as an array.

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

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

`=AVERAGE(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,AVERAGE(r)))`
`=BYCOL(A1:C3,LAMBDA(c,AVERAGE(c)))`

---