Calculates the average of all numbers in a given cell range based on multiple criteria
The AVERAGEIFS Function[1] is an Excel Statistical function that calculates the average of all numbers in a given range of cells, based on multiple criteria. The function was introduced in Excel 2007. This guide will demonstrate how to calculate the average with multiple criteria in Excel.
=AVERAGEIFS(average_range, criteria_range1, criteria1, [criteria_range2, criteria2], …)
The AVERAGEIFS function includes the following arguments:
To understand the uses of this function, let’s consider a few examples of how to calculate the average with multiple criteria:
Let’s assume we wish to know the average telephone expenses for the North region that are greater than 100. We are given a list of expenses in column A and the amounts in column B. The formula to be used is below:
We get the result below:
As we can see, only two cells (B11 and B12) meet all conditions, and therefore, only these cells are averaged.
In criteria1, we entered the Telephone expense. In criteria 2, we used North and asked the function to average cells greater than 100.
In this example, let’s find the average of services completed before August 31, 2016, whose status is defined. We listed the service type in Column A, date in column B, status in column C, and the amount received in column D. The formula is as follows:
Here, we entered in criteria 1 a date preceded with a comparison operator. Whereas, in criteria 2, we typed “<>”. It would tell the formula to include only non-empty cells within citeria_range2, that is, column C in our example. We get the result below:
Click here to download the sample Excel file
Thanks for reading CFI’s guide to important Excel functions! By taking the time to learn and master these functions, you’ll significantly speed up your financial analysis. To learn more, check out these additional CFI resources:
To master the art of Excel, check out CFI’s Excel Crash Course, which teaches you how to become an Excel power user. Learn the most important formulas, functions, and shortcuts to become confident in your financial analysis.
Launch CFI’s Excel Crash Course now to take your career to the next level and move up the ladder!