ReferenceFunctionsEngineering Functions
IMSUB
IMSUB: Returns the difference between two complex numbers.
Summary
Subtracts the second complex value from the first.
Remarks
- Inputs are coerced to complex-number text before parsing.
- Output keeps the suffix style from the parsed inputs.
- Invalid complex text returns
#NUM!.
Examples
Subtract a+bi values
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
3+2i
Subtract pure imaginary from real
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
4-7j
Related functions
FAQ
How is subtraction ordered in IMSUB?
It always computes inumber1 - inumber2; swapping arguments changes the sign of the result.
Runtime metadata
Category
Engineering
Signature
IMSUB(arg1: Any, arg2: Any)Arity
min 2, max 2
Arguments
arg1Any · Scalar
arg2Any · Scalar
Caps
PURE
Source