1. Home
  2. Functions
  3. Math
  4. SIGN

SIGN function

Returns 1 for a positive number, -1 for a negative number and 0 for zero.

Syntax

=SIGN(number)

Arguments

ArgumentRequiredDescription
numberRequiredThe number

How to use SIGN

SIGN takes 1 required argument. Type =SIGN( 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.

=SIGN(10)Result 1
=SIGN(-0.00001)Result -1
=SIGN(0)Result 0

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.