Syntax
=UMINUS(value)Arguments
| Argument | Required | Description |
|---|---|---|
value | Required | The number |
How to use UMINUS
UMINUS takes 1 required argument. Type =UMINUS( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.
Examples
Each result below was calculated by the SheetsBat formula engine.
=UMINUS(4)Result =UMINUS(-1.5)Result Related math functions
- SUMPRODUCTMultiplies matching items of arrays or ranges and returns the sum of those products.
- SUMSQReturns the sum of the squares of the numbers.
- SUMX2MY2Returns the sum of the differences of the squares of matching values in two arrays.
- SUMX2PY2Returns the sum of the sums of the squares of matching values in two arrays.
- SUMXMY2Returns the sum of the squares of the differences of matching values in two arrays.
- TANReturns the tangent of an angle given in radians.
- TANHReturns the hyperbolic tangent of a number.
- TRUNCCuts a number down to a given number of digits by removing the rest.
- UNARY_PERCENTReturns a number divided by 100, like the % operator.