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
- IF function in Excelthe if function is a common function in excel, the following article describes the syntax and usage of the if function.
- Split data in columns in Excelin the same data cell there are many different data types, you want to separate the data in the data cell according to its data type.
- Write italic, vertical, and diagonal lines in Excelwrite italic, vertical, and diagonal lines in excel - sometimes the data sheet you enter must write italics for titles to facilitate tracking.
- The function of dividing remainder and dividing by integer (MOD and QUOTIENT) in Excelcalculating data in excel spreadsheets, you will not be able to ignore division functions. divider functions are common and often used when division operations are needed. the function of dividing remainder and dividing by integer (mod and quotient) in excel
- Power function (exponential) in Excelpower function (exponential) in excel - power function is a power function of a number of bases with a given exponent, if you do not understand the syntax or how to use the power function, you follow the article write below.
- The Text function converts a numeric value into text in Excelin the process of working with excel, when the requirements of the job you need to convert from the number format to text format with the specified format suitable for the purpose of use. the text function will help you do that.