ExcelFunctions.net Logo

The Excel IMARGUMENT Function

Home » Excel-Built-In-Functions » Excel-Engineering-Functions » 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.

 Formulas:
  A B
1 5+2i =IMARGUMENT( A1 )
2   =IMARGUMENT( "2-i" )
3   =IMARGUMENT( 6 )
4   =IMARGUMENT( "3i" )
5   =IMARGUMENT( COMPLEX( 4, 1 ) )
 Results:
  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 engineering functions.

To do this in Excel 2003 :

  • From the Tools drop-down menu, select the option Add-Ins ...
  • An 'Add-Ins' window will pop up. From this, select the option Analysis ToolPak and click OK

To do this in Excel 2007 or Excel 2010 :

  • Click the Microsoft button on the top left of your spreadsheet and select the Excel Options button
  • From the menu on the left hand side, select Add-Ins
  • In the 'Manage:' box, select Excel Add-ins and click Go...
  • An 'Add-Ins' window will pop up. From this, select the option Analysis ToolPak and click OK




Valid XHTML 1.0 Transitional
Disclaimer Privacy Policy

Copyright © 2008-2011 ExcelFunctions.net