How do I use AVERAGEIFS in Excel?
Use AVERAGEIFS when you want to average values with multiple conditions. Enter Average range, Criteria range 1, Criteria 1 in that order, then add optional arguments when needed.
Returns average for values matching multiple conditions.
AVERAGEIFS(average_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)average_range
RequiredSpecify the range of values to average.
criteria_range1
RequiredSpecify the range for the first condition.
criteria1
RequiredEnter the match condition for criteria1.
criteria_range2
OptionalSpecify the range where criteria_range2 is evaluated.
criteria2
OptionalEnter the match condition for criteria2.
Use AVERAGEIFS to calculate the average of Sales in column D where Category matches Food and where Sales matches >=1000. You can set ranges by dragging from the start cell to the end cell in the same argument field.
| # | AProduct ID | BProduct Name | CCategory | DSales |
|---|---|---|---|---|
| 2 | P001 | Apple | Food | 1200 |
| 3 | P002 | Banana | Food | 980 |
| 4 | P003 | Notebook | Stationery | 450 |
| 5 | P004 | Pen | Stationery | 300 |
| 6 | P005 | Grapes | Food | 1500 |
| 7 | P006 | Ruler | Stationery | 250 |
| 8 | P007 | Peach | Food | 860 |
How to Use (Formula)
=AVERAGEIFS(D2:D8, C2:C8, "Food", D2:D8, ">=1000")Result
1350
Use AVERAGEIFS when you want to average values with multiple conditions. Enter Average range, Criteria range 1, Criteria 1 in that order, then add optional arguments when needed.
Use the "Start Function Practice" button to jump straight into AVERAGEIFS drills.
The main arguments are Average range, Criteria range 1, Criteria 1, Criteria range 2, Criteria 2. Start with the required ones, then add optional arguments if needed.