Engineering All versions ◉ 27 views

=COMPLEX()

Converts real and imaginary coefficients into a complex number of the form x + yi or x + yj.

Applies To: Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for MacExcel 2021Excel 2021 for MacExcel 2019Excel 2016
=COMPLEX(real_num, i_num, [suffix])
Hover argument names in the table for details.
Output typeNumber/Text
Popularity40 / 100
VolatileNo
Dynamic ArrayNo
Download sample .xlsx ▦ Try in Playground Dedicated file for this function — safe & lightweight · sample data + live formulas
Share:

⬇ Download Sample Workbook

A dedicated .xlsx for =COMPLEX() with Persian sample data & live formulas — open in Excel and practice.

  • Sheet “Sample” — data table + formula in place
  • Sheet “Guide” — syntax, arguments & tips from this page
  • Instant & secure (token + rate limit)
Download COMPLEX.xlsx ~ 8–12 KB · No macros

⇪ Share

Send this function to friends

Quiz this function

%d questions — syntax, example & errors — test yourself!

◧ Arguments

ArgumentTypeRequiredDescription
real_num Number Required The real coefficient of the complex number.
i_num Number Required The imaginary coefficient of the complex number.
suffix Text Optional The suffix for the imaginary component of the complex number. If omitted, suffix is assumed to be "i".

▣ Examples

Complex number with 3 and 4 as the real and imaginary coefficients =COMPLEX(3,4)
Result: 3+4i
Complex number with 3 and 4 as the real and imaginary coefficients, and j as the suffix =COMPLEX(3,4,"j")
Result: 3+4j
Complex number with 0 and 1 as the real and imaginary coefficients =COMPLEX(0,1)
Result: i
Complex number with 1 and 0 as the real and imaginary coefficients =COMPLEX(1,0)
Result: 1

§ Remarks

  • If real_num is nonnumeric, COMPLEX returns the #VALUE! error value.
  • If i_num is nonnumeric, COMPLEX returns the #VALUE! error value.
  • If suffix is neither "i" nor "j", COMPLEX returns the #VALUE! error value.

⚠ Common Errors

#VALUE! If real_num is nonnumeric, COMPLEX returns the #VALUE! error value. If i_num is nonnumeric, COMPLEX returns the #VALUE! error value. If suffix is neither "i" nor "j", COMPLEX returns the #VALUE! error value.
Fix: Enter "i" or "j"

💬 Comments & Q&A 0 approved

🔒 Your comment will be published after review.

Share your thoughts — visible after admin approval

No comments yet — be the first!

✍️ Add comment / question

captcha
🔒 Your comment will be published after review.