=AVERAGEIFS(average_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.
Need more than a single AVERAGEIFS formula? Try our free AI for Excel — it reads your entire spreadsheet, answers questions in plain English, and builds charts and analysis in the same chat.
average_range:
The range of cells that you want to average based on the specified criteria.
criteria_range1:
The range of cells that you want to evaluate for the first specified criteria.
criteria1:
The condition or value that you want to apply to the first criteria_range. This can be a number, text, expression, or a cell reference.
criteria_range2:
The range of cells that you want to evaluate for the second specified criteria. This parameter is optional.
criteria2:
The condition or value that you want to apply to the second criteria_range. This parameter is optional and can be a number, text, expression, or a cell reference.
...:
Additional pairs of criteria_range and criteria that can be specified, allowing for multiple criteria to be applied.
The AVERAGEIFS function in Excel is a powerful tool that allows you to calculate the average of a range of values based on multiple specific conditions or criteria. It evaluates a range of cells, checks each cell against the specified criteria, and averages the corresponding values from another range if the criteria are met.
In simpler terms, the AVERAGEIFS function helps you find the mean of a dataset based on certain conditions, making it easier to analyze data.
Imagine you are managing a sales report for a small business, and you have the following data in an Excel spreadsheet:
| Salesperson | Sales Amount | Region | Quarter |
|---|---|---|---|
| Alice | 200 | East | Q1 |
| Bob | 150 | West | Q1 |
| Charlie | 300 | East | Q2 |
| David | 250 | West | Q2 |
| Eve | 100 | East | Q1 |
You want to find the average sales made by salespeople in the "East" region during "Q1".
To calculate the average sales for the East region in Q1, you would use the AVERAGEIFS formula as follows:
=AVERAGEIFS(B2:B6, C2:C6, "East", D2:D6, "Q1")When you apply the formula, it averages the sales amounts for Alice and Eve, who are both in the East region during Q1. The output would be:
| Average Sales for East in Q1 |
|---|
| 150 |
Here, the average sales amount is calculated as (200 (Alice) + 100 (Eve)) / 2 = 150.
The AVERAGEIFS function is particularly useful when you need to analyze data based on multiple specific conditions without manually filtering or sorting your data. It allows you to quickly derive insights and make data-driven decisions.
Understanding how to use the AVERAGEIFS function can significantly enhance your data analysis capabilities in Excel, enabling you to extract meaningful insights from your datasets.
Happy calculating!
You have a table where Column A contains employee names, Column B contains their corresponding sales figures for the month, and Column C contains the regions where the sales were made. You can use the AVERAGEIFS function to calculate the average sales made by a specific employee in a particular region. This allows for a more nuanced analysis of employee performance based on geographic factors, helping management to tailor training and support to specific areas and optimize sales strategies accordingly.
Beyond the AVERAGEIFS function: Better Analyst is a full Excel AI that goes well past individual formulas. Upload any spreadsheet and ask questions in plain English — you'll get formulas, data analysis, and charts back in seconds. It's a free AI Excel assistant that works with any .xlsx, .xls, or .csv file — no plugins, no Microsoft 365 required.
Don't have a spreadsheet yet? Use our free AI spreadsheet generator to turn a text prompt into a downloadable Excel file — a full AI Excel sheet maker that builds headers, columns, and formulas from your description.
Create a free account for formula help, explanations, and spreadsheet analysis. Usage limits depend on your plan.
Browse our complete library of Excel formula guides
Compare your options
Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.
AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.