Skip to content
Excel

DPRODUCT function in Excel

Multiplies the values in a particular field of records that match the criteria in a database

=DPRODUCT(database, field, criteria)

DPRODUCT syntax and parameters

Three arguments, three required.

  • databaserangeRequired

    The range of cells that makes up the list or database. A database is a list of related data in which rows of related information are records, and columns of data are fields. The first row of the list contains labels for each column.

  • fieldanyRequired

    Indicates which column is used in the function. Enter the column label enclosed between double quotation marks, such as "Age" or "Yield," or a number (without quotation marks) that represents the position of the column within the list: 1 for the first column, 2 for the second column, and so on.

  • criteriarangeRequired

    The range of cells that contains the conditions that you specify. You can use any range for the criteria argument, as long as it includes at least one column label and at least one cell below the column label in which you specify a condition for the column.

DPRODUCT examples

Formulas you'll actually reuse.

  1. Multiply the growth factors in a rates table M1:O10 (Year | Region | Factor) for the rows matching the Region criterion in Q1:Q2:

    =DPRODUCT(M1:O10, "Factor", Q1:Q2)

    Result1.2155

  2. The same on column 3, filtered by a Year criterion in R1:R2:

    =DPRODUCT(M1:O10, 3, R1:R2)

DPRODUCT in Google Sheets

Same name — your formula ports as-is.

Try DPRODUCT in the playground

Edit the example — nothing to install.

Preloaded with the DPRODUCT formula from Example 1 — change anything and watch it respond.

Loading the editor…