Daverage function in Excel - Daverage function calculates the average value with a given condition
You often use the Average function to calculate the average value for data in Excel spreadsheets. But if the average value is calculated with a given condition, the Average function cannot be processed unless you combine it with another function. Daverage function can help you calculate the average value for a given condition, you will not have to combine the function if using Average.
The following article shows the syntax and usage of Daverage function to calculate the average value with a given condition.
Description
Daverage function is a function of calculating the average value with a given condition.
Syntax
DAVERAGE (database, field, criteria)
Inside:
- database: is the range of cells, list or database including the title and the required parameters.
- field: specify the column used in the function, the cell contains the column header or column header name (you need to enter the column header name enclosed in quotation marks). It is also possible to use a number to represent the column position, for example the first column is 1, the second column is 2, etc.
- criteria: range of cells containing conditions, you can use any range as long as the range contains at least one column header and at least one cell contains conditions under that column header.
For example
Give the data table as follows:
The average number of products sold by Sex workers is Female.
1. You can use a formula with the field parameter as the cell containing the column header:
= DAVERAGE (A8: F15, E8, D5: D6)
2. Or use a formula with the field parameter as the column header name:
= DAVERAGE (A7: F14, "Number of products sold", D4: D5)
3. You can also use a formula with a field parameter that represents a column position:
= DAVERAGE (A7: F14,5, D4: D5)
All three ways have the same results, you can choose how to enter the field parameters as you like.
In the article, I introduced the syntax and presented an example of using Daverage function to calculate the average value with a given condition. Hope the article will help you. Good luck!
You should read it
- TRIMMEAN function - The function returns the average of the inner part of a dataset in Excel
- How to use the IF function in Excel
- AVERAGEIF function (returns the average value according to the condition) in Excel
- How to use the IFS function in Excel 2016
- How to use AVERAGEIF function in Excel
- AVERAGEIF function - The function returns the average of the arguments with the conditions specified in Excel
- How to use the AVERAGE function in Excel
- How to use COUNTIF function on Excel
May be interested
- AVERAGE function - The function returns the average of the arguments in Excelaverage function: the function returns the average of the arguments. syntax: average (number1, [number2], ...)
- SUMPRODUCT function in Excel: Calculates the sum of corresponding valuesthe sumproduct function is an extremely useful function when you have to deal with a lot of data numbers in microsoft excel. here are the things you need to know about the sumproduct function in excel.
- How to use COUNTIF function on Excelthe countif function on excel is the cell count function to satisfy the given condition, often used in statistics tables.
- 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.
- VAR.S function - Function that calculates variance based on a sample, ignoring logical values and text in Excelvar.s function: function that calculates variance based on a sample, ignoring logical values and text. support functions from excel 2010 onwards. syntax: var.s (number1, [number2], ...)
- VAR.P function - Function that calculates variance based on the entire set, ignoring logical values and text in Excelvar.p function: function that calculates variance based on the entire set, ignoring logical values and text. support functions from excel 2010 onwards. syntax: var.p (number1, [number2], ...)
- GEOMEAN function - The function returns the average of a positive array or range of data in Excelgeomean function: the function returns the average of a positive array or range of data. use the function to calculate the average growth when knowing the gross profit with variable interest rates. syntax: geomean (number1, [number2], ...)
- DB function - The function calculates the depreciation of assets with specific maturity in Excelthe following article details the db function - the function of depreciation of assets with specific maturity with the use of the method of calculating the declining balance by fixed level.
- How to use SUMPRODUCT function in Excelsumproduct function in excel is a function that calculates the total value of corresponding products that users conduct zoning.
- How to use the SUBTOTAL function in Excelthe subtotal function in excel is used in many different cases, helping you to sum subtotals in a list or database, unlike the sum function in excel such as counting cells, calculating average, finding the largest / smallest value. or sum the filtered list values in excel