Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Use DSUM Function in Excel: Calculate Conditional Excel

The DSUM function on Excel is used to calculate the conditional sum in a field, or column in the data list.

Table of Contents

This article examines Calculate conditional Excel and explains the main developments, practical implications, and context readers should understand.

  • How to use the SUM function to calculate totals in Excel
  • Instructions for creating interactive charts in Excel with INDEX function
  • How to use Vlookup function in Excel

Instructions for Conditional Calculation Using DSUM

The DSUM function is the function of adding numbers in a field, the column in the data list satisfies the specified conditions. The function syntax is DSUM = DSUM (database; field; criteria).

Inside:

  • Database is a required argument, a database created from a cell range. This data list will contain data as fields, including fields to check conditions and fields to calculate totals. The first row list is the column header.
  • Field is a required argument specifying the column name used to summarize the data. You can enter the column header name in quotation marks, or use a number that represents the column position in the list without quotes, or refer to the column heading you want to sum.
  • Criteria is a required argument, the cell range contains the condition that you want the DSUM function to check.

User note

  • It is possible to use any range for a criteria if that range contains at least 1 column label and at least 1 cell below the column header that determines the condition for that column.
  • Do not set the condition range at the bottom of the list because there will be no additional information on the list.

We will process the data table as shown below.

How to Use DSUM Function in Excel: Calculate Conditional Excel – Instructions for Conditional Calculation Using DSUM

1. Calculate the total amount sold of iPhone products

Step 1:

First of all, we create a range of conditions for the DSUM function to calculate the total amount of money sold by iPhone products. Condition for DSUM function is iPhone *.

How to Use DSUM Function in Excel: Calculate Conditional Excel – Instructions for Conditional Calculation Using DSUM (2)

Step 2:

Next, the user enters the DSUM function formula as = DSUM (A6: E13; "Money"; C2: C3).

Inside:

  • A6: E13 is the scope of the database containing the column to be summed and the column contains the condition to be checked.
  • 'Money' is the column header that will use the value in that column to calculate the sum.
  • C2: C3 is the condition range containing column headings and a condition value.

How to Use DSUM Function in Excel: Calculate Conditional Excel – Instructions for Conditional Calculation Using DSUM (3)

Press Enter and we will get the exact result as shown.

How to Use DSUM Function in Excel: Calculate Conditional Excel – Instructions for Conditional Calculation Using DSUM (4)

Or users can change the value in the Field to a reference to the Amount column. The input formula is = DSUM (A6: E13; E6; C2: C3). The result is the same as when you enter the Amount column in the formula.

How to Use DSUM Function in Excel: Calculate Conditional Excel – Instructions for Conditional Calculation Using DSUM (5)

2. Calculate the total amount of products sold in quantities greater than or equal to 5.

Step 1:

First, the user will also need to create a range of conditions with the Sales quantity column header and the condition value is > = 5 as shown below.

How to Use DSUM Function in Excel: Calculate Conditional Excel – Instructions for Conditional Calculation Using DSUM (6)

Step 2:

We enter the formula function = DSUM (A6: E13; E6; C2: C3) and press Enter.

How to Use DSUM Function in Excel: Calculate Conditional Excel – Instructions for Conditional Calculation Using DSUM (7)

The total amount will be as shown in the picture.

How to Use DSUM Function in Excel: Calculate Conditional Excel – Instructions for Conditional Calculation Using DSUM (8)

In general, the use of DSUM functions in Excel is extremely simple. You can use functions to sum values ??by column with simple conditions. With more complex conditions we can use the SUMIF function.

  • Instructions for using Index function in Excel
  • 3 ways to calculate totals in Excel
  • How to print an Excel spreadsheet in a page

I wish you all success!

FAQ

How does Calculate conditional Excel work?

This article examines Calculate conditional Excel and explains the main developments, practical implications, and context readers should understand.

What should you prepare before using this method?

How to use the SUM function to calculate totals in Excel Instructions for creating interactive charts in Excel with INDEX function How to use Vlookup function in Excel Instructions for Conditional Calculation Using DSUM The DSUM function is the function of.

What should you do if the process does not work as expected?

The function syntax is DSUM = DSUM (database; field; criteria).

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.