ExcelFunctions.net Logo

The Excel IMLOG2 Function

Home » Excel-Built-In-Functions » Excel-Engineering-Functions » Excel-Imlog2-Function
Search this site:
Custom Search
Related Function: 

Basic Description

The Excel IMLOG2 function calculates the base 2 logarithm of a supplied complex number

The syntax of the function is :

IMLOG2( inumber )

where the inumber argument is a complex number.


Excel Imlog2 Function Examples

In the example below, the Excel Imlog2 function is used find the base 2 logarithm of different complex numbers.

The formulas are shown in the spreadsheet on the left and the results are shown in the spreadsheet on the right.

 Formulas:
  A
1 =IMLOG2( "5+2i" )
2 =IMLOG2( "2-i" )
3 =IMLOG2( 6 )
4 =IMLOG2( "3i" )
5 =IMLOG2( "4+i" )
 Results:
  A
1 2.42899049756379+0.548954663286635i
2 1.16096404744368-0.668902106225488i
3 2.58496250072116
4 1.58496250072116+2.2661800709136i
5 2.04373142062517+0.353429502416735i

More details of the Excel Imlog2 function are provided on the Microsoft Office website.


Imlog2 Function Errors

If you get an error from the Excel Imlog2 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