Get the imaginary part of a complex number
=IMAGINARY(inumber)
| Parameter | Description |
|---|---|
inumber |
The string representing a complex number. |
The Excel IMAGINARY function returns the imaginary part of a complex number. For example:
=IMAGINARY("4+3i") // returns 3
The IMAGINARY function returns the vertical component of the complex number.
=IMAGINARY("2-5i") // returns -5