ReferenceFunctionsDatabase Functions
DSUM
DSUM: Sums values in a database field for records that match criteria.
Summary
DSUM filters database rows using a criteria range, then adds the selected field values.
Remarks
- Criteria rows are evaluated with OR semantics; populated criteria columns within one row are ANDed.
fieldresolves by case-insensitive header text or 1-based column index; unknown headers and out-of-range indexes return#VALUE!.- Non-numeric values in the target field are ignored unless they coerce to numbers.
Examples
Sum revenue for East or West regions
Grid
| Cell | Value | |
|---|---|---|
Formula
=
Result
Not evaluated yet.
Expected
415500
Sum revenue by field index with numeric criteria
Grid
| Cell | Value | |
|---|---|---|
Formula
=
Result
Not evaluated yet.
Expected
488500
Related functions
FAQ
How are multiple criteria rows interpreted in DSUM?
Each criteria row is an OR branch, while multiple populated criteria columns in one row are combined with AND.
Runtime metadata
Category
Database
Signature
DSUM(arg1, arg2, ... argN: Any)This function accepts a repeating argument pattern (min args: 3).
Arity
min 3, max 1
Arguments
arg1Any · Scalar
Caps
PUREREDUCTION
Source