# AVERAGEIFS Function in Excel Article byJeevan A Y ## Excel AVERAGEIFS Function

Averageifs function in excel is used to find the average from the target range of cells when there is more than one condition to be met, for a single condition we used averageif but for multiple conditions we use averageifs, it can take arguments where the first argument is the range column which average needs to be calculated and rest are the criteria range and followed by criteria.

Ok, now look at the syntax of the 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 is considered as 1 and 0. Even zero value is considered for average.

### Examples

You can download this AVERAGEIFS Function Excel Template here – AVERAGEIFS Function Excel Template

#### Example #1

Lest look the exmple.

1. For example, assume you want to take out the average sales of the product in a particular region in a 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.

2. Open AVERAGEIFS function now. 3. Since we need to take the average Sales to select the “Sales” column for the Average Range argument. 4. The next argument is Criteria Range 1, so select the 9*“Region” column as the reference. 5. For this criteria range, we need the average of the “East” region, so mention the Criteria 1 as “East.” 6. The next argument is Criteria Range 2, so select the “Month” column as the reference. 7. 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. 8. Now press Enter to get the result. So, average sales for the region “East” for the month “Mar” is 2067.67.

#### Example #2

We can also use operator symbols in the criteria part of the Excel AVERAGEIFS function. For 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.

• Let’s open the AVERAGEIFS function in D4 cell now.
• Select the Average Range as the “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 the 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 the 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 this function to take the average of numbers based on multiple criteria.

### Recommended Articles

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 –

• 35+ Courses
• 120+ Hours