AVERAGEIF function - The function returns the average of the arguments with the conditions specified in Excel
The following article introduces you to the AVERAGEIF function - one of the functions in the statistical function group is very popular in Excel.
Description: The function returns the average of the arguments given the specified condition.
Syntax: AVERAGEIF (range, criteria, [average_range])
Inside:
- range: The data area to calculate the average value, is a required parameter.
- criteria: The condition to calculate the average for the arguments, which is a required parameter.
- average_range: The set of actual cells counted, which is an optional value, if omitted the range used.
Attention:
- If the value of the argument contains a logical value or a blank cell -> that value is ignored.
- If the range is blank or text -> the function returns the # DIV / 0 error value
- If a cell in the criterion is blank -> the function considers it as a value of 0.
- Alternative characters such as *,? . may be used under average conditions.
- average_range does not necessarily have to be the same size as the range.
For example:
Calculate the average of the values with the condition in the following data table:
1. Calculate the average of the profits of the commodity groups with profits greater than 200.
- In the cell to calculate enter the formula: = AVERAGEIF (C6: C10, "> 200", C6: C10)
- Press Enter -> the average of items with profits greater than 200 is:
2. Calculate the average plus profit of consumer goods.
- In the cell to calculate enter the formula: = AVERAGEIF (B6: B10, "= * consumption *", C6: C10)
- Press Enter -> average profit of consumer goods items is:
3. Calculate the average plus profit of the items except consumer goods.
- In the cell to calculate, enter the formula: = AVERAGEIF (B6: B10, "<> * consumption *", C6: C10) -> press Enter -> average plus profit of commodity groups except consumer goods was:
;
Above are instructions and specific examples when using the AVERAGEIF function in Excel.
Good luck!
You should read it
- AVERAGEIFS function - The function returns the average of the arguments that meet multiple conditions in Excel
- AVERAGE function - The function returns the average of the arguments in Excel
- How to use the DAVERAGE function in Excel
- AVERAGEA function - The function returns the average of the arguments including numeric, text, and logical values in Excel
- TRIMMEAN function - The function returns the average of the inner part of a dataset in Excel
- GEOMEAN function - The function returns the average of a positive array or range of data in Excel
- Basic Excel functions that anyone must know
- How to use the IFS function in Excel 2016
May be interested
- How to use ADDRESS function in Excelthe address function in excel takes the number of rows and column numbers as arguments and returns the reference of the standard cell (cell address). for example, if you go to row 4 and column 3, the function returns c4.
- Basic Excel functions that anyone must knowthe basic functions in excel such as the excel function, the excel statistics function we summarized below will be very helpful for you who often have to work on excel spreadsheets, especially in the field of accounting. let's refer to offline.
- WEIBULL function - The function returns the Weibull distribution in Excelthe function performs the calculation and returns the weibull distribution. based on this distribution to analyze reliability in theory such as calculating the average life of the device or used in the field of meteorology, hydrology and weather forecast.
- How to use AVERAGEIFS function on Excelthe averageifs function on excel will calculate the average of the values, but with many other conditions.
- How to display function arguments in Excelyou often use functions in excel to calculate but there are many less used functions, so you do not remember the argument in the function. you do not need to worry because excel supports the function's display of arguments so that you can use the function as quickly as possible.
- How to use the IFS function in Excel 2016the ifs function in excel is a logical function introduced in excel 2016. this function is a function that replaces the nested if function and is much easier to use. the ifs function checks one or more conditions and returns a value that meets the first true condition.
- NORM.S.INV function - The function returns the inverse of the normalized distribution with an average value of 0 and a standard deviation of 1 in Excelnorm.s.inv function: the function returns the inverse of the normalized distribution with an average value of 0 and a standard deviation of 1. support from excel 2010 onwards. syntax: norm.s.inv (probability)
- COVARIANCE.P function - The function returns the covariance of a set, the product of the average of degrees of instruction for each pair of data points in Excelcovariance.p function: returns the covariance of the population, the average of the product deviations for each pair of data points in the two data sets syntax: covariance.p (array1, array2)
- NORMDIST function - The function returns the normal distribution with the standard deviation and the average value specified in Excelthe following article details the normdist function - the function returns the normal distribution in excel.
- RANK.AVG function - The function returns the rank of a number in a list of numbers in Excelrank.avg function: the function returns the rank of a number in a list of numbers whose size is in correlation with other values. if multiple values have the same rank -> the function returns the average rank. support functions from execl 2010 version and above