AVERAGEIF Function: Excel is a spreadsheet program that is developed for Windows, Mac, Android, and iOS. It helps to perform calculations on your PC. The purpose of this software is to do complicated calculations which are difficult to do manually. To get the average of the given numbers based on criteria, you can use this function.
In this post, you will learn the usage of Excel AVERAGEIF Function with its syntax, explanation, and examples. Get an official version of MS Excel from the following link:
Description of AVERAGEIF Function
- It is one of the built-in functions in Microsoft Excel.
- This function returns the average of a set of input values that meet the given criteria.
- The criteria can be defined using logical operators such as (<, >, =, <>, *, ?).
- Here, you will see the syntax of the AVERAGEIF function.
- To apply this function on your spreadsheet, you have to select a cell and enter the formula in the following format.
- Once you enter the formula, just click on the Enter button to get the result.
=AVERAGEIF(range, criteria, [average_range])
- Range – It is the range of input values that contain numbers.
- Criteria – You can give criteria in the form of a number, expression, cell reference, or text.
- Average_range – It is an optional one. This is the set of cells to find the average. If it is omitted, range is used.
1) This function ignores the Logical values, Empty cells.
2) The arguments can be Numbers, Array, or References that contain numbers.
3) If the range is blank or text value and then this function returns #DIV/0! Error.
4) If any cell in the range doesn’t meet the given condition or criteria, then this function returns #DIV/0! Error.
Let’s see some examples to understand how this function works.
- Initially, you have to open your Excel workbook on your PC and launch a worksheet that has data.
- In the below screenshot, you can be able to see the input range in Column C, and the output average value is printed in Cell E3.
- Then, we have to apply the above-mentioned formula to get the result, as shown in the following screenshot.
- Finally, we need to click on the Enter button to get the result.
- This function ignores the Logical values, Empty cells, and Text.
- If the range is blank or text value and then this function returns #DIV/0! Error.
- If any cell in the range doesn’t meet the given condition or criteria, then this function returns #DIV/0! Error.
From the above examples, you can easily learn how to use the AVERAGEIF function.
In this article, you can understand the usage of Excel AVERAGEIF Function with its syntax, explanation, and examples. Drop your feedback in the below comment section. To learn more about Excel functions, then visit our webpage Aawexcel.com.
Use the following video to know how to apply the Excel AVERAGEIF function in the spreadsheet with examples.
- How to Use Excel FLOOR.MATH Function?
- How to Use Excel FLOOR Function?
- How to Use Excel CEILING.PRECISE Function?
- How to Use Excel CEILING Function?
- How to Use Excel GCD Function?
Hi there, I’m Sridhar – an Excel enthusiast with over 10 years of experience working with software. I’m passionate about using Excel to solve complex problems and streamline business processes. Over the years, I have helped businesses of all sizes to improve their operations and save time and money.
Aside from working with Excel, I also enjoy writing and sharing my knowledge with others. You’ll often find me contributing to the AAW Excel blog, where I provide tips, tricks, and tutorials that are easy to understand for readers of all skill levels.