DSUM
Supported, behaves as documentedCategory: Database · Last tested 2026-08-06
Real, executed compatibility results for the DSUM function across Microsoft Excel, Google Sheets, and LibreOffice Calc — verified by actually running it. Syntax and links to each vendor’s official documentation are below.
Support matrix
| Engine | Documented | Live-tested | Verdict |
|---|---|---|---|
| Excel | Yes | Not yet | n/a |
| Google Sheets | Yes | Not yet | n/a |
| LibreOffice Calc | Yes | Yes (25.8.7.3, 2026-08-06) | Supported, behaves as documented |
Executed test cases
LibreOffice Calc 25.8.7.3 (tested 2026-08-06)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =DSUM(A1:B4,"Sales",D1:D2) | Sums the Sales column only for rows matching the criteria range (Region = East) | 150 | 150 | Matched |
| =DSUM(A1:B4,2,D1:D2) | The field can be given as a column number (2) instead of its header name | 150 | 150 | Matched |
| =DSUM(A1:B4,"Sales",D1:D2) | Criteria can be a comparison expression, e.g. Sales greater than 75 | 300 | 300 | Matched |
Docs & syntax
- Excel: official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation