How to use IMREAL Function in Excel

The Excel IMREAL function returns the real coefficient of a complex number in the form x + yi or x + yj

Syntax:= =IMREAL (inumber)

The IMREAL function syntax has the following arguments:

  • Inumber: Required. A complex number for which you want the real coefficient

Example: Let’s look at some Excel IMREAL function examples and explore how to use the IMREAL function as a worksheet function in Microsoft Excel:

Syntax:  =IMREAL(A2)

Result:

Based on the Excel spreadsheet above, the following IMREAL examples would return:

Syntax: =IMREAL(A3)
Result: 1

Syntax: =IMREAL(A4)
Result: 6

Syntax: =IMREAL(A5)
Result: 2.5

Syntax: =IMREAL(A6)
Result: 4

Syntax: =IMREAL(A7)
Result: 0

Syntax: =IMREAL(A8)
Result: 9

Syntax: =IMREAL(A9)
Result: 4

Syntax: =IMREAL(A10)
Result: 6

Syntax: =IMREAL(A11)
Result: 5

Syntax: =IMREAL(A12)
Result: 10

Syntax: =IMREAL(A13)
Result: 23

Note:

  • Complex Numbers in Excel are simply stored as text.
  • When a text string in the format “a + bi” or “a + bj” is supplied to one of Excel’s built-in Complex Number Functions, this is interpreted as a complex number.
  • The complex number functions can accept a simple numeric value, as this is equivalent to a complex number whose imaginary coefficient is equal to 0.
  • Use COMPLEX to convert real and imaginary coefficients into a complex number.
  • If inumber is not recognized as a complex number, IMREAL returns the #NUM! error.
  • If inumber is a logical value, IMREAL returns the #VALUE! error.

Add a Comment

Your email address will not be published. Required fields are marked *