1. Home
  2. Functions
  3. Engineering
  4. COMPLEX

COMPLEX function

Builds a complex number as text from its real and imaginary parts.

Syntax

=COMPLEX(real_num, i_num, [suffix])

Arguments

ArgumentRequiredDescription
real_numRequiredThe real part
i_numRequiredThe imaginary part
suffixOptional"i" (default) or "j"

How to use COMPLEX

COMPLEX takes 2 required arguments and 1 optional argument. Type =COMPLEX( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=COMPLEX(3, 4)Result "3+4i"
=COMPLEX(3, 4, "j")Result "3+4j"
=COMPLEX(0, 1)Result "i"

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.