DPRODUCT function
Multiplies the values in one column of a list for the records that match the criteria, e.g. to compound yearly growth factors.
Available in All versions of Excel, including Microsoft 365 and Excel for the web
In every Excel versionWorks in Google Sheets
Syntax
DPRODUCT(database, field, criteria)| Argument | What it means | |
|---|---|---|
database | Required | The list including its header row. |
field | Required | The column whose values are multiplied, as a header in quotes or a column number. |
criteria | Required | The criteria range. |
Returns: The product of the matching numbers.
How DPRODUCT works
DPRODUCT multiplies, rather than adds, the values of the records that meet your conditions. Multiplication is the right operation whenever values are factors that compound: yearly growth factors of an investment, price indexes, survival or yield rates across production steps. Multiplying 1.05 × 1.08 × 1.02 gives the total growth over three years in one number.
It is one of the least used D-functions, simply because few business columns need multiplying. When you do need it, it saves building a helper column or an array formula such as PRODUCT(IF(...)). Store growth as factors (1.05 for +5%) rather than percentages, or the product will be meaningless.
Examples
1Total growth of fund Alpha
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Fund | Year | Growth factor | ||
| 2 | Alpha | 2023 | 1.05 | 1.1567 | |
| 3 | Beta | 2023 | 0.97 | ||
| 4 | Alpha | 2024 | 1.08 | ||
| 5 | Beta | 2024 | 1.11 | ||
| 6 | Alpha | 2025 | 1.02 | ||
| 7 | Beta | 2025 | 1.04 | ||
| 8 | |||||
| 9 | Fund | ||||
| 10 | Alpha |
Result: 1.1567
Alpha's factors are 1.05, 1.08 and 1.02. Multiplied: 1.15668, shown here with four decimals as 1.1567 — the fund grew about 15.7% over three years.
2Fund Beta from 2024 onwards
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Fund | Year | Growth factor | ||
| 2 | Alpha | 2023 | 1.05 | 1.1544 | |
| 3 | Beta | 2023 | 0.97 | ||
| 4 | Alpha | 2024 | 1.08 | ||
| 5 | Beta | 2024 | 1.11 | ||
| 6 | Alpha | 2025 | 1.02 | ||
| 7 | Beta | 2025 | 1.04 | ||
| 8 | |||||
| 9 | Fund | Year | |||
| 10 | Beta | >=2024 |
Result: 1.1544
Only Beta's 2024 (1.11) and 2025 (1.04) rows meet both conditions: 1.11 × 1.04 = 1.1544, displayed as 1.1544 with four decimals.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#VALUE! | The field name is not a header in the list. | Use the exact header or a column number. |
0 or unexpected result | No record matches, or growth was entered as percentages (5%) instead of factors (1.05). | Check the criteria and convert percentages with 1+rate. |
Tips
- Subtract 1 from the result and format as a percentage to show total growth:
=DPRODUCT(...)-1. - For the average yearly growth, take the n-th root:
=DPRODUCT(...)^(1/3)-1for three years.
Google Sheets
DPRODUCT also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
DPRODUCT in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Czech | DSOUČIN |
| Danish | DPRODUKT |
| Dutch | DBPRODUCT |
| Finnish | TTULO |
| French | BDPRODUIT |
| German | DBPRODUKT |
| Hungarian | AB.SZORZAT |
| Italian | DB.PRODOTTO |
| Norwegian (Bokmål) | DPRODUKT |
| Polish | BD.ILOCZYN |
| Portuguese (Brazil) | BDMULTIPL |
| Portuguese (Portugal) | BDMULTIPL |
| Russian | БДПРОИЗВЕД |
| Spanish | BDPRODUCTO |
| Swedish | DPRODUKT |
| Turkish | VSEÇÇARP |