Formualizer Docs

IMPRODUCT

Returns the product of one or more complex numbers.

Multiplies values sequentially using complex multiplication rules.

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

=IMPRODUCT(inumber1, [inumber2], ...)

Arguments

ArgumentTypeRequiredDefault
inumber1anyRequired—
inumber2anyOptional—

Accepts a variable number of arguments. Minimum: 1.

Return type

Can return text.

How it works

Multiplying a + bi by c + di gives (ac − bd) + (ad + bc)i. Each additional operand multiplies the accumulated product. Any complex value is allowed.

Differences from Excel

The raw Formualizer text can contain more significant digits than Excel’s complex-number text. The examples round each coefficient to 15 significant digits for display.

Remarks

  • Each argument is coerced to complex-number text before parsing.
  • Accepts any number of arguments from one upward.

Error cases

  • Invalid complex text returns #NUM!.

Examples

Multiply 3 + 4i by 1 + i using i² = −1.

Formula =IMPRODUCT("3+4i","1+i")

Expected result -1+7i

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?.

Multiply both coefficients of the complex product by the real factor two.

Formula =IMPRODUCT("3+4i","1+i","2")

Expected result -2+14i

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 is that factor.

Formula =IMPRODUCT("3+4i")

Expected result 3+4i

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?.

An operand that cannot be parsed as complex causes an error.

Formula =IMPRODUCT("3+4i","invalid")

Expected result #NUM!

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?.

Multiply conjugates

Formula =IMPRODUCT("1+i","1-i")

Expected result 2

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?.

Scale an imaginary value

Formula =IMPRODUCT("2i","3")

Expected result 6i

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

Can IMPRODUCT multiply a single argument?

Yes. With one argument it returns that parsed complex value in canonical formatted form.

Implementation

Engine source

On this page