Skip to main content
← All functions

AVERAGEIFS function

Returns the average (arithmetic mean) of all cells that meet multiple criteria

Returns the average (arithmetic mean) of all cells that meet multiple criteria.

Syntax

AVERAGEIFS(average_range, criteria_range1, criteria1, [criteria_range2], [criteria2])

Square brackets indicate optional arguments.

Arguments

ArgumentRequiredMeaning
average_rangeYesOne or more cells to average, including numbers or names, arrays, or references that contain numbers.A1:A20
criteria_range1YesIs the set of cells to evaluate with the criteria.B1:B20
criteria1YesUsed to define the cells for which the average will be calculated. For example, the criteria can be expressed as 32, "32", ">32", "apple", or B4">10"
criteria_range2No · repeatsAdditional ranges. You can enter up to 127 range.C1:C20
criteria2No · repeatsAdditional associated criteria. You can enter up to 127 criteria."<20"

Try AVERAGEIFS

Average paid amounts from one region

=AVERAGEIFS(A2:A6,C2:C6,"East",E2:E6,"Paid")

Average paid amounts from one region. The result is checked against a separately authored expected value for the supplied table. You can edit the data to explore the rule.

Inspect the current formula

Read its written arguments or observe actual operation values in a separate local calculation. This action neither applies a draft nor grades an answer.

Read the formula, one argument at a time

Explore the written function calls and their inputs. The calculation result belongs to the complete formula.

AVERAGEIFS · top-level call

=AVERAGEIFS(A2:A6,C2:C6,"East",E2:E6,"Paid")

1 / 5 · average_range

One or more cells to average, including numbers or names, arrays, or references that contain numbers.

AVERAGEIFS reference ↗

Follow the cells behind a result

Read explicit local references and helper formulas using a separate calculation. Your draft stays in this field; the worksheet and practice checks do not change.

The worksheet runs locally. Published checks apply to the supplied example only. Native Excel and Google Sheets compatibility remain unverified.

Practice a complete task

Reference and compatibility

Univer 1.0.4 / Apache-2.0. Calculation checks cover the supplied examples only. The browser worksheet does not implement every Excel feature, external service or connected data type.