Summary

The Excel IMSUB function returns the difference between two complex numbers. Complex numbers must be in the form x + yi or x + yj. Use the COMPLEX function to create complex numbers

Purpose 

Get difference between two complex numbers

Return value 

Difference between complex numbers as text

Syntax

=IMSUB(inumber1,inumber2)
  • inumber1 - Complex number 1.
  • inumber2 - Complex number 2.

How to use 

The IMSUB function gets the difference between two complex numbers in the form x + yi or x + yj. For example:

=IMSUB("1+2i",3) // returns "-2+2i"
=IMSUB("3+4i","1+2i") // returns "4i"

In the example shown, the formula in D6, copied down, is:

=IMSUB(B6,C6)
Dave Bruns Profile Picture

AuthorMicrosoft Most Valuable Professional Award

Dave Bruns

Hi - I'm Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.