## Excel AVERAGEIFS Function

Averageifs functionin 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 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

#### Example #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.

- Open AVERAGEIFS function now.

- Since we need to take the average Sales select the “Sales” column for the
**Average Range**argument.

- The next argument is
**Criteria Range 1**so select the 9*“Region” column as the reference.

- For this criteria range we need the average of the “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.

#### 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.

These criteria should be supplied with logical operator in excel symbols.

- Let’s open 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 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 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
- Full Lifetime Access
- Certificate of Completion