So in the example above, only rows 6 and 8 meet those conditions. This means that only those records where the order number is greater than 10567 and Quantity is greater than equal to 4 will be included in the sum calculations.
The criteria for the DSUM calculation is found in cells A1:B2. Let's quickly explain why the DSUM function returns 7.99 in this example.
Let's look at some Excel DSUM function examples and explore how to use the DSUM function as a worksheet function in Microsoft Excel:īased on the Excel spreadsheet above, the following DSUM examples would return: =DSUM(A4:D8, 'Unit Cost', A1:B2)