SIGN Function

Returns 1 for positive numbers, −1 for negative and 0 for zero.

Category

Math & Trig

Available in

All versions, Microsoft 365

Returns

1, 0 or −1

Want to practice SIGN in a real spreadsheet? Open a blank sheet in our Practice Sandbox and try it with live data, with the AI Excel tutor beside you. No Excel needed — just a free account.Try it free in the Sandbox

Overview

SIGN tells you only the direction of a number: up (1), down (−1) or flat (0).

It's handy for labelling changes or counting how many values went up.

Syntax

=SIGN(number) Explain

Arguments

ArgumentRequired?What it does
numberYesAny number.

Examples

Example 1 — Up, down or flat

Direction of each month's change.

C2fx=SIGN(B2)
ABC
1MonthChangeDirection
2Jan3501
3Feb-120-1
4Mar00
=SIGN(B2) Explain

Example 2 — Arrows

Turn the direction into a symbol.

=CHOOSE(SIGN(B2)+2, "▼", "–", "▲") Explain

Common mistakes

  • Text values. SIGN of text returns #VALUE!.

Notes

  • Related functions: ABS, IF.
Kyle Stott

Author

Kyle Stott

Certified Microsoft Excel Expert

Kyle has worked professionally with Microsoft Excel for over a decade and has consulted on and taught Excel best practices to over 400 companies across 30+ countries.