DSUM Function in Excel: Syntax, Examples & Practice
Learn the Excel DSUM function: Sums values from a database using criteria. Try focused practice and download a free workbook.
Syntax
=DSUM(database, field, criteria)
Check the function documentation for your Excel version and platform. The browser simulator implements selected behavior and does not reproduce every Excel feature.
Worked example
| Row | A: Employee ID | B: Employee | C: Branch | D: Collection | E: Criteria label | F: Branch |
|---|---|---|---|---|---|---|
| 2 | E101 | Amit | Mumbai | 45000 | Mumbai | |
| 3 | E102 | Priya | Pune | 62000 | ||
| 4 | E103 | Ravi | Nashik | 38000 | ||
| 5 | E104 | Neha | Mumbai | 55000 |
=DSUM(A1:D5,"Collection",F1:F2)
Expected result: 100000
The database is A1:D5. F1 matches its Branch header, and F2 selects Mumbai.
Professional use
Legacy criteria-based MIS analysis.
Practice DSUM · Download practice .xlsx
Apply your skills
Explore MIS and finance projects
Questions and answers
How can I practise DSUM?
Use the focused ten-question DSUM lab, then download its workbook for ten additional function-specific tasks and an answer key. Core learning works without an account.
Which Excel version supports DSUM?
Check the function documentation for your Excel version and platform. The browser simulator implements selected behavior and does not reproduce every Excel feature.
Does the browser simulator replace Microsoft Excel?
No. It supports a selected set of formula behavior for practice. Native workbook recalculation, full function compatibility, PivotTables and external data features must be checked in your own Excel installation.
Interactive practice runs in your browser.