DPRODUCT in FreeOffice PlanMaker: Syntax and Worked Examples
Multiply a filtered database field, including zero and negative values, while separating empty selections from real products.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer
=DPRODUCT(A10:D16,"Value",D1:D2) is expected to return 48 for the database below: the East values are 2, 4 and 6, and 2×4×6 = 48.
DPRODUCT multiplies the selected values together. It does not multiply fields within each record and then add those row products. For a quantity-times-price total, that distinction matters.
Syntax and field argument
=DPRODUCT(DatabaseArea, Column, SearchCriteriaArea)
All three arguments are required. DatabaseArea includes the header row. Column is a quoted heading or a one-based relative field number. In this database, "Value" and 3 identify the same field. The criteria argument points to a separate headed range.
Build a headed database and criteria above it
Enter the following database in A10:D16, including its header row:
| Row | A: ID | B: Region | C: Value | D: Status |
|---|---|---|---|---|
| 10 | ID | Region | Value | Status |
| 11 | 1 | East | 2 | Open |
| 12 | 2 | East | 4 | Closed |
| 13 | 3 | East | 6 | Open |
| 14 | 4 | West | 8 | Open |
| 15 | 5 | West | 0 | Closed |
| 16 | 6 | South | −2 | Open |
Create these small criteria blocks above the database, leaving the blocks separate:
| Criteria range | Header cells | Condition cells | Meaning |
|---|---|---|---|
| D1:D2 | D1: Region | D2: East | East records |
| A1:B2 | A1: Region; B1: Status | A2: East; B2: Open | East AND Open |
| F1:F2 | F1: ID | F2: numeric 2 | Unique ID 2 |
| H1:H3 | H1: Region | H2: East; H3: West | East OR West |
| A5:A6 | A5: Region | A6: North | No matching record |
| C5:C6 | C5: Region | C6: South | One South record |
| E5:F6 | E5: Value; F5: Value | E6: >=0; F6: <=4 | Value between 0 and 4 inclusive |
Enter comparison criteria such as >=0 as cell content, not as a formula beginning with =. Header labels must correspond to the database fields. The repeated Value headings let two conditions apply to the same field in one criteria row.
The official database-function instructions require the criteria area to be above the database and not overlap it. Conditions on the same row combine with AND; separate criteria rows combine with OR. The database reference includes its headings; the criteria reference includes its own headings and the intended condition rows. Do not include an extra blank criteria row casually, because it changes the criteria structure.
Step-by-step: compare filtered products
- Enter
=DPRODUCT(A10:D16,"Value",D1:D2). Expected: 48. - Enter
=DPRODUCT(A10:D16,3,D1:D2)to check the equivalent relative field selection. Expected: 48. - Enter
=DPRODUCT(A10:D16,"Value",A1:B2). The East/Open values are 2 and 6, so the expected product is 12.
The criteria change the participating records before multiplication. The East/Closed value 4 is excluded from the third calculation.
Zero is a factor, not a missing value
The East OR West criteria include 2, 4, 6, 8 and 0. Therefore =DPRODUCT(A10:D16,"Value",H1:H3) is expected to return 0, even though several nonzero values match.
The bounded Value criteria include 2, 4 and 0; =DPRODUCT(A10:D16,"Value",E5:F6) is also expected to return 0. These are nonempty selections with a genuine zero factor. They must be distinguished from the North criteria, which select no records. The native check below records that empty selection separately.
The one South record gives =DPRODUCT(A10:D16,"Value",C5:C6) an expected result of −2. A single negative factor makes that product negative; the function does not impose a positive-only rule on the example’s numeric field.
Practical case: multiplying factors
A product can be meaningful when the selected values are compatible factors, such as dimensionless adjustment multipliers. Keep their interpretation and selection criteria explicit. Multiplying arbitrary amounts can create units raised to a power rather than a meaningful monetary total.
For a running model, inspect the matched set when a product unexpectedly becomes zero. A real zero factor, a changed criterion and an empty selection are different causes. Do not replace zeros automatically, because that changes the multiplication being requested.
Errors and limits
The official page does not fully specify treatment of text, blanks, Boolean values, embedded errors or an empty selection. The worked products use explicit numeric cells, including zero and a negative number. They do not establish a complete coercion policy.
Large products can become difficult to display or exceed numeric limits. The deliberately small examples avoid overflow and precision stress. Keep the full stored result for later arithmetic and apply display rounding only where the reporting policy requires it.
Preserve the criteria placement and matching headers when copying the worksheet. Do not assume another application interprets every database criterion identically just because it has a DPRODUCT function.
Native products and the empty-selection observation
Seven DPRODUCT formulas were calculated in FreeOffice PlanMaker 2024 revision F1238.1005. Screenshot row order is 48, 48, 12, 0, 0, −2 and 0. The East/West and bounded-value selections contain a genuine zero factor, whereas the final North selection contains no matching records and also returned numeric 0. Thus the displayed zero alone does not distinguish those causes. All formulas and typed inputs were preserved after native PMDX save and reopen.

Selected J10 shows 48 for East. J13:J14 show products with real zero factors, J15 shows the negative singleton product, and J16 shows the separately observed no-match zero. The criteria remain above the database, including the East/West OR block in H1:H3; results occupy J10:J16 outside both input areas.
Version and verification scope
The official FreeOffice PlanMaker 2024 reference was checked October 18, 2026. The installed application is FreeOffice PlanMaker 2024 revision F1238.1005. The original introduction version is not established by this evidence; the current reference does not identify the function as deprecated or retired. No availability claim for a different edition or a 2026 release is implied.
The native section reports the exact tested subset and results from revision F1238.1005 after native PMDX save and reopen. Independent arithmetic is distinguished from saved observations. No Excel-export test was performed. English formulas in this guide use commas; use the separators required by your formula settings.