Google Sheets PRODUCT Function: How to Multiply Ranges
In this article
The PRODUCT function in Google Sheets multiplies all the numbers given as arguments and returns the result. While you can multiply two cells using the asterisk (*) symbol, the PRODUCT function is designed to handle large ranges of cells, multiple separate blocks of data, and specific numeric constants all within a single formula, making it significantly more efficient for complex datasets.
What You'll Need
- A Google account with access to Google Sheets.
- A spreadsheet containing the numeric data you wish to multiply.
- Basic familiarity with cell references (e.g., A1, B10).
Step-by-Step
- Prepare Your Data: Ensure the numbers you want to multiply are entered into cells. For the most efficient use of the PRODUCT function, organize your data in contiguous rows or columns. For example, place your quantity in column A and your unit price in column B.
- Select the Target Cell: Click on the cell where you want the final result of the multiplication to appear.
- Initialize the Function: Type
=PRODUCT(into the cell. This tells Google Sheets that you are calling the PRODUCT function and are about to define the values to be multiplied. - Define the First Range: Use your mouse to click and drag across the cells you want to multiply, or type the range manually. For example, if you want to multiply everything from cell A2 to A10, type
A2:A10. The formula should now look like=PRODUCT(A2:A10). - Add Additional Arguments (Optional): If you need to multiply the first range by other separate cells or a specific number, add a comma after the first range. For instance, to multiply the range A2:A10 by the value in cell C1 and a tax multiplier of 1.05, type
=PRODUCT(A2:A10, C1, 1.05). - Close and Execute: Type the closing parenthesis
)and press Enter. Google Sheets will immediately calculate the product of all specified values. - Verify the Result: Check the output cell. If you multiplied a range of 10s, the result should grow exponentially. If any cell in the range is empty or contains text, the function will ignore those specific cells and multiply only the remaining numbers.
Common Mistakes
One of the most frequent errors is confusing the PRODUCT function with the SUM function. While SUM adds values together, PRODUCT multiplies them. If you accidentally use SUM when you meant PRODUCT, your totals will be significantly lower than expected.
Another common mistake is including cells that contain zeros. In multiplication, any number multiplied by zero equals zero. If your range includes a single cell with a 0, the entire result of the PRODUCT function will be 0, regardless of how large the other numbers are. Users often overlook a stray zero in a large dataset, leading to incorrect calculations.
Some users attempt to use the PRODUCT function on cells that are formatted as text. While Google Sheets is often smart enough to convert text that looks like a number into a numeric value, cells explicitly formatted as "Plain Text" or cells containing non-numeric characters (like "10 units" instead of just "10") may be ignored by the function. This leads to a result that is mathematically correct for the numbers it found, but incorrect based on the intended data.
Finally, users sometimes forget the comma when adding multiple ranges. Writing =PRODUCT(A1:A5 B1:B5) without a comma will result in a formula parse error. Every separate argument must be separated by a comma.
Tips
To make your spreadsheets more dynamic, use named ranges. Instead of typing =PRODUCT(A2:A100), you can highlight that range, right-click, and select "Define named range." Name it "UnitPrices." Now, your formula can be =PRODUCT(UnitPrices), which is much easier to read and maintain as your sheet grows.
If you need to multiply two columns row-by-row (e.g., Quantity x Price for 50 different items) and then sum those results, do not use a single PRODUCT function. Instead, use the =SUMPRODUCT(A2:A50, B2:B50) function. This specialized function multiplies corresponding items in the given arrays and then adds the products together, saving you from creating a helper column for every single row.
When dealing with very large numbers, be aware of scientific notation. If the result of your PRODUCT function is extremely large, Google Sheets may display it as something like 1.23E+12. To see the full number, select the cell and go to Format > Number > Number to change the display format.
You can nest the PRODUCT function inside other functions. For example, if you want to find the product of a range but only if the result is above a certain threshold, you can wrap it in an IF statement: =IF(PRODUCT(A2:A10) > 1000, "High", "Low").
Troubleshooting
If your formula returns a #VALUE! error, it usually means there is a problem with the data types. Check if any of the cells you are referencing contain errors themselves (like #DIV/0!). The PRODUCT function cannot calculate a result if one of its source cells is already in an error state.
If the result is 0 and you are certain there are no zeros in your range, check for hidden rows or filtered data. While PRODUCT generally includes hidden cells, if you are using it in combination with other functions like SUBTOTAL, the behavior might change. Ensure that your range is exactly what you think it is by highlighting the range manually to see the selection.
If the formula is simply not calculating and remains as text in the cell, check if the cell is formatted as "Plain Text." If it is, change the format to "Automatic" via the Format > Number menu and then double-click the cell and press Enter to re-trigger the calculation.
If you are getting a result that seems too small, verify that you haven't accidentally included cells containing the number 1 or fractions (decimals less than 1). Multiplying by 0.5, for example, will halve your total, which can be confusing if you expected the total to only increase.
Frequently Asked Questions
How does PRODUCT handle empty cells?
The PRODUCT function ignores empty cells entirely. It treats them as if they do not exist in the range, meaning they do not count as 1s or 0s; they are simply skipped.
Can I multiply cells across different sheets?
Yes. You can reference other sheets by including the sheet name followed by an exclamation point. For example: =PRODUCT(Sheet1!A1:A10, Sheet2!B1:B10).
What is the difference between =A1*B1 and =PRODUCT(A1, B1)?
For two cells, they are identical. However, =PRODUCT() is superior for large ranges. Typing =A1*A2*A3*A4*A5 is tedious and prone to error, whereas =PRODUCT(A1:A5) is concise.
Does the PRODUCT function ignore text?
Yes, any cell containing text that cannot be interpreted as a number is ignored by the PRODUCT function. It will not cause an error; it will simply exclude that cell from the multiplication process.
Can I use the PRODUCT function with a checkbox?
Checkboxes in Google Sheets are treated as TRUE (1) or FALSE (0). If you include a checkbox in a PRODUCT range and it is unchecked, the result of the entire formula will become 0.