IMPRODUCT function
Multiplies up to 255 complex numbers written as text, for example "3+4i" × "5-3i" = "27+11i".
Available in Excel 2007 and later (Excel 2003 needed the Analysis ToolPak add-in), Microsoft 365, Excel for the web, Excel for Mac
Excel 2007 and laterWorks in Google Sheets
Syntax
IMPRODUCT(inumber1, [inumber2], ...)| Argument | What it means | |
|---|---|---|
inumber1 | Required | The first complex number, cell or range. |
inumber2, ... | Optional | More complex numbers or ranges, up to 255 in total. |
Returns: A complex number as text.
How IMPRODUCT works
IMPRODUCT multiplies complex numbers. Multiplying (a+bi)(c+di) gives (ac − bd) + (ad + bc)i, because i² = -1; in polar terms the sizes multiply and the angles add. The function does this for you and accepts ranges, so it can also multiply a whole column of complex values.
Common uses: Ohm's law with phasors (V = I × Z), complex power (V × conjugate of I), and scaling or rotating a vector. You can mix in ordinary numbers, for example IMPRODUCT("1+2i", 30). Like all IM functions, it reads complex numbers written as text (x+yi or x+yj) and returns its answer as text with up to 15 significant digits, so you can feed the result straight into another IM function.
Examples
1Multiply two complex numbers
| A | B | C | |
|---|---|---|---|
| 1 | z1 | z2 | |
| 2 | 3+4i | 5-3i | 27+11i |
Result: 27+11i
(3+4i)(5−3i) = 15 − 9i + 20i − 12i² = 15 + 12 + 11i = 27+11i.
2Ohm's law with phasors
| A | B | C | |
|---|---|---|---|
| 1 | Current (A) | Impedance (Ω) | |
| 2 | 2-0.5i | 40+30i | 95+40i |
Result: 95+40i
V = I × Z = (2−0.5i)(40+30i) = 80 + 60i − 20i + 15 = 95+40i volts.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#NUM! | The text is not a valid complex number — for example it contains spaces (3 + 4i), a capital I, or a misplaced sign. | Create the value with COMPLEX or remove spaces with SUBSTITUTE. |
#VALUE! | The argument is a logical value, or the formula mixes the i and j suffixes. | Use one suffix consistently throughout a calculation. |
Tips
- For a square or higher power, IMPOWER is shorter — but IMPRODUCT works algebraically and does not leave the small rounding residues that IMPOWER sometimes shows.
Google Sheets
IMPRODUCT also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
IMPRODUCT in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Danish | IMAGPRODUKT |
| Dutch | C.PRODUCT |
| Finnish | KOMPLEKSI.TULO |
| French | COMPLEXE.PRODUIT |
| German | IMPRODUKT |
| Hungarian | KÉPZ.SZORZAT |
| Italian | COMP.PRODOTTO |
| Norwegian (Bokmål) | IMPRODUKT |
| Polish | ILOCZYN.LICZB.ZESP |
| Portuguese (Brazil) | IMPROD |
| Portuguese (Portugal) | IMPROD |
| Russian | МНИМ.ПРОИЗВЕД |
| Spanish | IM.PRODUCT |
| Swedish | IMPRODUKT |
| Turkish | SANÇARP |