SIGN returns 1 for a positive number, -1 for negative, and 0 for zero — a quick way to test direction.
SIGN looks at a number and returns 1 if it is positive, -1 if it is negative, and 0 if it is exactly zero.
It is a clean way to check the direction of a value (gain vs loss, over vs under) without writing a longer IF statement.
=SIGN(number)| Argument | Description |
|---|---|
| number required | The number to test. |
=SIGN(45)Returns 1.
=SIGN(-12)Returns -1.
=IF(SIGN(B2-C2)=1,"Increase","Decrease")Compares two values and labels the direction of change using SIGN instead of a longer comparison.
Zero is its own case — code that only checks for 1 or -1 will silently miss it.
ExcelPro has 700+ hands-on Excel exercises across 7 career tracks — free to start, no download needed.
Start practicing free →