Contact

IMPRODUCT in ONLYOFFICE: Multiply Complex Numbers

Engineering Intermediate ONLYOFFICE Spreadsheet Editor

Learn ONLYOFFICE IMPRODUCT with exact argument limits, multiplication rules, i/j examples, impedance applications and independent math checks.

Verification status: Official documentation referenced; example outcomes independently reasoned or arithmetically checked where stated. Not executed in ONLYOFFICE Spreadsheet Editor. How formula examples are checked

Quick answer

Multiply one or more complex numbers in the documented complex-number notation. The current ONLYOFFICE vendor reference documents the English formula =IMPRODUCT(inumber1, [inumber2], ...). Its function group is Engineering. It was checked on 2026-10-13 UTC. Square brackets mark optional arguments in syntax descriptions; do not type those brackets in actual formulas.

Verification boundary: Vendor documentation establishes name, purpose, syntax and described input forms. Every stated mathematical result is independently calculated using complex-number algebra; no formula was executed in ONLYOFFICE Docs or Desktop Editors. Formatting, errors, locale syntax and version-specific runtime compatibility still require native checks.

Exact syntax, argument types, order and defaults

=IMPRODUCT(inumber1, [inumber2], ...)
Argument Required? Official meaning and expected type Default
inumber1 Yes The first complex factor. None
inumber2, … No Additional complex factors; up to 255 complex numbers total in current documentation. No additional factors

The input operands are complex numbers such as 3+4i or 2-3j, represented as complex-number text produced by COMPLEX or entered in the documented form. A numeric cell containing just a real component is not a replacement for both components without an explicit COMPLEX construction. There are no undocumented optional flags, fallback values or implicit defaults in this syntax. A formula begins with =; the examples below use English function names and commas in accordance with ONLYOFFICE’s Insert Functions instructions.

Recreate the entire worksheet from scratch

Create a new empty spreadsheet. Enter the following exact values in A1:F9: A is the scenario label, B and C the real and imaginary parts of z₁, D and E the real and imaginary parts of z₂, and F the lower-case imaginary-unit label. Put headings in row 1; enter the eight data records in rows 2–9. B:E must contain numbers, not text strings with an i/j suffix.

Row A: Scenario B: real z₁ C: imag z₁ D: real z₂ E: imag z₂ F: unit Mathematically z₁ Mathematically z₂
2 Sensor reading 3 4 1 -2 i 3+4i 1-2i
3 Opposite quadrants -2 5 4 1 i -2+5i 4+i
4 Purely real 6 0 -3 0 i 6 -3
5 Imaginary only 0 2 0 -1 i 2i -i
6 Signed pair -3 -4 2 -1 i -3-4i 2-i
7 Electrical j notation 2 3 -1 2 j 2+3j -1+2j
8 Zero divisor check 1 1 0 0 i 1+i 0
9 Symmetric pair 1 1 1 -1 i 1+i 1-i
  1. In G1 write z₁ (complex) and in H1 write z₂ (complex). Enter =COMPLEX(B2,C2,F2) in G2 and =COMPLEX(D2,E2,F2) in H2. These use ONLYOFFICE COMPLEX with the two numeric coefficients and a lowercase unit suffix.
  2. Fill both G2 and H2 down through row 9. In I1, type IMPRODUCT result. In I2, type =IMPRODUCT(G2,H2), and fill I2 down to I9.
  3. Interpret results as mathematical complex numbers. An editor may omit a zero term or render a coefficient of one differently. This article intentionally does not claim a particular exact textual serialization. Compare real/imaginary components where appropriate with IMREAL and IMAGINARY.
  4. To reproduce the examples without any reference file, retain the input table, select another blank location for advanced formulas, and change one argument at a time. None of these calculations requires screenshots, macros, external data or paid services.

Expected mathematical outputs for each row

Input row Enter in I-row Independently calculated expected value Why
2 =IMPRODUCT(G2,H2) 11-2i Apply i² = −1 or j² = −1 while multiplying.
3 =IMPRODUCT(G3,H3) -13+18i Apply i² = −1 or j² = −1 while multiplying.
4 =IMPRODUCT(G4,H4) -18 Apply i² = −1 or j² = −1 while multiplying.
5 =IMPRODUCT(G5,H5) 2 Apply i² = −1 or j² = −1 while multiplying.
6 =IMPRODUCT(G6,H6) -10-5i Apply i² = −1 or j² = −1 while multiplying.
7 =IMPRODUCT(G7,H7) -8+j Apply i² = −1 or j² = −1 while multiplying.
8 =IMPRODUCT(G8,H8) 0 Apply i² = −1 or j² = −1 while multiplying.
9 =IMPRODUCT(G9,H9) 2 Apply i² = −1 or j² = −1 while multiplying.

Reproducibility check: In row 2, z₁ = 3+4i and z₂ = 1−2i. The derivation is: Use i² = −1: (a+bi)(c+di)=(ac−bd)+(ad+bc)i. The same algebra applies with j²=−1. The expected output in the row-2 table is a mathematical prediction, not a screenshot or confirmed ONLYOFFICE return string. To inspect numeric components separately, use =IMREAL(I2) and =IMAGINARY(I2) in unused cells; this is a proposed native check, not an executed one.

Why the formula works

Use i² = −1: (a+bi)(c+di)=(ac−bd)+(ad+bc)i. The same algebra applies with j²=−1.

For z=3+4i and w=1−2i, the expected product is 11−2i: the real part is 3×1−4×(−2)=11, and the imaginary part is 3×(−2)+4×1=−2. In phasor analysis, multiplying complex quantities changes both size and phase. The spreadsheet function produces the algebraic product; interpreting it as a specific engineering quantity requires the correct physical model.

If source measurements carry volts, ohms or other units, attach those units to the header labels. Complex-number cells should contain parsable complex numbers rather than strings such as 3+4i volts, which are not documented as valid formula inputs.

Advanced uses: Complex multiplication, rotations and conjugate-pair identities

Enter each expression in an unused cell, with the same G:H inputs created above. The formula is shown alongside its independent, mathematical expected value; it has not been run in the ONLYOFFICE application.

Advanced formula Expected mathematical value What it teaches
=IMPRODUCT(G2,H2,G3) -12+59i Multiply three factors, in order, without manually distributing every term.
=IMPRODUCT(G2,IMCONJUGATE(G2)) 25 A complex value multiplied by its conjugate is real and equals magnitude squared.
=IMPRODUCT(G2,COMPLEX(0,0,"i")) 0 Zero factor annihilates the product.
=IMPRODUCT(G2,COMPLEX(1,0,"i")) 3+4i The complex multiplicative identity leaves the signal unchanged.
=IMPRODUCT(COMPLEX(0,1,"i"),COMPLEX(0,1,"i")) -1 The imaginary unit squared equals negative one.
=IMPRODUCT(G7,H7) -8+j Two factors in j notation using the same multiplication law.
=IMPRODUCT(G9,H9) 2 Conjugate-style pair generates a real product.

Read this correctly: the expressions show compositional mathematical identities, not proof of native formula evaluation for a particular release. A single complex number has two mathematical components; comparing display strings is less robust than validating both components numerically. Decimal fractions may be rounded by the editor’s display precision.

A reproducible practical application

For two circuit phasor factors G2 (3+4i) and H2 (1−2i), enter =IMPRODUCT(G2,H2). Expand manually: real part 3×1 − 4×(−2) = 11; imaginary coefficient 3×(−2) + 4×1 = −2. The expected complex product is 11−2i. This expansion is a useful independent control in engineering models; physical dimensions depend on what each factor represents.

Common errors, limitations and troubleshooting

1. Using ordinary scalar multiplication of real and imaginary columns. (a+b)*(c+d) is not the complex product; the cross terms and i²=-1 matter. First review the exact input cells and argument order; if the error persists, retain the formula and installed build number in the research record.

2. More than 255 complex operands. The current official reference documents up to 255; chunk the factors and combine intermediate IMPRODUCT results if needed. First review the exact input cells and argument order; if the error persists, retain the formula and installed build number in the research record.

3. Ignoring units. Multiplication of complex impedances is algebraically possible but may have squared units, so match the operation to the model. First review the exact input cells and argument order; if the error persists, retain the formula and installed build number in the research record.

Invalid complex syntax: 3+4k, a measurement unit embedded in a complex operand, accidental spaces, missing quotes around literal text, or uppercase I/J are not established by the documented x+yi/x+yj input form. Do not invent an ONLYOFFICE error code; test on an identified build. Try =COMPLEX(3,4,"i") to construct a clean operand, then pass its cell reference to the function.

Zero components / display conventions: 0+2i, 2i, 2j, and 0 may be formatted or simplified differently from the pedagogical display in these tables. Verify underlying mathematical components; the short vendor help page does not fully define output normalization. Do not assume a particular sign, absence of 1, zero prefix or decimal digit count in the returned text.

Wrong data types and local formula settings: When formulas show as literal text, verify that the cell is not formatted as Text and that the formula begins with =. Keep B:E numeric. If your localized editor expects translated function names or semicolons, use the built-in Function Arguments window rather than indiscriminately replacing commas. The source reference is English; cross-language parsing was not tested.

Precision, extreme operands and platform differences: Finite-precision arithmetic may make comparisons of fractional outputs approximate. The vendor article for this function does not establish a numeric tolerance, an exhaustive overflow behaviour table, an earliest supported software version or an identical web/desktop error response. Preserve the difference between mathematical undefined results, actual native #...! errors and help-documentation checks.

Diagnostic sequence when a formula fails

  1. Open a new blank file, set B2=3 and C2=4 as numbers, then enter =COMPLEX(B2,C2,"i") into G2.
  2. Verify B2/C2 are numeric and G2 uses the explicit lowercase "i" suffix from step 1.
  3. For a two-operand function, create H2 with =COMPLEX(1,-2,"i"). For IMSUM/IMPRODUCT, start with just the first operand before adding more.
  4. Enter the relevant formula from the first row of the worked table exactly. If the formula assistant shows different translated names or separators, follow its regional convention.
  5. Use IMREAL and IMAGINARY for numerical component checks when supported; record exact software/host build and observed error text.
  6. Do not treat independently computed values shown here as successful application test results.

ONLYOFFICE interface, language and version compatibility

According to the official Spreadsheet Editor Insert Functions guide, functions can be entered directly from the formula bar, reached from the Home/Formula tabs or selected in the Function Arguments dialog. For this family choose Formula → More functions → Engineering, or search the exact function name. That English guide says formula arguments are separated by commas. The Advanced Settings guide documents formula language and regional controls; therefore the text of a formula in a localized installation may differ. Do not assume Excel, Google Sheets or another spreadsheet program establishes ONLYOFFICE execution or translation.

Edition distinction: The primary function reference is on the current unversioned ONLYOFFICE Docs Spreadsheet Editor Help Center. Documentation listing is not proof that any particular deployed Docs web server or Desktop Editors build executes the function, nor proof that the feature existed in historical versions. Docs release history and Desktop Editors release history are separate. Neither the first-supported Docs version nor the first-supported Desktop Editors version has been verified for IMPRODUCT; no version-compatibility table or feature parity should be inferred from the article title. For deployment-specific compatibility, test an identified web or desktop version, including localized syntax and edge-case errors.

Verification notes

Verification: Official syntax and inputs were checked against the linked vendor references. All table and advanced examples were independently calculated with exact complex arithmetic. Native ONLYOFFICE Docs and Desktop execution was not performed. Error messages, output serialization and localized or historical compatibility remain unverified.