Excel IMARGUMENT Function
The IMARGUMENT function returns the angle expressed in radians, known as the argument θ (theta), of a given complex number in x + yi or x + yj text format.
The IMARGUMENT function returns a numeric value.
- inumber can be supplied as any of the following:
- A real number whose imaginary part is 0, e.g., 1 is a complex number 1+0i; Or a purely imaginary number whose real part is 0, e.g., i is a complex number 0 + 1i;
- A cell reference that refers to a complex number;
- A complex number enclosed in double quotation marks.
- inumber can be returned by the COMPLEX function which converts real and imaginary coefficients into a complex number.
- IMARGUMENT will return the #NUM! error if inumber is not recognized as a complex number that has lowercase i or j (iota).
- IMARGUMENT will return the #VALUE! error if inumber is a logical value.
- To have the result shown in degrees, multiply the result by 180/PI(), i.e., IMARGUMENT(inumber)*180/PI().
To calculate the theta argument in radians of the complex numbers listed in the below table, please copy or enter the formula below in the top cell, press Enter to get the result, and then drag the fill handle (at the lower right corner of the result cell) down to apply the formula to below cells.
Also, you can type the actual complex number in the formula as shown below. Make sure the complex number is enclosed with double quotes: