Skip to content

How to Use Excel AVERAGEIF Function?

Ads
Listen to this article.
AVERAGEIF FunctionPin
AVERAGEIF Function

AVERAGEIF Function: Excel is a spreadsheet program that is developed for WindowsMacAndroid, 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:

https://www.microsoft.com/en-in/microsoft-365/excel

Excel AVERAGEIF FunctionPin
Excel AVERAGEIF Function

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 (<, >, =, <>, *, ?).

Syntax

  • 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])

Arguments Explanation:

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

Note:
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.

Examples

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.
Input RangePin
Input Range
  • Then, we have to apply the above-mentioned formula to get the result, as shown in the following screenshot.
Enter the formulaPin
Enter the formula
  • Finally, we need to click on the Enter button to get the result.
OutputPin
Output
  • This function ignores the Logical values, Empty cells, and Text.
Input Empty CellPin
Input Empty Cell
  • 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.
ErrorPin
Error

From the above examples, you can easily learn how to use the AVERAGEIF function.

Wrap-Up

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.

Video Tutorial

Use the following video to know how to apply the Excel AVERAGEIF function in the spreadsheet with examples.

See Also:

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *

Share to...