Formula Guide

The Excel SIGN Function
explained simply

SIGN returns 1 for a positive number, -1 for negative, and 0 for zero — a quick way to test direction.

ExcelPro · 3 min read · Updated June 2026
Contents
  1. What does SIGN do?
  2. Syntax
  3. 3 examples
  4. FAQ

What does SIGN do?

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.

Syntax

=SIGN(number)
ArgumentDescription
number requiredThe number to test.

Examples

Example 1
Positive number
=SIGN(45)

Returns 1.

Example 2
Negative number
=SIGN(-12)

Returns -1.

Example 3
Flag direction of change
=IF(SIGN(B2-C2)=1,"Increase","Decrease")

Compares two values and labels the direction of change using SIGN instead of a longer comparison.

Common mistakes

⚠️ Forgetting SIGN(0) is 0, not 1 or -1

Zero is its own case — code that only checks for 1 or -1 will silently miss it.

FAQ

Is SIGN the same as just checking >0?
SIGN gives you a usable number (1, -1, 0) you can multiply or compare directly, rather than just a TRUE/FALSE.

Practise Excel with real data

ExcelPro has 700+ hands-on Excel exercises across 7 career tracks — free to start, no download needed.

Start practicing free →

Related formulas

ABS IF ISEVEN