|
PRODUCT
Multiplies all the numbers given as arguments and returns the product.
Syntax
PRODUCT(number1,number2,...)
Number1, number2, ... are 1 to 30 numbers that you want to multiply.
Remarks
- Arguments that are numbers, logical values, or text representations of numbers are counted; arguments that are error values or text that cannot be translated into numbers cause errors.
- If an argument is an array or reference, only numbers in the array or reference are counted. Empty cells, logical values, text, or error values in the array or reference are ignored.
Example
The example may be easier to understand if you copy it to a blank spreadsheet.
- Create a blank spreadsheet.
- Select the example in the Help topic.
![]()
Selecting an example from Help
- Press CTRL+C.
- In the spreadsheet, select cell A1, and press CTRL+V.
- To switch between viewing the formula that returns the result and the result in the cell, select the cell and press F2 and then ENTER, or click Commands and Options on the spreadsheet toolbar, click the Formula tab, and look in the Formula in active cell (active cell) box.
Data | |
---|---|
5 | |
15 | |
30 | |
Formula | Description (Result) |
=PRODUCT(A2:A4) | Multiplies the numbers above (2250) |
=PRODUCT(A2:A4,2) | Multiplies the numbers above and 2 (4500) |