WallStreetMojo

WallStreetMojo

WallStreetMojo

MENUMENU
  • Free Tutorials
  • Certification Courses
  • Excel VBA All in One Bundle
  • Login
Home » Excel, VBA & Power BI » Excel Tutorials » AVERAGEIFS Function in Excel

AVERAGEIFS Function in Excel

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.

AVERAGEIFS Function in Excel syntax

  • 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

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.

AVERAGEIFS Function in Excel example 1.1

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.

Popular Course in this category
Sale
All in One Excel VBA Bundle (35 Courses with Projects)
4.9 (1,353 ratings)
35+ Courses | 120+ Hours | Full Lifetime Access | Certificate of Completion
View Course
  • Open AVERAGEIFS function now.

AVERAGEIFS Function in Excel example 1.2

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

AVERAGEIFS Function in Excel example 1.3

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

AVERAGEIFS Function in Excel example 1.4

  • For this criteria range, we need the average of the “East” region, so mention the Criteria 1 as “East.”

averageifs example 1.4

  • The next argument is Criteria Range 2, so select the “Month” column as the reference.

averageifs example 1.5

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

averageifs example 1.6

  • Now press Enter to get the result.

example 1.7

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.

example 2.1

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 the logical operator in excel symbols.

  • Let’s open the AVERAGEIFS function in D4 cell now.

example 2.2

  • Select the Average Range as the “Sales” column.

example 2.3

  • Next, select the Criteria Range 1 as a Date column.

example 2.5

  • Criteria 1 should be greater than 27-Apr-2019; first, mention the greater than symbol in double-quotes then combine this with D3 cell.

AVERAGEIFS Function in Excel example 2.6

  • Now again for Criteria Range 2, select the Date column.

AVERAGEIFS Function in Excel example 2.7

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

AVERAGEIFS Function in Excel example 2.8

  • Press the Enter key to get the average.

AVERAGEIFS Function in Excel example 2.9

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

AVERAGEIFS Function in Excel example 2.10

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 –

  • How to Filter Excel Data?
  • Excel Scroll Lock
  • VBA Operators
  • Calculate Moving Average in Excel
  • How to Copy Sheet in Excel?
0 Shares
Share
Tweet
Share
All in One Excel VBA Bundle (35 Courses with Projects)
  • 35+ Courses
  • 120+ Hours
  • Full Lifetime Access
  • Certificate of Completion
LEARN MORE >>
Primary Sidebar
Footer
COMPANY
About
Reviews
Contact
Privacy
Terms of Service
RESOURCES
Blog
Free Courses
Free Tutorials
Investment Banking Tutorials
Financial Modeling Tutorials
Excel Tutorials
Accounting Tutorials
Financial Statement Analysis
COURSES
All Courses
Financial Analyst All in One Course
Investment Banking Course
Financial Modeling Course
Private Equity Course
Venture Capital Course
Excel All in One Course

Copyright © 2021. CFA Institute Does Not Endorse, Promote, Or Warrant The Accuracy Or Quality Of WallStreetMojo. CFA® And Chartered Financial Analyst® Are Registered Trademarks Owned By CFA Institute.
Return to top

WallStreetMojo

Free Excel Course

Excel functions, Formula, Charts, Formatting creating excel dashboard & others

* Please provide your correct email id. Login details for this Free course will be emailed to you

Book Your One Instructor : One Learner Free Class
Let’s Get Started
Please select the batch
Saturday - Sunday 9 am IST to 5 pm IST
Saturday - Sunday 9 am IST to 5 pm IST

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

WallStreetMojo

Free Excel Course

Excel functions, Formula, Charts, Formatting creating excel dashboard & others

* Please provide your correct email id. Login details for this Free course will be emailed to you

Login

Forgot Password?

WallStreetMojo

Download AVERAGEIFS Function Excel Template

New Year Offer - All in One Excel VBA Bundle (35 Courses with Projects) View More