DSUM
Total one database field across records selected by a criteria range.
Syntax
=DSUM(database, field, criteria)Worked example
Type Team and Units in A1:B1, then East and 4, West and 6, East and 3 in the three rows below. Put Team and East in D1:D2 to select the East rows.
=DSUM(A1:B4,"Units",D1:D2)Result 7
Microsoft documentation
Check the arguments, supported editions and behavior of this function in Microsoft’s reference.
Microsoft referenceHow to use the DSUM function in Excel
Practice DSUM
Use A1:B4 as the database and D1:D2 as the criteria. Apply DSUM to the "Units" field for East.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 |
Show example formula
=DSUM(A1:B4,"Units",D1:D2) Lesson quiz
Answer three questions to see your level in this lesson.
