Formualizer Docs

PRODUCT

Multiplies all numeric arguments and returns their product.

PRODUCT is useful for chained growth factors, scaling ratios, and compound multipliers.

The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.

Syntax

=PRODUCT(number1, [number2], ...)

Arguments

ArgumentTypeRequiredDefault
number1number (range)Required—
number2number (range)Optional—

Accepts a variable number of arguments. Minimum: 1.

Remarks

  • Non-numeric values in referenced ranges are ignored.
  • Returns 0 when no numeric values are found.
  • Direct scalar arguments still attempt numeric coercion.

Examples

Find the product of 4, 8 and 12.

Formula =PRODUCT(4,8,12)

Expected result 384

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Pass one three-element array to compute the product.

Formula =PRODUCT({4,8,12})

Expected result 384

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

With one factor, the product equals that factor.

Formula =PRODUCT(7)

Expected result 7

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

A division error among 4 and 12 prevents computing the product.

Formula =PRODUCT(4,1/0,12)

Expected result #DIV/0!

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Product of scalar values

Formula =PRODUCT(2,3,4)

Expected result 24

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Product from a range

Formula =PRODUCT(A1:A3)

Input cells
A
11
25
310

Expected result 50

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

FAQ

Why does PRODUCT return 0 when no numeric inputs are found?

This implementation returns 0 for an empty numeric set after filtering.

Implementation

Engine source

On this page