TX Sheet Control

DAVERAGE Function

Function

Return the average of the values in a column of a database whose records match conditions. database is the range of the list, including its header row. field is the column to use, as its header text, such as "Value", or as its position in the list, 1 for the first column. criteria is a range with one or more headers of the list and the conditions below them; a record must meet them to be included. A field that is not a header of the list returns #VALUE!.

Syntax

DAVERAGE(database, field, criteria)

Category: Database. Minimum arguments: 3. Maximum arguments: 3.

Available for supported offline calculation.

Examples

=DAVERAGE(D1:E4,"Value",G1:G2)

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also