TX Sheet Control

AVERAGEIFS Function

Function

Return the average of the numbers that meet every one of several conditions. result_range holds the numbers to average, and each pair of criteria_range and criteria adds a condition, such as ">1" or a value to match. All criteria ranges must have the size of result_range, otherwise AVERAGEIFS returns #VALUE!; when no cell meets all conditions, it returns #DIV/0!.

Syntax

AVERAGEIFS(result_range, criteria_range1, criteria1)

Category: Conditional. Minimum arguments: 3. Maximum arguments: 255.

Available for supported offline calculation.

Examples

=AVERAGEIFS(A1:A5,A1:A5,">1")

With the numbers 1 to 5 in A1:A5, the formula returns 3.5, the average of 2, 3, 4 and 5.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also