Multiply Function in Google Sheets: A Practical Guide

Learn how to multiply values in Google Sheets using the asterisk operator and the PRODUCT function. Includes examples, error handling, array formulas, and real-world scenarios for students, professionals, and small businesses.

How To Sheets
How To Sheets Team
·5 min read
Quick AnswerFact

To multiply values in Google Sheets, use the asterisk operator for simple products (e.g., =A1*B1) or the PRODUCT function for ranges (e.g., =PRODUCT(A1:A10)). The operator computes pairwise results, while PRODUCT returns a single value for a set. For arrays, combine with ARRAYFORMULA as needed.

Understanding the multiply function in google sheets

The multiply function in google sheets is one of the simplest yet most powerful tools for numeric data modeling. It enables you to scale quantities, compute totals, and blend unit prices with counts without writing complex logic. In practice, you’ll use the asterisk operator for direct product values (for example, =A1*B1) and the dedicated PRODUCT function when you need a single result from a range or array. This distinction matters for readability and performance in larger spreadsheets. According to How To Sheets, building foundational multiplication skills early pays off when you later incorporate it with VLOOKUP, SUMPRODUCT, or array formulas. The examples below show common scenarios, why the approach matters, and how to choose between the operator and PRODUCT depending on your data shape and intent.

Excel Formula
=A1*B1
Excel Formula
=PRODUCT(A1:A5)

For array scenarios, Google Sheets supports elementwise operations across ranges via ARRAYFORMULA. Use it when you want a column of products or when combining a range with a constant:

Excel Formula
=ARRAYFORMULA(A1:A5*B1)
Excel Formula
=ARRAYFORMULA(A1:A10 * 2)

These patterns cover most day-to-day cases and set you up for more advanced techniques like SUMPRODUCT or custom scripts.

Using the * operator vs. PRODUCT for ranges

When deciding between the simple asterisk operator and the PRODUCT function, consider the data layout and the desired result. The * operator is great for row-by-row multiplication (e.g., =A2*B2) and is easy to read in formulas. PRODUCT is ideal when you need a single scalar that represents the product of many numbers (e.g., =PRODUCT(A2:A100)). If you need per-row results across a dataset, pair the operator with ARRAYFORMULA. For example, to multiply two columns element-wise across many rows, use:

Excel Formula
=ARRAYFORMULA(A2:A100 * B2:B100)

If you prefer a single total, you can also use SUMPRODUCT as a compact alternative:

Excel Formula
=SUMPRODUCT(A2:A100, B2:B100)

Common pitfalls include misaligned ranges or mismatched dimensions; always ensure the ranges you multiply have compatible sizes to avoid errors.

Handling errors, data types, and numeric coercion

Real-world data often mixes numbers with text or blanks. A robust multiply workflow uses error handling and explicit type conversion. Start with IFERROR to catch issues and return a friendly message or zero:

Excel Formula
=IFERROR(A2*B2, "Invalid input")

If inputs may be stored as text, convert them with VALUE (or N) before multiplying:

Excel Formula
=VALUE(A2) * VALUE(B2)

You can guard against non-numeric entries with a numeric check:

Excel Formula
=IF(ISNUMBER(A2) * ISNUMBER(B2), A2*B2, "Non-numeric input")

ARRAYFORMULA can extend type-safe multiplication across a column:

Excel Formula
=ARRAYFORMULA(IFERROR(VALUE(A2:A100) * VALUE(B2:B100), "Error"))

A common nuance is how blanks behave. Treat empty cells as data to avoid misleading results; consider wrapping with LEN checks or custom defaults when building dashboards.

Practical scenarios: revenue calculations and growth factors

Let’s translate multiplication into business-friendly calculations. Suppose unit price is in column A and quantity in column B. To compute line revenue, you can use:

Excel Formula
=ARRAYFORMULA(A2:A * B2:B)

To get a grand total, use:

Excel Formula
=SUMPRODUCT(A2:A, B2:B)

For growth or discount factors, multiplication with (1+rate) is standard:

Excel Formula
=A2 * (1 + C2) # C2 contains a growth rate (e.g., 0.05)

If you want to apply a multiplicative factor across a time horizon, consider the PRODUCT function:

Excel Formula
=PRODUCT(1 + GrowthRates!A2:A6)

Finally, these techniques scale with named ranges and helper columns. As How To Sheets demonstrates, you can combine per-row calculations with totals to build robust financial models in Google Sheets without resorting to scripting.

Steps

Estimated time: 20-40 minutes

  1. 1

    Identify data ranges

    Locate the price and quantity columns, or any pair of numeric fields you intend to multiply. Confirm that ranges align in length if you plan on elementwise multiplication across rows.

    Tip: Label columns clearly to avoid confusion when expanding the dataset.
  2. 2

    Choose multiplication method

    Decide between the asterisk operator for per-row results or PRODUCT for aggregating a full range. Decide based on whether you need a vector of results or a single total.

    Tip: Favor readability; a simple A2*A2 formula is easier to maintain than nested functions.
  3. 3

    Implement array-based calculations

    If you want per-row results, use ARRAYFORMULA to apply your rule across many rows without dragging formulas.

    Tip: Ensure the source ranges are the same size to avoid errors.
  4. 4

    Add robust error handling

    Wrap calculations with IFERROR or ISNUMBER checks so dashboards don’t break on bad data.

    Tip: Return empty strings for blanks to keep reports tidy.
  5. 5

    Compute totals and validate

    Use SUMPRODUCT or PRODUCT for totals, then cross-check with manual calculations for accuracy.

    Tip: Document assumptions in a hidden sheet or comment to aid audits.
  6. 6

    Document and test

    Annotate formulas and test with representative samples to ensure behavior remains correct as data grows.

    Tip: Create a small test dataset and compare results after edits.
Pro Tip: Use named ranges to improve readability when formulas span large ranges.
Warning: Mismatched array sizes can yield errors; always align ranges for ARRAYFORMULA products.
Note: Blanks may act as zeros in numeric operations; wrap with IF to control output.

Prerequisites

Required

Optional

  • Optional: Experience with ARRAYFORMULA, SUMPRODUCT
    Optional

Keyboard Shortcuts

ActionShortcut
CopyCopy selected cell or rangeCtrl+C
PastePaste into a cell or rangeCtrl+V
Fill downDuplicate the formula or value downwardCtrl+D
Enter edit modeEdit the active cellF2

FAQ

How do I multiply two cells in Google Sheets?

Use the asterisk operator, e.g., =A1*B1. This performs a pairwise product for the two cells. For many rows, consider ARRAYFORMULA to apply the same rule across a range.

Multiply two cells with the asterisk, like =A1*B1. For many rows, use ARRAYFORMULA to apply it across a range.

What is the difference between A1*B1 and PRODUCT(A1:A10)?

A1*B1 multiplies two cells. PRODUCT(A1:A10) multiplies all numbers in the range A1 through A10 and returns a single value. Use A1*B1 for per-row results and PRODUCT for a single aggregate.

A1*B1 multiplies two cells, while PRODUCT aggregates a range into one value.

Can I multiply across non-adjacent cells?

Yes. Use ARRAYFORMULA with corresponding ranges, ensuring the ranges have compatible sizes, for example =ARRAYFORMULA(A2:A100 * D2:D100).

Yes—use ARRAYFORMULA with matching ranges like A2:A100 times D2:D100.

How should I handle text values in multiplication?

Convert text to numbers with VALUE or N, and wrap the calculation in IFERROR to avoid breaking dashboards.

Convert text to numbers with VALUE, and guard with IFERROR.

What about zeros and blanks in multiplications?

Multiplication by zero yields zero. Blanks may be treated as zero in Sheets; validate with IF to prevent unintended results.

Zeros yield zero; blanks can act like zero—check with IF if needed.

The Essentials

  • Use the * operator for quick, row-by-row products
  • Leverage PRODUCT for a single value from a range
  • Guard calculations with IFERROR to handle non-numeric data
  • Apply ARRAYFORMULA for scalable, column-wide multiplication
  • Sum results efficiently with SUMPRODUCT or PRODUCT

Related Articles