WHAT DOES AVERAGEIFS DO

The AVERAGEIFS function calculates the average of values that meet multiple criteria. It’s an extension of AVERAGEIF and uses AND logic — all criteria must be satisfied.

WHEN TO USE IT
  • You need to average values with multiple filters
  • Your data is structured in rows with distinct fields
  • You want to exclude data that doesn’t meet all conditions
FORMULA SYNTAX
AVERAGEIFS(average_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)
ArgumentDescription
average_rangeRange containing numbers to average
criteria_range1Range to test against first condition
criteria1The first condition to match
criteria_range2(optional) Another range to test
criteria2(optional) Second condition to match
EXAMPLE 1: ONE CONDITION

Average all scores where the department is Sales.

ABC
1DepartmentRegionScore
2SalesWest85
3SalesEast92
4MarketingWest88
5SalesWest79
=AVERAGEIFS(C2:C5, A2:A5, "Sales")

Result: (85 + 92 + 79) / 3 = 85.33

EXAMPLE 2: MULTIPLE CONDITIONS

Average total spend of customers who are located in the West region and have purchased more than $1,000.

ABC
1CustomerRegionTotal Spend
2AliceWest1200
3BobWest900
4CarolEast1300
5DavidWest1500
=AVERAGEIFS(C2:C5, B2:B5, "West", C2:C5, ">1000")

Result: (1200 + 1500) / 2 = 1350

COMMON PITFALLS AND EDGE CASES
  • All ranges must be the same size — mismatched ranges return #VALUE!
  • If no matches are found, the result is #DIV/0!
  • Quotes are required for text or logical criteria: "Sales", ">70"
  • Blank cells in average_range are ignored
RELATED FUNCTIONS
FURTHER READING

Official Microsoft documentation:
AVERAGEIFS – Microsoft Support