TX Sheet Control

DSUM Function

Function

Add the numbers in a column of the records that match the criteria. database is the range of records with the field names in its first row, field the column to use, by its name in quotes or its position number, and criteria a range with field names in its first row and the conditions below them. A field name that is not in the database returns #VALUE!.

Syntax

DSUM(database, field, criteria)

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

Available for supported offline calculation.

Examples

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

The formula returns the sum of the Value column in the records of D1:E4 that match the criteria in 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