Category: FUNCTION | Updated: 2026-11-22

How to Use the DPRODUCT Function in Google Sheets | Multiply Values Matching Criteria

Syntax

=DPRODUCT(database, field, criteria)
  • database: Specifies the entire cell range of the data, including headers in the first row.
  • field: Specifies the header name of the column to multiply, or its column number from the left.
  • criteria: Specifies the cell range containing the filter conditions (headers + condition values).

Practical Example with a Table

Here is an example of multiplying all growth multipliers for “Division is Web” (specified in criteria range E1:E2) from project growth data (A1:C6).

Cell Range Role Contents
A1:C6 Database Row 1: Division, Fiscal Year, Growth Multiplier / Rows 2–6: annual multiplier data (e.g., 1.1, 1.2)
E1:E2 Criteria Range E1 = Division, E2 = Web
Formula Cell Product Result =DPRODUCT(A1:C6, "Growth Multiplier", E1:E2) → Outputs the product of growth multipliers for the Web division

Common Errors and Notes

  • #VALUE! Error: Occurs if the field name does not exist in the first row of database.
  • When Values Include 0: If even a single 0 is present among the matching records, the entire product becomes 0.
  • Result When No Records Match: If 0 records match the criteria, 0 is returned.

Frequently Asked Questions

Q. In what business scenarios is the DPRODUCT function useful?

A. It is useful when multiplying multiple factors—such as annual growth rates, discount rates, or compound multipliers—that match specific criteria (like a department or project) to calculate a cumulative multiplier.

Q. If the target column contains blank cells, does it multiply by 0?

A. No. Blank cells and text cells are ignored, and only cells containing numeric values are multiplied together.