Engineering function

IMDIV function

Divides one complex number by another, for example "-238+240i" ÷ "10+24i" = "5+12i".

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

IMDIV(inumber1, inumber2)
ArgumentWhat it means
inumber1RequiredThe numerator (dividend).
inumber2RequiredThe denominator (divisor). Must not be 0.

Returns: A complex number as text.

How IMDIV works

IMDIV divides two complex numbers. By hand you would multiply the top and bottom by the conjugate of the denominator to make the bottom real; IMDIV does all of that in one step.

The classic use is Ohm's law rearranged: current = voltage ÷ impedance, or impedance = voltage ÷ current, when everything has a phase. Voltage dividers, filter transfer functions and parallel impedances (Z1·Z2 / (Z1+Z2)) all need it. Dividing by 0 returns #NUM!. 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

1Divide complex numbers

C2fx=IMDIV(A2, B2)
ABC
1z1z2
2-238+240i10+24i5+12i

Result: 5+12i

Multiply top and bottom by 10−24i: the denominator becomes 676 and the numerator 3380+8112i, giving 5+12i.

2Current through an impedance

C2fx=IMDIV(A2, B2)
ABC
1Voltage (V)Impedance (Ω)
223040+30i3.68-2.76i

Result: 3.68-2.76i

I = V / Z = 230 / (40+30i) = 3.68−2.76i amps. Its size, =IMABS(C2), is 4.6 A, and the negative angle shows the current lags the voltage.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 13 KB

Common errors and how to fix them

ErrorWhy it happensFix
#NUM!The divisor is 0, or an argument is not a valid complex number.Check the denominator with IMABS(B2)=0 first.
#VALUE!The argument is a logical value, or the formula mixes the i and j suffixes.Use one suffix consistently throughout a calculation.

Tips

  • Parallel impedances: =IMDIV(IMPRODUCT(Z1,Z2), IMSUM(Z1,Z2)).

Google Sheets

IMDIV also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.

IMDIV 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.

LanguageFunction name
DanishIMAGDIV
DutchC.QUOTIENT
FinnishKOMPLEKSI.OSAM
FrenchCOMPLEXE.DIV
HungarianKÉPZ.HÁNYAD
ItalianCOMP.DIV
PolishILORAZ.LICZB.ZESP
RussianМНИМ.ДЕЛ
SpanishIM.DIV
TurkishSANBÖL