Zoho Sheet COMPLEX: Create Complex Numbers with i or j
Learn Zoho Sheet COMPLEX syntax, the optional i/j suffix, repeatable examples, safe formula composition and troubleshooting.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer. =COMPLEX(2;3;"j") creates 2+3j from the real coefficient 2 and imaginary coefficient 3. Use COMPLEX when measurements arrive in two numeric columns and another complex-number function needs their combined 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 COMPLEX reference. Documentation and independent numerical checks; no native Zoho Sheet test.
Syntax, coefficients and the default suffix
=COMPLEX(real; imaginary; [suffix])
The first two arguments are required numeric coefficients. The optional third argument selects lowercase "i" or "j"; omitting it selects i. The suffix identifies the imaginary unit, whose square is −1. It is not a third coefficient or a physical unit such as ohms.
The notation a+bi contains a real part a and an imaginary coefficient b. A negative b appears with a minus sign. Zoho’s examples also shorten a zero real part: =COMPLEX(0;5;"j") gives 5j, rather than requiring a visible 0+ prefix. The help does not define a separate underlying complex cell datatype.
Build the three documented examples
Create a new sheet named Basic. Enter Real, Imaginary, Suffix and Complex in A1:D1. Put these values in A2:C4. Enter plain j in the suffix cells, without quotation marks.
| Row | A: Real | B: Imaginary | C: Suffix | Formula to enter in D | Expected D |
|---|---|---|---|---|---|
| 2 | 2 | 3 | j | =COMPLEX(A2;B2;C2) |
2+3j |
| 3 | 1 | -4 | Leave empty | =COMPLEX(A3;B3) |
1-4i |
| 4 | 0 | 5 | j | =COMPLEX(A4;B4;C4) |
5j |
Enter the three formulas separately. Row 3 intentionally uses two arguments. Passing an empty C3 as a third argument is not the same instruction as omitting the argument; the reference does not establish blank-suffix behavior.
These values reproduce Zoho’s constant examples with cell references. For a direct comparison, put =COMPLEX(1;-4) in F2. Its documented result is 1-4i. Keep the numeric inputs intact so that changing a coefficient updates the constructed value.
Extract the components to check the result
On Basic, add Real check, Imaginary check and Magnitude in G1:I1. Enter =IMREAL(D2) in G2, =IMAGINARY(D2) in H2 and =IMABS(D2) in I2. Fill G2:I2 through row 4.
| Row | Expected G | Expected H | Expected I, rounded to 9 decimals |
|---|---|---|---|
| 2 | 2 | 3 | 3.605551275 |
| 3 | 1 | -4 | 4.123105626 |
| 4 | 0 | 5 | 5 |
The magnitude follows (a²+b²)^0.5; it is not the sum of the coefficients. For example, 2+3j has magnitude √13, not 5. Reading both components is more useful than testing whether a displayed result includes the exact string 0+.
Advanced: a reusable impedance input table
Create a separate sheet named Impedance so the Basic dataset stays unchanged. In A1:I1 enter Resistance, Reactance, Suffix, Complex, Real check, Imaginary check, Magnitude, Arithmetic magnitude and Unit. Enter the following A:C values and the text ohms in I2:I4:
| Row | A | B | C |
|---|---|---|---|
| 2 | 3 | 4 | j |
| 3 | 3 | -4 | j |
| 4 | 6 | 8 | j |
Enter D2 =COMPLEX(A2;B2;C2), E2 =IMREAL(D2), F2 =IMAGINARY(D2), G2 =IMABS(D2) and H2 =(A2^2+B2^2)^0.5. Fill D2:H2 through row 4.
Expected complex representations are 3+4j, 3-4j and 6+8j. E reproduces 3, 3, 6; F reproduces 4, -4, 8; both G and H give 5, 5, 10. The first two measurements have equal magnitude but opposite reactance signs. Keeping both numeric components prevents that distinction from disappearing in a magnitude-only report.
The unit column is essential context supplied by the worksheet designer. COMPLEX does not establish that its inputs really are impedance measurements or that different rows use compatible units. For decimal measurements, compare component and magnitude checks with a suitable tolerance instead of demanding identical displayed text.
Errors and practical limits
- Invalid suffix: Zoho explicitly lists a suffix other than i or j under
#VALUE!; use lowercase and quote literal suffixes inside formulas. - Wrong input type: Keep numeric coefficients separate from labels such as
3 ohms. The reference lists invalid types under#VALUE!but does not provide a complete coercion table. - Broken formula or reference: Inspect spelling, quoted text and deleted input cells when diagnosing the documented
#NAME!or#REF!categories. - Zero and formatting: The exact all-zero representation, blank inputs and unusual decimal-string formats are not established here. Compare extracted numeric parts where their values matter more than spelling.
The English help uses semicolons. Follow the formula helper for your workbook’s regional settings. After exchanging a file with another editor, compare the original coefficient columns as well as the complex results; a matching function name alone does not establish parser parity.
Related functions
Sources
Zoho COMPLEX, IMREAL, IMAGINARY and IMABS.