
The `IMABS` function in Excel is used to calculate the absolute value (or modulus) of a complex number. The absolute value of a complex number is the distance of the point represented by the complex number from the origin in the complex plane.
Syntax
IMABS(inumber)
- inumber: This argument is required. It is the complex number for which you want the absolute value. This can be given as a text in the form “a+bi” or as a result of the `COMPLEX` function.
Usage
=IMABS("3+4i")
=IMABS(A1)
=IMABS(COMPLEX(3, 4))
- Using Direct Input:
- If you have the complex number as a text string, for example, `3+4i`, you can directly input this into the function:
- This will return `5`, because the absolute value of the complex number `3+4i` is calculated as the square root of (3² + 4²), which is 5.
- Using a Cell Reference:
- If the complex number is in a cell, say `A1`, you can use:
- Ensure that the cell `A1` contains a valid complex number format like `3+4i`.
- Using the COMPLEX Function:
- You can use `COMPLEX` to create the complex number and then use `IMABS`:
- The `COMPLEX` function takes two arguments – the real part and the imaginary part, respectively.
Notes
- Make sure the complex number is in the format recognized by Excel (e.g., “a+bi” or “a-bi”).
- The result of `IMABS` is always a positive number or zero, since it represents the magnitude.
By using the `IMABS` function correctly, you can efficiently handle operations that involve complex numbers in Excel, particularly in scientific, engineering, or mathematical computations.