
The IMSUB function in Excel is used to perform subtraction on complex numbers. Here’s how you can use it:
Syntax:
IMSUB(inumber1, inumber2)
- inumber1: The complex number from which you want to subtract inumber2.
- inumber2: The complex number that you want to subtract from inumber1.
Important Notes:
- Complex numbers in Excel are usually presented as text in the form of “a+bi” or “a+bj” where “a” is the real part and “b” is the imaginary part.
- Both arguments (inumber1 and inumber2) can be directly input as strings (e.g., “3+4i”) or as cell references containing complex numbers.
Steps to Use IMSUB:
- Prepare your Data: Ensure that the complex numbers are correctly formatted. For example, use “3+4i” for a complex number where 3 is the real part and 4 is the imaginary part.
- Enter the Function:
- Click on the cell where you want the result to appear.
- Type `=IMSUB()` and within the parentheses, input your two complex numbers or their cell references.
- Example:
Suppose you have two complex numbers in Excel: A1 contains “5+6i” and A2 contains “2+3i”.
=IMSUB(A1, A2)
Tips:
- Ensure complex numbers are input as text with the appropriate format (avoid missing the ‘i’ or ‘j’ to denote the imaginary part).
- If you are having trouble with formatting, Excel’s `COMPLEX` function can convert real and imaginary parts into a valid complex number.
The IMSUB function is useful in engineering, physics, and other technical fields where complex number calculations are common.