Skip to content

Lesson 81 of 92 · Free Excel Course

Excel · Excel function reference

Excel PRODUCT Function: Syntax, Examples and Common Errors

How the Excel PRODUCT function multiplies numbers and ranges, why it skips blanks and text when * doesn't, and how to chain growth rates. Free workbook.

The PRODUCT function multiplies all the numbers you give it and returns one result, the same way SUM adds them. =PRODUCT(A2:A4) gives the same answer as =A2*A3*A4, but you can hand it a whole range instead of typing a * between every cell. It also behaves differently from the * sign when a cell is blank or holds text, which is the main thing to understand before you use it. PRODUCT is available in Excel for Microsoft 365 (Windows and Mac), Excel for the web, Excel 2024, Excel 2021, Excel 2019 and Excel 2016. If you're new to multiplying in Excel, start with subtract, multiply and divide.

Syntax

=PRODUCT(number1, [number2], ...)
  • number1 (required): the first number or range to multiply. It can be a typed number (3), a cell (B2) or a range (B2:D2).
  • number2, ... (optional): more numbers, cells or ranges, separated by commas. You can give up to 255 arguments in total, and each one can be a range of any size.

There's no default: if you only give number1 and it's a single number, PRODUCT simply returns that number. Inside a range or reference, Microsoft says only numbers are multiplied; empty cells, text and logical values (TRUE/FALSE) are ignored. That rule is what makes PRODUCT different from the * operator.

Examples

Microsoft's example. Put 5, 15 and 30 in A2:A4:

C3=PRODUCT(A2:A4,2)
ABCD
1ValueResultFormula
252250=PRODUCT(A2:A4)
3154500=PRODUCT(A2:A4,2)
4302250=A2*A3*A4
5 × 15 × 30 = 2,250. Adding a second argument, 2, doubles it to 4,500. The * formula in row 4 gives the same 2,250.

PRODUCT vs * with blanks and text. Here each order line is price × quantity × a discount factor (0.9 means 10% off). Only the notebooks have a discount; the pens' discount cell is empty and the tape's says "n/a":

E3=PRODUCT(B3:D3)
ABCDEF
1ItemPriceQtyDiscount factorPRODUCT* formula
2Notebooks$4.50120.9$48.60$48.60
3Pens$2.0010$20.00$0.00
4Tape$3.254n/a$13.00#VALUE!
Column E uses =PRODUCT(B2:D2) copied down; column F uses =B2*C2*D2. They agree only when every cell holds a number.

The * formula treats the empty D3 as 0, so the pens line shows $0.00, and it can't multiply the text in D4, so it returns #VALUE!. PRODUCT skips both cells and gives $20.00 and $13.00. Which one you want depends on the sheet: here PRODUCT is right, because a blank discount means "no discount". If a blank should really mean zero, such as an unfilled quantity, the * formula is the honest one, because it doesn't quietly hide the gap.

Chaining growth rates with PRODUCT(1+range). An investment returned 5%, -2%, 8% and 3% over four years (B2:B5). You can't add the percentages to get the total; you multiply the growth factors (1 + each return):

B6=PRODUCT(1+B2:B5)-1
AB
1YearReturn
220235.00%
32024-2.00%
420258.00%
520263.00%
6Total growth14.47%
7$1,000 grows to$1,144.66
1.05 × 0.98 × 1.08 × 1.03 = 1.1447, so the total is 14.47%, not the 14% you'd get by adding.

1+B2:B5 turns each return into a growth factor, PRODUCT multiplies them, and the -1 turns the result back into a percentage. In B7, =1000*PRODUCT(1+B2:B5) shows what $1,000 became. In Microsoft 365 and Excel 2021 or later, just press Enter. In Excel 2019 and older, this is an array formula: press Ctrl+Shift+Enter instead, or Excel calculates the wrong thing.

If you want to multiply two columns row by row and then add the results (price × quantity for every line, then a grand total), PRODUCT is the wrong tool. Use =SUMPRODUCT(B2:B4,C2:C4), covered in the SUMPRODUCT lesson.

Common errors

  • 0 when you expected a number. Either a cell in the range holds a real 0, or the range has no numbers at all (every cell is still blank), in which case PRODUCT returns 0. =COUNT(B2:D2) tells you how many numbers it found.
  • A number when data is missing. Because blanks are skipped, a row where data is missing still produces a confident-looking number. If every cell must be filled, check first: =IF(COUNT(B2:D2)=3,PRODUCT(B2:D2),"missing").
  • Numbers stored as text are silently skipped. A quantity pasted from another system can arrive as the text "12" (often left-aligned with a green triangle). PRODUCT ignores it like any other text, so the answer is wrong rather than an error. Convert the cells to numbers (select them, click the warning icon, Convert to Number) and the result corrects itself.
  • An error value inside the range. If any cell in the range shows an error such as #N/A or #DIV/0!, PRODUCT returns that error too. Fix the source cell; don't hide it.
  • #VALUE! from the * version. Text in a cell breaks =B2*C2*D2 but not PRODUCT. If you switch to * to get blanks counted as zero, make sure no cells hold text like "n/a".
  • Wrong total from PRODUCT(1+range) in older Excel. In Excel 2019 or earlier, pressing plain Enter doesn't treat it as an array formula, so you can get #VALUE! or a wrong number; confirm it with Ctrl+Shift+Enter.

Related functions

Try it yourself

Download the practice workbook. On the Practice sheet you'll repeat Microsoft's 5, 15, 30 example, compare PRODUCT with the * formula on the pens line (blank discount) and see the tape line's text break *, then chain four yearly returns into one total growth figure. Type your formulas in the yellow cells and check them against the Answers sheet.

Frequently asked questions

Does PRODUCT ignore blank cells?

Yes. In a range or cell reference, PRODUCT multiplies only the numbers and skips empty cells, text and TRUE/FALSE values. So with 2 in B2, 10 in C2 and D2 empty, =PRODUCT(B2:D2) returns 20, while =B2*C2*D2 returns 0 because the * sign treats an empty cell as zero.

Why does my PRODUCT formula return 0?

Either one of the cells really holds 0 (anything times zero is zero), or the range has no numbers in it at all, for example every cell is still blank. Check the range with =COUNT(B2:D2): if it's 0, there's nothing for PRODUCT to multiply.

What is the difference between PRODUCT and SUMPRODUCT?

PRODUCT multiplies everything into one number: =PRODUCT(B2:B4) is B2 × B3 × B4. SUMPRODUCT multiplies two or more ranges row by row and then adds the results: =SUMPRODUCT(B2:B4,C2:C4) is B2×C2 + B3×C3 + B4×C4, the classic price-times-quantity total. See the SUMPRODUCT lesson.

How many numbers can PRODUCT multiply?

Up to 255 arguments. Each argument can be a single number, a cell or a whole range, so =PRODUCT(A2:A500) multiplies 499 cells with just one argument.