# The Excel IMEXP Function

Related Function:
IMLN Function
Exponential of a Complex Number

The exponential of a complex number is calculated by the equation: See Wikipedia for further information on complex numbers.

## Function Description

The Excel Imexp function returns the exponential of a supplied complex number.

The syntax of the function is:

IMEXP( inumber )

where the inumber argument is the complex number that you want the exponential of.

### Complex Numbers in Excel

Note that complex numbers are simply stored as text in Excel. When a text string in the format "a+bi" or "a+bj" is supplied to one of Excel's built-in complex number functions, this is interpreted as a complex number.

Also the complex number functions can accept a simple numeric value, as this is equivalent to a complex number whose imaginary coefficient is equal to 0.

Therefore, the inumber argument can be supplied to the Excel Imexp function as any of the following:

• A simple number;
• A complex number encased in quotation marks - e.g. "5+3i";
• A reference to a cell containing a complex number or a numeric value;
• A value returned from another Excel function or formula.

## Imexp Function Examples

The spreadsheets below show four examples of the Imexp function:

Formulas:
AB
1 =IMEXP( 2 )
2 =IMEXP( "1-2i" )
32.5-i=IMEXP( A3 )
4 =IMEXP( COMPLEX( 1, -1 ) )
Results:
AB
1 7.38905609893065
2 -1.13120438375681-2.47172667200482i
32.5-i6.58222957819277-10.2512151905294i
4 1.46869393991589-2.28735528717884i

Note that, in the above example spreadsheet:

• The integer 2, used in cell B1, is equal to the complex number 2+0i;
• The example in cell B4 uses the Excel Complex Function to create the complex number 1-i.

Further details and examples of the Excel Imexp function are provided on the Microsoft Office website

## Imexp Function Errors

If you get an error from the Excel Imexp 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. #VALUE! - Occurs if the supplied inumber argument is a logical value.