AVERAGEIFS function - The function returns the average of the arguments that meet multiple conditions in Excel
The following article introduces you to the AVERAGEIFS function - one of the functions in the statistical function group is very popular in Excel.
Description: The function returns the average of the arguments that meet multiple conditions.
Syntax: AVERAGEIFS (average_range, criteria_range1, criteria1, [criteria_range2, criteria2], .)
Inside:
- average_range: The data area to calculate the average value including number or name or reference array containing numbers, is a required parameter.
- criteria_range1, criteria_range2: Range containing conditionals to be summed, of which criteria_range1 is a required parameter, the remaining criteria_range are optional and contain up to 127 arguments, which are required parameters.
- criteria1, criteria2, .: The condition to calculate the average, of which criteria1 is a required parameter, other criteria are optional parameters, containing up to 127 conditions.
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.
- If the value in the data box is a logical value = True -> is considered 1, the value of False is considered to be 0.
- If the values in average_range cannot be converted to numbers -> the function returns the # DIV / 0 error value
- If no value meets all of the conditions -> the function returns the # DIV / 0 error value !
- Alternative characters such as *,? Can be used in the condition of averaging.
For example:
Calculate the average of the values with the condition in the following data table:
1. Calculate the average of the profits of consumer goods groups with profits greater than 200.
- In the cell to calculate enter the formula : = AVERAGEIFS (C6: C10, B6: B10, "= * consumption *", C6: C10, "> 200")
- Press Enter -> the average value of consumer goods items with profits greater than 200 are:
2. Calculate the average plus profit of consumer goods except for the Chinese group.
- In the cell to calculate enter the formula: = AVERAGEIFS (C6: C10, B6: B10, "= * consumption *", B6: B10, "<> * China *")
- Press Enter -> Average value of profit of consumer goods except Chinese goods is:
Above are instructions and specific examples when using the AVERAGEIFS function in Excel.
Good luck!
You should read it
- How to use AVERAGEIFS function on Excel
- AVERAGEIF function (returns the average value according to the condition) 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 AVERAGEIF function in Excel
May be interested
- AVEDEV function - The function returns the average absolute deviation of data points from their midpoint in Excelavedev function: the function returns the average absolute deviation between a given data point and the average value of the population. the function is a measure of the variability of a dataset
- HARMEAN function - The function returns the harmonic average of a data set in Excelharmean function: the function returns the harmonic mean of a dataset, the harmonic mean is the reciprocal of the arithmetic mean of the reciprocals. syntax: harmean (number1, [number2], ...)
- 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
- 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 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)
- COUNTIF function - Function that counts the number of cells in a data table that meet certain conditions in Excelcountif function: the function performs counting the number of cells in the data table that meet certain conditions. syntax: countif (range, criteria)