[Table of Contents] [docx version]

SpreadsheetML Reference Material - Table of Contents

IMAGINARY

Syntax:

IMAGINARY ( complex-number )

Description: Computes the imaginary coefficient of complex-number.

Arguments:

Name

Type

Description

complex-number

text

The complex number for which the imaginary coefficient is being computed. complex-number shall be in x + yi or x + yj text format.

 

Return Type and Value: number – The imaginary coefficient of complex-number.

However, if complex-number is ill-formed, #NUM! is returned.

[Example:

IMAGINARY("3+4i") results in 4
IMAGINARY("-2.5-34.6j") results in 34.6

end example]