IMREAL Function
Return the real coefficient of a complex number. inumber is the complex number, as text in the form x+yi or x+yj, or a real number, which is returned unchanged; a purely imaginary number such as "3i" returns 0. Text that is not a valid complex number returns #NUM!.
Syntax
IMREAL(inumber)
Category: Engineering. Minimum arguments: 1. Maximum arguments: 1.
Available for supported offline calculation.
Examples
=IMREAL("2+3i")
The formula returns 2.
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.