=COMPLEX(real_num, i_num, [suffix])One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.
Need more than a single COMPLEX formula? Try our free AI for Excel — it reads your entire spreadsheet, answers questions in plain English, and builds charts and analysis in the same chat.
real_num:
The real number component of the complex number you want to create.
i_num:
The imaginary number component of the complex number you want to create.
suffix:
An optional text string that specifies the suffix to append to the imaginary part of the complex number. If omitted, the default suffix "i" is used.
The COMPLEX function in Excel is a useful tool that allows you to convert real and imaginary coefficients into a complex number in the form of "x + yi". This function is particularly helpful in mathematical and engineering applications where complex numbers are frequently used.
In simpler terms, the COMPLEX function helps you create complex numbers from their real and imaginary parts, making it easier to perform calculations involving complex numbers.
Imagine you are working on a project that involves electrical engineering, and you need to represent impedance values as complex numbers. You have the following data in an Excel spreadsheet:
| Resistance (Ohms) | Reactance (Ohms) |
|---|---|
| 4 | 3 |
| 5 | 2 |
| 6 | 1 |
| 7 | 0 |
| 8 | -1 |
You want to convert these resistance and reactance values into complex numbers.
To convert the resistance and reactance values into complex numbers, you would use the COMPLEX formula as follows:
=COMPLEX(A2, B2)When you apply the formula to the first row, it converts the resistance and reactance values into a complex number. The output would be:
| Complex Impedance |
|---|
| 4 + 3i |
Here, the complex impedance is represented as 4 + 3i, where 4 is the resistance and 3 is the reactance.
The COMPLEX function is particularly useful when you need to work with complex numbers in calculations, such as in electrical engineering, physics, or any field that involves waveforms and alternating currents. It allows you to easily create and manipulate complex numbers without manually formatting them.
Understanding how to use the COMPLEX function can significantly enhance your mathematical capabilities in Excel, enabling you to work effectively with complex numbers in your datasets.
Happy calculating!
You have a table where Column A contains the names of different products and Column B contains their corresponding sales figures represented in different currencies (e.g., USD, EUR, GBP). You can use the COMPLEX function to convert the sales figures into a complex number format, allowing you to represent both the amount and the currency in a single cell. This can be useful for financial analysis and reporting, as it simplifies the presentation of multi-currency sales data without the need for separate columns for currency type.
Beyond the COMPLEX function: Better Analyst is a full Excel AI that goes well past individual formulas. Upload any spreadsheet and ask questions in plain English — you'll get formulas, data analysis, and charts back in seconds. It's a free AI Excel assistant that works with any .xlsx, .xls, or .csv file — no plugins, no Microsoft 365 required.
Don't have a spreadsheet yet? Use our free AI spreadsheet generator to turn a text prompt into a downloadable Excel file — a full AI Excel sheet maker that builds headers, columns, and formulas from your description.
Create a free account for formula help, explanations, and spreadsheet analysis. Usage limits depend on your plan.
Browse our complete library of Excel formula guides
Compare your options
Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.
AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.