Excel 16.0 build 20430
Windows, 64-bit, CPU not recorded
1,209 captured inputs are indexed for this environment. Capture dates: 2026-09-29 to 2026-09-29. This is a reading count, not a comparison with another build.
Engineering functions
Matches all 1,212 recorded answers
Recorded: 1,209 in the answer bank and 3 workbook cells. How we measure this · See the Rust code
No local names are recorded for this entry.
IMAGINARY(inumber)
IMAGINARY(inumber) returns the imaginary coefficient of a complex number a+bi. Unlike functions that return complex text, this function returns a real worksheet number.
=IMAGINARY("2-3i") returns -3; =IMAGINARY("-j") returns -1. A real-only input such as =IMAGINARY(7) returns zero. The answer is the signed coefficient, without its suffix.
A pure imaginary unit has an implicit coefficient of one; -i and -j have coefficient minus one. A real-only input has coefficient zero. The current parser rejects malformed text with #NUM! and the wrapper rejects logical values with #VALUE!. Fifteen-leading-digit text conversion is separate from the numeric result, so long coefficient strings need their own parsing tests.
Admit a numeric scalar as (value,0). For text, recognize lowercase i or j, locate the component separator without splitting an exponent sign, and parse the two decimal coefficients. An absent real part means zero; a suffix with no magnitude means one, with its written sign.
Return the imaginary coefficient as a numeric value. For 2-3i, the parsed pair is (2,-3) and the output is minus three. For -j, the pair is (0,-1). No multiplication, modulus or complex-text formatting is needed after parsing. Use the source parser's fifteen-leading-digit conversion when reproducing its text route, rather than silently admitting the full precision of a different language parser.
Quoted from the public repository DnaCalc/DnaCalc, crates calc-func and calc-fml, at commit 9e1884369a67. Comments are the source's own. A kernel shared with other functions appears once, on its module page.
IMAGINARY · 1 lines · calc-func/src/catalogue/engineering.rs on GitHub32 imaginary "IMAGINARY" (1, 1) [V "inumber"] |s, a, sv| { complex_number(s, a, |z| Ok(z.im)) }
complex_of catalogue/engineeringcomplex_number catalogue/engineeringparse_ascii_decimal_15 ported/complex_familyParsedComplex::new ported/complex_familynormalize_zero ported/complex_familyparse_real_number ported/complex_familyfind_real_imag_split ported/complex_familyparse_imag_coeff ported/complex_familyparse_complex_text ported/complex_familyNo implementation has been published with a Handbook test suite for this function.
The recorded environments below distinguish a reading from a same-input comparison. Counts describe captured inputs in each environment; overlapping captures and comparisons are not totals of unique worksheet calls.
| Excel 16.0 build | Platform and CPU | Captured inputs |
|---|---|---|
| 20430 | Windows, 64-bit, CPU not recorded | 1,209 |
The record contains no same-input comparison between these environments. Reading different inputs on different builds does not establish either a version change or cross-build agreement.
Recorded environments and comparison details.
Windows, 64-bit, CPU not recorded
1,209 captured inputs are indexed for this environment. Capture dates: 2026-09-29 to 2026-09-29. This is a reading count, not a comparison with another build.
IMREAL extracts the real coefficient. COMPLEX assembles a pair, while IMCONJUGATE changes the imaginary sign and returns complex text.
No named variants are recorded yet.
Suggest a correction or contribute an implementation · For agents