Contact

IMEXP in ONLYOFFICE: Complex exponential with Examples

Engineering Intermediate ONLYOFFICE Spreadsheet Editor

Learn IMEXP in ONLYOFFICE Spreadsheet Editor with official syntax, a reproducible complex-number worksheet, checked mathematical examples, troubleshooting and compatibility cautions.

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: IMEXP raises Euler’s number e to the input complex number. The official ONLYOFFICE reference documents the formula =IMEXP(inumber). This article describes mathematical expectations, not results obtained from the ONLYOFFICE application.

Verification: Examples are independently calculated mathematical expectations. Native ONLYOFFICE Desktop and Docs web execution was not performed.

Exact syntax, arguments, types and defaults

=IMEXP(inumber)
Argument Required? Meaning and type Default
inumber Required Complex number expressed in x + yi or x + yj form No default

All arguments shown above are required; the official function page does not describe optional parameters or assumed defaults. inumber is a complex number of the form x+yi or x+yj; the suffix i/j is a lowercase complex unit. Build inputs with COMPLEX(real_num,i_num,[suffix]) rather than typing nonnumeric text into real/imaginary input cells. COMPLEX assumes i if suffix is omitted. The optional square brackets in its documentation mean optional, not literal characters.

ONLYOFFICE documents manual entry with a leading = and comma-separated arguments in its Insert functions instructions. These examples use English names and comma separators; check actual regional settings before copying the formulas into localized environments. The exact tokenized spelling of localized functions and separators has not been tested.

Step-by-step reproducible worksheet

  1. Open a new empty spreadsheet in ONLYOFFICE Spreadsheet Editor. Type the headings Scenario, Real, Imaginary, Unit, Exponent, Complex value, Result in cells A1:G1 respectively.
  2. Enter the data below into A2:E11. Enter real and imaginary coefficients as numbers, not strings. In C10, enter the actual formula =PI()/2 so that row 10 is reproducible to spreadsheet precision.
  3. Type =COMPLEX(B2,C2,D2) in F2 and fill down through F11. F2 is mathematically 3+4i; the exact text serialization may omit zero terms or unit coefficients.
  4. Type the formula indicated below in G2 and fill it down through G11. The examples use the input suffix for notation only; native suffix propagation and output formatting remain unverified.
  5. Compare results to the mathematical expectations below. A small numerical difference from a decimal approximation can come from floating-point precision, complex-number branch handling or output formatting. Do not claim that the test passed natively until somebody runs it in the target edition.
Row Scenario B: real C: imaginary D: suffix E: power Mathematical complex input
2 Impedance 3 4 i 2 3+4i
3 Real unity 1 0 i 3 1
4 Quarter-turn 0 1 i 4 1i
5 Negative real -1 0 i 3 -1
6 Quadrant II -2 3 i 2 -2+3i
7 Electrical notation 0 -2 j -1 -2j
8 Mixed signs 2 -1 j 2 2-1j
9 Zero input 0 0 i -1 0
10 Half-pi angle 0 =PI()/2 i 2 1.5707963268i
11 Real four 4 0 i 0 4

For G2, enter =IMEXP(F2). Fill down to G11. Row 9 checks the mathematical exponential at zero, whose expected value is 1.

Expected mathematical outputs (independent calculations)

Row Enter in column G Mathematical expected result Calculation context
2 =IMEXP(F2) -13.1287830815-15.2007844631i principal mathematical value, not a confirmed editor output
3 =IMEXP(F3) 2.7182818285 principal mathematical value, not a confirmed editor output
4 =IMEXP(F4) 0.5403023059+0.8414709848i principal mathematical value, not a confirmed editor output
5 =IMEXP(F5) 0.3678794412 principal mathematical value, not a confirmed editor output
6 =IMEXP(F6) -0.1339809149+0.0190985163i principal mathematical value, not a confirmed editor output
7 =IMEXP(F7) -0.4161468365-0.9092974268j principal mathematical value, not a confirmed editor output
8 =IMEXP(F8) 3.9923240484-6.2176763124j principal mathematical value, not a confirmed editor output
9 =IMEXP(F9) 1 principal mathematical value, not a confirmed editor output
10 =IMEXP(F10) 1i principal mathematical value, not a confirmed editor output
11 =IMEXP(F11) 54.5981500331 principal mathematical value, not a confirmed editor output

Verification method: two independent Python numeric pathways (cmath double-precision and mpmath 65-digit complex arithmetic) agreed within the declared relative/absolute tolerance for every defined example. This checks algebra, not the spreadsheet engine, its display text, exact error messages or formula parser.

Why it works: mathematical explanation

The exponential turns a complex input into a magnitude scaling e^a and a rotation of b radians. The imaginary part is an angle in radians, not degrees.

For z=a+bi, calculate e^a, cos(b), and sin(b). Multiply e^a by the cosine for the real component and by the sine for the imaginary component.

For z=3+4i, the magnitude is e³≈20.0855369232 and the phase is 4 radians. Therefore e^(3+4i) is e³ cos(4) + i e³ sin(4).

The equations describe the mathematical operation normally associated with this function. They are not proof of native ONLYOFFICE behaviour at a branch cut or near machine-precision limits. The official vendor reference describes the function purpose and basic syntax but omits some branch/error details.

Advanced use and proposed formula checks

The following formulas use small self-contained inputs or the original table; results are independent mathematical expectations, not observed ONLYOFFICE output.

Formula to enter in an unused cell Independently expected mathematical result Why it matters
=IMEXP(COMPLEX(0,0,"i")) 1 Exponential at zero: identity 1.
=IMEXP(COMPLEX(0,PI()/2,"i")) 1i Quarter-turn Euler value: mathematically i (tiny floating residue possible).
=IMEXP(COMPLEX(0,PI(),"i")) -1 Euler identity: mathematically −1 (tiny residue possible).
=IMEXP(COMPLEX(0,-PI()/2,"i")) -1i Clockwise quarter-turn: −i.
=IMEXP(COMPLEX(LN(2),0,"i")) 2 Real exponent recovers 2.
=IMEXP(COMPLEX(1,1,"i")) 1.4686939399+2.2873552872i Mixed growth and phase rotation.
=IMEXP(F2) -13.1287830815-15.2007844631i Repeat first input; compare with e³(cos4+i sin4).
=IMEXP(IMLN(F2)) 3+4i Composition expectation for nonzero input; depends on IMLN.

Advanced application and practical interpretation

Complex exponential is useful for phasors, oscillations and solving differential equations. A measurement phase specified in degrees must first be converted to radians; 4 in an imaginary component means four radians.

Compare two ways without overstating what is tested

To inspect a complex output numerically, place =IMREAL(G2) and =IMAGINARY(G2) in blank cells. Their official real-component and imaginary-component references describe the operations. Comparing numeric components avoids making assumptions about whether the editor prints i, 1i, j, extra zeros or rounded decimals. This is a recommended future native test, not an executed verification.

Errors, limits and troubleshooting

Input format: A typical input such as 3+4i should be constructed with =COMPLEX(3,4,"i"). 3+4i volts, a mixed i/j string, unquoted suffix arguments and a typed formula lacking = are not shown as valid inputs by the vendor. A cell that visually looks numeric may contain text.

Domain and precision: Real parts with very large positive magnitude can overflow the numeric representation; negative real parts can underflow. Periodicity creates practically equal values for imaginary arguments differing by multiples of 2Ï€, with floating-point residuals.

Boundary caution: For zero complex input, mathematics gives 1. For purely imaginary input, the magnitude is mathematically 1. Very large positive real components may overflow or produce a vendor-specific error; no exact native error code is asserted.

Troubleshooting checklist:

  1. Confirm the real and imaginary components in B and C are numeric and that D contains the lowercase unit i or j.
  2. Use the Insert Function window to confirm the target installation recognizes the exact English function name.
  3. Check the parentheses, leading =, comma separators and argument order. Test the single-cell literal formula from the advanced table before dragging down a column.
  4. If a result differs from the expected mathematical value, inspect the real and imaginary components separately and compare with a reasonable decimal tolerance.
  5. For zero-input, negative-real branch-cut, fractional exponent, large-magnitude and regional settings cases, record what the actual target build does. No #NUM!, #VALUE! or other exact error is claimed without an observed native test.
  6. If recalculation is stale, ONLYOFFICE documents the Calculation control on the Formula tab and F9 for workbook recalculation in its Insert Functions guide; inspect the build-specific UI before assuming identical keyboard shortcuts across systems.

ONLYOFFICE editions and historical versions

The current unversioned ONLYOFFICE Docs Spreadsheet Editor Help Center lists this function and describes its syntax. This is vendor-documentation evidence, not a tested claim that every Docs server, hosted web editor, Desktop Editors version, mobile build or locale supports it. The Docs changelog and the separate Desktop Editors changelog were consulted on 2026-10-13 (UTC), but the inspected material did not establish an attributable first supported release for this function. Therefore minimum Docs/Desktop version: unknown.

Export/import and Excel or Google Sheets compatibility are not established by the ONLYOFFICE help page. Another spreadsheet’s formula behaviour, rounding, error messages or complex-number branch choice cannot serve as ONLYOFFICE execution evidence. Verify in each target application and format before migrating a workbook.

Official references and dated claim-level evidence

Claim Evidentiary basis Checked
Function name, purpose, English syntax and argument descriptions Official IMEXP reference 2026-10-13 (UTC)
COMPLEX construction and lowercase i/j suffix, default i COMPLEX reference 2026-10-13 (UTC)
Formula entry with = and commas, access via Formula tab Insert functions 2026-10-13 (UTC)
Current Docs versus Desktop release histories are distinct; first supported version not established Docs changelog, Desktop changelog 2026-10-13 (UTC)
Expected mathematical values (including principal-branch assumptions) cmath and 65-digit mpmath independent calculations 2026-10-13 (UTC)
Native application execution, localized syntax, exact error codes and historical version matrix Not tested / not established Not applicable