Zoho Sheet IMAGINARY: Extract Imaginary Coefficients
Use IMAGINARY in Zoho Sheet to extract the i or j coefficient, check signs and troubleshoot complex text.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer. =IMAGINARY("2+3j") returns 3. The result is the signed imaginary coefficient, without an i or j suffix. Use it to separate the second coordinate from a combined complex-number representation.
Availability and version history
- Introduced: The original introduction version and date are not established by the checked sources.
- Availability: Currently documented in Zoho Sheet’s rolling web-service help; no numbered release or retirement endpoint is established.
- Scope: English-language web-service documentation. Mobile and offline-client parity is outside the verified scope.
- Checked: October 14, 2026, against the official IMAGINARY reference. Documentation and independent numerical checks; no native Zoho Sheet test.
Syntax and signed coefficients
=IMAGINARY(complex_number)
The single required argument is complex-number text, supplied as a quoted literal or a cell reference. No optional argument selects a suffix, mode or rounding rule. For a+bi, the extracted coefficient is b. A negative b stays negative; magnitude is a different calculation.
For example, 2+3j has real coefficient 2, imaginary coefficient 3 and magnitude √13. These three numbers answer different questions. In an engineering model, the imaginary coefficient may represent reactance, but only if the source measurements use that convention and their units are recorded separately.
Worksheet: compare signed imaginary parts
Create a new sheet named Parts. Enter Complex input and Imaginary coefficient in A1:B1. Put the following text in A2:A5 without enclosing quote characters. Enter =IMAGINARY(A2) in B2 and fill through B5.
| Row | A: Complex input | Expected B | Basis |
|---|---|---|---|
| 2 | 2+3j | 3 | Zoho’s published example |
| 3 | 5j | 5 | Zoho’s published example |
| 4 | 1-4i | -4 | Signed coefficient; this input also appears in Zoho’s COMPLEX example |
| 5 | -3+0j | 0 | Mathematical target; acceptance of this exact zero-term spelling is unestablished |
Put =IMAGINARY("2+3j") in D2 as a direct literal control. Its documented result is 3. The fill-down formulas refer to cells; do not quote the cell addresses.
An inconsistency in the official example
Zoho’s IMAGINARY page prints =IMAGINARY("1-4") with result −4. That string omits an imaginary-unit suffix. The related COMPLEX page instead constructs 1-4i. The IMAGINARY entry does not explain whether its shorter spelling is intentional or erroneous, so it does not establish general suffix-free parsing. Use the explicit 1-4i input in the worksheet; the malformed source example remains unresolved.
Row 5 has a separate limit: its mathematical imaginary coefficient is zero, but the checked help does not demonstrate that precise string. Keep this row as a parser check rather than assuming an undocumented representation must be accepted.
Advanced: extract and classify reactance measurements
Create a separate sheet named Coefficients. In A1:H1 enter Real input, Imaginary input, Complex, Imaginary check, Real check, Magnitude, Sign and Squared difference. Enter 12 in A2:A5 and -5, -2, 0, 5 in B2:B5 respectively.
Enter these formulas in row 2, then fill C2:H2 through row 5:
| Cell | Formula |
|---|---|
| C2 | =COMPLEX(A2;B2;"j") |
| D2 | =IMAGINARY(C2) |
| E2 | =IMREAL(C2) |
| F2 | =IMABS(C2) |
| G2 | =IF(D2<0;"negative";"nonnegative") |
| H2 | =F2^2-(E2^2+D2^2) |
| Row | Expected D | Expected E | Expected F, rounded to 9 decimals | Expected G |
|---|---|---|---|---|
| 2 | -5 | 12 | 13 | negative |
| 3 | -2 | 12 | 12.165525061 | negative |
| 4 | 0 | 12 | 12 | nonnegative |
| 5 | 5 | 12 | 13 | nonnegative |
H compares the squared magnitude with the sum of the squared components. Its mathematical target is 0 in every row. For the non-integer magnitude in row 3, a small floating-point residue can occur; a tolerance such as 0.000000001 is suitable for this small example rather than an exact text comparison. Row 4 uses a value built by COMPLEX, so the exercise does not require a particular all-real display spelling.
Measure a component change without calling it a total change
Still on Coefficients, put =D3-D2 in J2. The expected result is 3, because the imaginary coefficient changes from −5 to −2. Put =F3-F2 in J3; expect approximately -0.834474939, the change in magnitude.
The signs differ for a reason: the imaginary coordinate increases while the distance from zero decreases. Neither formula reports the full complex displacement. Preserve the signed numeric component even when a summary flag such as negative is useful for filtering.
Troubleshooting and limitations
- Lost sign: A cleanup step that removes minus signs changes the coordinate. Do not replace IMAGINARY with ABS when direction matters.
- Invalid type: The reference lists invalid argument types under
#VALUE!, but does not enumerate the result of every malformed string. - Formula/reference errors: Check spelling, quoted literals and valid cell references for the documented
#NAME!and#REF!categories. - Undocumented parser cases: Blank cells, spaces, uppercase suffixes and suffix-free strings are not established by this short reference. The generic error table is not a complete input/output specification.
The multi-argument formulas use the English help’s semicolon convention. Keep source data and coefficient checks when moving a workbook between editors; matching names do not establish equivalent text parsing.