Google Sheets function · Math
PRODUCT in Google Sheets: syntax and examples
PRODUCT multiplies every number you pass, whether typed in or taken from ranges. It is handy for several factors at once, such as compound growth over many periods.
Syntax
PRODUCT(factor1, [factor2, ...])
Arguments
| Argument | Type | Required | What it does |
|---|---|---|---|
factor1 | number | yes | The first number or range to multiply. |
factor2, ... | number | no | More numbers or ranges to multiply. |
Examples
The examples use this table, starting in A1:
| Item | Price | Qty | Growth |
| Pen | 2.5 | 4 | 0.1 |
| Notebook | 7 | 3 | 0.2 |
| Folder | 1.2 | 10 | -0.05 |
| Note | n/a |
=PRODUCT(2,3,4)Result: 24
Multiplies three numbers: 2 times 3 times 4.
Run in a Google Sheet (English US locale) on .
=PRODUCT(B2:C2)Result: 10
Price times quantity for one row, from a range.
Run in a Google Sheet (English US locale) on .
=PRODUCT(B2:B5)Result: 21
The text "n/a" inside a range is skipped, the three prices are multiplied.
Run in a Google Sheet (English US locale) on .
=PRODUCT(ARRAYFORMULA(1+D2:D4))Result: 1.254
Compounds three growth rates: 1.1 times 1.2 times 0.95.
Run in a Google Sheet (English US locale) on .
=SUM(ARRAYFORMULA(B2:B4*C2:C4))Result: 43
For a sum of products, multiply the columns and add, or use SUMPRODUCT.
Run in a Google Sheet (English US locale) on .
Common errors
- A text typed directly as an argument returns #VALUE!. Text inside a range is skipped instead.
- If a range holds no numbers, the result is 0, not 1. A column of blanks multiplies to 0.
- A range of rates needs 1+ added first: PRODUCT(1+D2:D4) works only inside ARRAYFORMULA.
- PRODUCT multiplies everything into one number. For the sum of row-wise products use SUMPRODUCT.
Compared with Excel
Same syntax as Excel PRODUCT.