DAVERAGE

Returns the average of a specified column in given data range.

Syntax

=DAVERAGE(DataRange, ColumnIndex, CriteriaRange)

Arguments

NameDescription
DataRangeCell range, that containes the data to evaluate. The range must include the field labels.
ColumnIndexColumn label or index to calculate average for.
CriteriaRangeSpecifies the conditions a row in cell range must fulfill. Must define at least one column with a label and a cell below which specifies the condition.

Return Value

The average of the matching column.

Example

FunctionResultComment
=DAVERAGE(A5:C9,2,A2:C3)
21.5Evaluates the average age in "Berlin"