AVERAGEIF Multiple Criteria

There are two ways to “averageif multiple criteria”: the quick way you copy and the durable way you understand. This page gives you both. The exact Excel answer is above with a tool to test it; below, we build the small mental model that makes the fix stick, so the next variation of the same problem solves itself.

Exact answer

In Excel: use =AVERAGEIFS(average_range, criteria_range1, criteria1, …) — it averages only the rows that satisfy every condition you list.

Syntax

=AVERAGEIFS(average_range, criteria_range1, criteria1, ...)

Arguments

ArgumentDescription
average_rangerequiredThe cells to average.
criteria_range1requiredThe range to test. Must be the same size as average_range.
criteria1requiredThe condition, such as "West", ">1000" or a cell reference.

Related functions

AVERAGEIFSUMIFSCOUNTIFS
ƒxAverage, Median & ModeLive

n = 7 · Sum = 103.00 · Min = 9.00 · Max = 21.00

Average (mean)
14.71

7 values

Median
15.00
Mode
15.00
=AVERAGE(A1:A7) · =MEDIAN() · =MODE.SNGL()
Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

Need it as an auditable file?

Ships inside the linked template — formula-driven, unlocked, audit-ready.

View template

What this does

AVERAGEIFS averages the values in one range, keeping only the rows where every criteria range meets its criterion. Note the argument order: unlike AVERAGEIF, the range to average comes first. Conditions are combined with AND, never OR, so listing two values for the same column returns nothing rather than either. Every criteria range must be exactly the same size as the average range or Excel returns #VALUE!. If no row matches at all the result is #DIV/0!, because an average of nothing is undefined — which is a genuinely useful signal rather than a bug. Keep the inputs visible and clearly labelled and the whole thing stays auditable — anyone who opens the file later, including you, can see at a glance exactly what feeds the result and change one assumption without hunting through the formula. Treat “averageif multiple criteria” as a small repeatable workflow rather than a one-off click you hope to remember next time. Use a small test block before the live file, so any surprise in the affected cells shows up while it is still harmless. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That turns a calculation you can defend to a CFO or an auditor into a method you can reuse, explain, and defend when the workbook leaves your screen.

A worked example

Order values in D2:D500, regions in A2:A500 and channels in B2:B500. =AVERAGEIFS(D2:D500, A2:A500, "West", B2:B500, "Online") returns the mean order value for online orders in the West only. To average deals above a threshold, =AVERAGEIFS(D2:D500, D2:D500, ">1000") uses the same column for both roles. AVERAGEIFS is how a summary answers "what is the typical value for this slice" without building a filtered helper table first. If there is any chance you will reuse this, drop it into a small template tab right now: a labelled input area on the left and the formula beside it, checked once against the tool above. Next time the same question comes up, the answer is a single paste away instead of a rebuild from memory.

In Google Sheets

Everything above works in Google Sheets too. Excel and Sheets share the formula syntax used here; only the surrounding menus are arranged differently. That portability is deliberate — learn it once and it follows you between the two tools and across Windows and Mac. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top, the tool proves it, and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. Here is the takeaway for “averageif multiple criteria”: copy the answer if you are busy, but if you have a spare few minutes, rebuild the example in Excel yourself with the tool above open beside it. That single pass — type it, run it, watch the result move when you change an input — is what turns a formula you found into a technique you trust. Keep your inputs labelled and referenced, never hard-coded, and the same sheet stays correct and auditable as it grows. Done that way, you will not need to look this up again, and you will be the person others ask.

Common mistakes

  • Using AVERAGEIF's argument order, where the range to average comes last — AVERAGEIFS puts it first.
  • Expecting OR logic; every condition must hold at once, so two values for one column match nothing.
  • Criteria ranges of a different size to the average range, which returns #VALUE!.

Frequently asked questions

Why does AVERAGEIFS return #DIV/0!?

No rows matched every condition, so there is nothing to average. Wrap it in IFERROR to show a dash instead, but check first that the criteria are really what you meant.

Can AVERAGEIFS use OR logic?

Not directly — conditions are combined with AND. For an either/or average, take the sum of two SUMIFS over the sum of two COUNTIFS.

How do I average values above a number?

Point both the average range and the criteria range at the same column: =AVERAGEIFS(D2:D500, D2:D500, ">1000").