IMCONJUGATE
Returns the complex conjugate of a complex number.
Negates the imaginary coefficient and keeps the real coefficient unchanged.
The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.
Syntax
=IMCONJUGATE(inumber)
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
inumber | any | Required | — |
Return type
Can return text.
How it works
Conjugation reflects a + bi across the real axis to a − bi. Real inputs are unchanged.
Differences from Excel
The raw Formualizer text can contain more significant digits than Excel’s complex-number text. The examples round each coefficient to 15 significant digits for display.
Remarks
- Inputs are coerced to complex-number text before parsing.
- Preserves the original suffix style (
iorj) when possible.
Error cases
- Invalid complex text returns
#NUM!.
Examples
Reflect 3 + 4i to 3 − 4i across the real axis.
Formula =IMCONJUGATE("3+4i")
Expected result 3-4i
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Flip the sign of the j coefficient and keep the j suffix.
Formula =IMCONJUGATE("3-4j")
Expected result 3+4j
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
The conjugate of a real unit is unchanged.
Formula =IMCONJUGATE("1")
Expected result 1
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
The text “invalid” has no complex value from which to take the conjugate.
Formula =IMCONJUGATE("invalid")
Expected result #NUM!
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Conjugate with j suffix
Formula =IMCONJUGATE("-2j")
Expected result 2j
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Related functions
FAQ
Does IMCONJUGATE keep the i/j suffix style?
Yes. It negates only the imaginary coefficient and preserves the parsed suffix form.