The Excel Dsum function computes the sum of a database field (column) for chosen records that meet user-specified conditions. The function is quite similar to the Excel Sumifs function, which was introduced in Excel 2007 for the first time.
Syntax :
=DSUM ( database, field, criteria )
Parameters :
Database :
Field :
Criterion :
E.g. :
Quarter | Area |
>2 | South |
Example :
The Dsum function is used in the example below to determine total sales in quarters 3 and 4, in the “North” area. Cells F1 – G2 specify the conditions, while cell F3 displays the Dsum formula. The Dsum function above computes the sum of the values in cells D10, D11, D14, and D15, and hence returns the number $1,210,000.
Ask Your Query