=SIGN(number)
=SIGN(5)
The SIGN function returns 1 when given a positive number as its argument. In this example, the argument is 5, so the SIGN function will return 1.
=SIGN(-3)
The SIGN function returns -1 when given a negative number as its argument. In this example, the argument is -3, so the SIGN function will return -1.
=ABS(A1)
The ABS function returns the absolute value of a number or cell reference. In this example, the argument is A1, so the ABS function will return 3 if -3 is in A1.
The SIGN function allows users to easily determine the sign of any number; it returns 1 if the number is positive, 0 if the number is 0, and -1 if the number is negative.