Zoho Sheet IMREAL: Extract the Real Component
Learn IMREAL syntax with complex-number examples, engineering checks, error handling and documented limitations.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer. =IMREAL("2+3j") returns 2, the real coefficient. This is useful when a source file combines two components into complex-number text and you need the real coordinate in its own numeric column.
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 IMREAL reference. Documentation and independent numerical checks; no native Zoho Sheet test.
Syntax and meaning
=IMREAL(complex_number)
The required argument is text representing a complex number, supplied as a quoted literal or a cell reference. Zoho documents i and j forms. There are no optional modes or additional arguments.
For a+bi, the result is a, including its sign. A pure imaginary value such as 5j has real coefficient zero. That zero is a meaningful coordinate, not an indication that the function failed. IMREAL does not calculate the full magnitude or remove the sign from a negative real coefficient.
Worksheet: extract the real coordinate
Create a new sheet named Parts. Enter Complex text and Real component in A1:B1. Put the following strings into A2:A5 as text, without enclosing quote characters. Enter =IMREAL(A2) in B2 and fill through B5.
| Row | A: Complex text | Expected B | Basis |
|---|---|---|---|
| 2 | 2+3j | 2 | Zoho’s constant example |
| 3 | 1-4i | 1 | Zoho’s constant example |
| 4 | 5j | 0 | Zoho’s constant example |
| 5 | -3+4i | -3 | Signed-coordinate calculation |
For a direct literal control, put =IMREAL("2+3j") in D2; its documented result is 2. In the fill-down formula, A2 is a reference. Writing "A2" would instead pass the text A2 to the parser.
Add Imaginary coefficient and Magnitude in E1:F1. Enter =IMAGINARY(A2) in E2 and =IMABS(A2) in F2; fill E2:F2 through row 5. Expected E values are 3, -4, 5, 4, while F values are approximately 3.605551275, 4.123105626, 5, 5. This makes the distinction visible: the real component can be smaller than the magnitude or negative.
Advanced: reconstruct components without overwriting the source
Create a separate sheet named Components. Enter Real input, Imaginary input, Complex, Extracted real, Extracted imaginary and Real difference in A1:F1. Fill A2:B5 with these pairs:
| Row | A | B |
|---|---|---|
| 2 | 2 | 3 |
| 3 | 1 | -4 |
| 4 | 0 | 5 |
| 5 | -3 | 4 |
Enter C2 =COMPLEX(A2;B2;"j"), D2 =IMREAL(C2), E2 =IMAGINARY(C2) and F2 =D2-A2. Fill C2:F2 through row 5. D should reproduce 2, 1, 0, -3; E should reproduce 3, -4, 5, 4; all four differences in F should be 0 for these integer inputs.
This checks construction and extraction together. Preserve the original two columns as an independent comparison. If every raw input is replaced by a constructed value, the worksheet loses the evidence needed to diagnose a mismatch.
A component threshold is different from a magnitude threshold
On a third sheet named Limits, enter Complex input, Limit, Real limit exceeded and Magnitude limit exceeded in A1:D1. Put 2+3j, -3+4i, 5j in A2:A4 and 2.5 in every B cell from B2 to B4.
Enter =ABS(IMREAL(A2))>B2 in C2 and =IMABS(A2)>B2 in D2. Fill C2:D2 through row 4.
| Row | Expected C | Expected D |
|---|---|---|
| 2 | FALSE | TRUE |
| 3 | TRUE | TRUE |
| 4 | FALSE | TRUE |
The first rule asks whether the size of the real coordinate exceeds 2.5. The second asks whether the entire vector is longer than 2.5. For 5j, the real-coordinate test is false because the real part is zero, even though the full magnitude is 5. Choose the rule that matches the quantity your model actually limits.
ABS is intentional in C: a real coefficient of −3 should exceed an absolute limit of 2.5. Omitting ABS would test signed position instead. Keep the limit’s units consistent with the inputs; the formula cannot validate those units.
Troubleshooting and boundaries
- Wrong metric: IMREAL extracts one signed coordinate. Use IMABS for magnitude and IMAGINARY for the other coordinate.
- Invalid input: Zoho’s shared errors include
#VALUE!for invalid argument types. Check raw text, suffixes and appended measurement labels before changing the arithmetic. - Name or reference errors: Literal text needs quotation marks inside a formula; cell references do not. Repair deleted references rather than quoting their old addresses.
- Unusual strings: The short reference does not fully specify uppercase suffixes, spaces, exponential notation, blanks or locale-dependent numeric strings. No exact error code is assigned to those unestablished cases here.
After import, retain the raw text alongside the extracted components. A familiar function name does not establish identical parsing in another spreadsheet editor. The semicolons in the multi-argument examples follow Zoho’s English help; use the editor’s formula helper if regional settings differ.