IMPRODUCT Function in LibreOffice Calc — Tested Examples
Multiply complex ranges with LibreOffice IMPRODUCT. Model a chain of complex gains, verify conjugate products and understand suffix, blank and parsing behavior.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: IMPRODUCT multiplies complex values or ranges and returns complex-number text. Its existing documented 255-argument syntax is retained below.
Availability and version history
- Introduced: Documented by LibreOffice 26.8.1.1; original introduction not established.
- Availability: Supported in LibreOffice 26.8.1.1, verified against its function registry. This identifies a supported release, not a final working version.
- Scope: Desktop Calc, using the English function name. Availability in other spreadsheet applications is separate.
- Checked: 2026-10-14 — function reference; versioned support. Documentation/source check; not a new native test. Existing example-specific test claims below retain their stated scope.
Returns the product of several complex numbers. The result −5+10i follows from (1+2i)(3+4i) and the identity i²=−1.
Syntax and arguments
=IMPRODUCT(Complex1 [; Complex2; ...])
Square brackets mark optional arguments; do not type the brackets or ellipsis. Separate arguments with semicolons (;).
| Argument | Explanation |
|---|---|
Complex1 |
First complex value, cell reference or range. |
Complex2; ... |
Optional additional complex values or ranges, up to 255 arguments in the documented syntax. |
Enter a literal complex value as text, for example “2+3i” or “2+3j”; a cell can contain that text instead.
Worked examples
Example 1: Multiply two complex values
=IMPRODUCT("1+2i";"3+4i")
Expected result: -5+10i. This value was returned in the LibreOffice Calc 25.2 test.
How to interpret the result
The result −5+10i follows from (1+2i)(3+4i) and the identity i²=−1.
Mistakes and troubleshooting
- Check inputs and assumptions: Multiply both real and imaginary parts; you cannot multiply components independently.
- Check argument order and format: Strings go in quotes, cell references do not. Functions that return arrays may require special entry.
- Verify your own data: Reproduce the example first. If your formula returns an error, inspect the referenced cells and individual argument values.
Additional worked application and edge cases
Stepwise example: combine three complex gains
Put 1+i, 1-i and 2+3i in A2:A4. Enter =IMPRODUCT(A2:A4) in C2. The independently expected result is 4+6i.
The first two factors multiply to 2 because (1+i)(1−i)=1−i²=2. Multiplying that real factor by 2+3i gives 4+6i. A range is one function argument, so the documented 255-argument limit is not a statement that a range may contain only 255 cells.
For a model of consecutive complex gains, keep one factor per row so the chain can be audited. The multiplication requires all cross terms; multiplying the real coefficients and imaginary coefficients separately would be wrong.
Second example: a real scaling factor
=IMPRODUCT(A2:A4;2) has independently expected result 8+12i. The extra numeric factor scales both components. The original complex values remain in their cells, and the extra factor is supplied as a separate optional argument.
With 1+i and 1−i alone, =IMPRODUCT(A2:A3) produces a purely real complex result, formatted as text 2. Use IMREAL when a numeric scalar is needed for a downstream real-number calculation. A string without an imaginary suffix is still the formatted result of a complex-text function.
Advanced application: product-magnitude control
For the three-factor example, =IMABS(C2) is expected to be approximately 7.211102551. Independently, the magnitude product is SQRT(2)×SQRT(2)×SQRT(13), which gives the same value. This checks magnitudes only; matching magnitudes would not by itself establish the correct phase.
A zero factor makes the mathematical product zero. It is different from an intentionally omitted factor or a genuinely empty cell. Do not substitute zero for a missing gain unless that is the intended model.
Mixed suffixes, ranges and errors
The inspected Calc source parses lowercase i and j, performs component multiplication and retains the first explicit unit suffix it encounters. A source-derived example is =IMPRODUCT("1+i";"1-j"), expected as text 2 after the imaginary parts cancel. A blanket assertion that mixed suffixes always produce an error would not describe this implementation. Use consistent suffixes for clarity and interchange with other software.
The source’s complex-list collector skips empty entries but attempts to parse nonempty text. A heading such as “Gain” is not automatically a harmless number and should be kept outside the calculation range. This source inspection is not an exhaustive native test of every conversion from blank cells, logical values or error cells through the spreadsheet interface.
Malformed complex strings or uppercase I/J are not accepted by the reviewed parser. Large chains can overflow or accumulate rounding error. Compare mathematically equivalent results using component tolerances, rather than expecting every reordered floating-point multiplication to have identical text.
- Pinned Calc complex parser and formatter, inspected October 17, 2026.
- Pinned Calc component operations, inspected October 17, 2026.
Verification scope for this addition: These added results were independently calculated or derived from the cited documentation/source. They were not newly tested in LibreOffice Calc. The original example-specific Calc 25.2.3.2 claims elsewhere on this page remain historical and apply only to those original examples. The cited 26.8.1.1 source tag is a code reference, not a claim of a new run in that release.
Related functions
Tested version and primary reference
1 example(s) on this page passed real calculations in LibreOffice Calc 25.2.3.2. This is not a claim about every possible input or other spreadsheet applications.