COMPLEX Function in Excel: Build a Complex Number

COMPLEX Function in Excel: Build a Complex Number 1
⏱ 1 min readUpdated 5 October 2026

Complex numbersLevel: ExpertAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. COMPLEX in practice
  5. Where you will use it
  6. Worked example
  7. Mistakes people make
  8. Related functions

COMPLEX builds a complex number like 3+4i from its real and imaginary parts, as text that the IM… functions understand. Used in AC circuits (impedance) and signal processing.

Advertisement

Syntax

=COMPLEX(real_num, i_num, [suffix])
Argument What it means
real_num Real part
i_num Imaginary part
suffix “i” (default) or “j” (engineering)

Examples

Example 1

=COMPLEX(A2,B2,"j")

Result: 3+4j. See the worked example table below for more cases.

COMPLEX in practice

Where you will use it

  • Impedance of a resistor plus inductor (R + jX)
  • Phasors in AC circuits
  • Teaching complex numbers

Worked example

RealImagFormulaResult
34=COMPLEX(A2,B2,"j")3+4j
10-5=COMPLEX(A3,B3,"j")10-5j
01=COMPLEX(A4,B4,"j")j

Results calculated in Excel.

Mistakes people make

MistakeWhat to do instead
Typing 3+4i by hand with spacesWrite it without spaces: 3+4i
Mixing i and jUse one suffix throughout a model

IMREAL · IMABS · IMSUM

📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.

Advertisement
✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong