The Excel IMARGUMENT Function

Basic Description

The Excel IMARGUMENT function returns the argument θ, (an angle expressed in radians), of a supplied complex number.

θ is the angle that satisfies the following equation:

Equation for the angle θ of a complex number

The syntax of the Imargument function is :

IMARGUMENT( inumber )

where the inumber argument is a complex number.

Excel Imargument Function Examples

The spreadsheet below shows examples of the Excel Imargument function, used find the angle θ, of several complex numbers. For each of the examples, the complex numbers are supplied to the function in different ways.

The spreadsheet on the left shows the formulas and the spreadsheet on the right shows the results.

  A B
1 5+2i =IMARGUMENT( A1 )
2   =IMARGUMENT( "2-i" )
3   =IMARGUMENT( 6 )
4   =IMARGUMENT( "3i" )
5   =IMARGUMENT( COMPLEX( 4, 1 ) )
  A B
1 5+2i 0.380506377
2   -0.463647609
3   0
4   1.570796327
5   0.244978663

Further information on the Excel Imargument function can be found on the Microsoft Office website.

Imargument Function Errors

If you get an error from the Excel Imargument Function, this is likely to be one of the following:

Common Errors
#NUM! - Occurs if the supplied inumber argument is not recognised as a complex number
#NAME? -

Occurs when Analysis ToolPak add-in is not enabled in your Excel.
You will need to enable the add-in if you want to use the Excel complex number functions.

  +   Show How to Do This in Excel 2003:

  +   Show How to Do This in Excel 2007:

  +   Show How to Do This in Excel 2010 or Excel 2013:

Return to the Excel Engineering Functions Page

Return to the List of All Built-In Excel Functions