TX Sheet Control

COMPLEX Function

Function

Convert a real and an imaginary coefficient into a complex number. real_num is the real coefficient, i_num the imaginary coefficient and suffix the imaginary unit, "i" (the default) or "j"; any other suffix, including an uppercase "I", returns #VALUE!, and so does a coefficient that is not a number. The result is text of the form x+yi, which the IM functions such as IMSUM and IMABS accept. A coefficient of 0 is left out, so COMPLEX(2,0) returns "2".

Syntax

COMPLEX(real_num, i_num, suffix)

Category: Engineering. Minimum arguments: 2. Maximum arguments: 3.

Available for supported offline calculation.

Examples

=COMPLEX(2,3)

The formula returns "2+3i".

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also