AVERAGEIF
Calculates the average of values that meet a specified condition to analyze targeted subsets of data based on defined criteria.
The AVERAGEIF function returns the average (arithmetic mean) of values that meet a specified condition. It evaluates the given range against the defined criteria and includes only those values that satisfy the condition in the calculation. This function is commonly used in reporting scenarios where averages need to be calculated for a subset of data, such as values above a threshold, within a range, or matching specific criteria.
Syntax
AVERAGEIF([Range], Condition)Arguments
Range – List of values (Required).
Condition – Condition to be checked (Required).
Example
AVERAGEIF([Column1],[Column2], “>20000000”)In the example below, the Average Values measure is created using the AVERAGEIF function, which returns the average value of the four quarters where the values satisfy the given condition (Average>20m).
When the values do not satisfy the given condition, it returns an Error (#ERR).

Excel equivalent
Last updated
Was this helpful?