Excel AverageIFs Function (Table of Contents)
Excel AVERAGEIFS Function
“AVERAGEIFS” finds the average of only numbers as per the mentioned criteria. This is the extended version of AVERAGEIF function, where AVERAGEIF function considers only one criterion but AVERAGIFS considers multiple criteria’s for its calculation.
Ok, now look at the syntax of Excel AVERAGEIFS function then we will move to the example section.
- Average Range: for the range of cells we need to take the average
- Criteria Range 1: on the basis, we need to take the average out, so in this argument, we need to select that column.
- Criteria1: In the above mentioned Criteria Range 1 for which value we need to consider the average.
- Criteria Range 2: this is the second criteria range to take the average out, so in this argument, we need to select that second column.
- Criteria2: In the above mentioned Criteria Range 2 for which value we need to consider the average.
Note: Logical value TRUE or FALSE are considered as 1 and 0. Even zero value is considered for average.
Examples of AVERAGEIFS Function in Excel
Below are the examples of averageifs function in excel.
For example assume you want to take out the average sales of the product in a particular region in particular month and below is the data to demonstrate.
In the above data, we need to take the average of the region “North” for the month “Mar”. So here we need to look at two criteria’s to take the average out.
Open AVERAGEIFS function now.
Since we need to take the average of Sales select “Sales” column for Average Range argument.
Next argument is Criteria Range 1 so select “Region” column as the reference.
For this criteria range we need the average of “East” region, so mention the Criteria 1 as “East”.
Next argument is Criteria Range 2 so select “Month” column as the reference.
Criteria 2 is from the Criteria Range 2 for which month we need to take the average out. We need average for “Mar” month, so mention this in Criteria 2.
Now press Enter to get the result.
So, average sales for the region “East” for the month “Mar” is 2067.67.
We can also use operator symbols in the criteria part of the Excel AVERAGEIFS function. For an example look at the below data.
From this data we need to take the average sale between two dates, first we need to take the average sales between 27-Apr-2019 to 26-May-2019, then average sales between 26-May-2019 to 17-Jun-2019.
These criteria’s should be supplied with logical operator symbols. Let’s open AVERAGEIFS function in D4 cell now.
Select the Average Range as “Sales” column.
Next, select the Criteria Range 1 as a Date column.
Criteria 1 should be greater than 27-Apr-2019, first, mention the greater than symbol in double quotes then combine this with D3 cell.
Now again for Criteria Range 2 select Date column.
Next Criteria 2 is we need the average sales for the date lesser than 26-May -2019. So enter less than symbol in double quotes and combine it with E3 cell.
Press Enter key to get the average.
So, average sales between 27-Apr-2019 to 26-May-2019 is 4620.8. Now similarly we need the average sales between 25-May-2019 to 18-Jun-2019, just copy and paste the formula from D4 cell to D8 cell.
Here we got the average sales as 3770.21. So from this, we can conclude that average sales are more in the first time period i.e. 27-Apr-2019 to 26-May-2019.
Like this, we can use Excel AVERAGEIFS function to take the average of numbers based on multiple criteria’s.
This has been a guide to AVERAGEIFS Function in Excel. Here we discuss how to calculate the average of numbers based on multiple criteria along with examples and downloadable templates. You can learn more about excel functions from the following articles –
- Excel Scroll Lock
- What are Operators in VBA Excel?
- Calculate Moving Average in Excel
- Calculate Weighted Average in Excel
- Compare Average vs Weighted Average
- Apply Advanced Filter in Excel
- 35+ Courses
- 120+ Hours of Videos
- Full Lifetime Access
- Certificate of Completion
- Basic Excel Training
- Advanced Excel Training
- Basic & Advanced VBA Course
- Excel Dashboard Course
- Data Analysis in Excel
- Create VBA Applications