Returns the sign of a number. Returns 1 if the number is positive, -1 if negative, and 0 if zero.
Syntax
Examples
|
Formula |
Result |
|
=SIGN(23) |
1 |
|
=SIGN(-3.2) |
-1 |
|
=SIGN(0) |
0 |
Possible Errors
|
Errors |
Meaning |
|
#N/A! |
|
|
#NAME! |
|
|
#VALUE! |
|
|
#REF! |
|