
📎 This article includes 1 downloadable practice file ↓
In this article
SIGN returns 1 for positive, −1 for negative and 0 for zero — neat for direction arrows and counting gains vs losses.
Syntax
=SIGN(number)
| Argument | What it means |
|---|---|
number |
Any number. |
Examples
Example 1
=CHOOSE(SIGN(C2-B2)+2, "▼", "–", "▲")
Up/down/flat arrow versus last month.
Example 2
=SUMPRODUCT(--(SIGN(D2:D100)=1))
Count of positive changes.
SIGN in practice
Where you will use it
- Show up/down arrows from variance
- Direction of change
- Convert to +1/-1 multipliers
Worked example
| Variance | Formula | Result |
|---|---|---|
| 2500 | =CHOOSE(SIGN(A2)+2,"▼","–","▲") | ▲ |
| -800 | =CHOOSE(SIGN(A3)+2,"▼","–","▲") | ▼ |
| 0 | =CHOOSE(SIGN(A4)+2,"▼","–","▲") | – |
Results calculated in Excel.
Mistakes people make
| Mistake | What to do instead |
|---|---|
| Expecting text | SIGN gives -1, 0 or 1 |
| Tiny values | Round first so 0.0001 isn't +1 |
Related functions
📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.
Test formulas dynamically in our web formula laboratory or download the companion Excel workbook.
📎 Practice files for this article
- 📗Practice workbook: Math & rounding24 tasks on realistic sales data — type your formula, the Check column turns green when it is right. Answers sheet included.⬇ XLSX · 35 KB
Free to use for learning. Files with macros (.bas) are plain text — import them with Alt+F11 → File → Import File, and always test on a copy.
Atul (AJ) builds office-automation and local-first AI tools as Atulya AI, and works with Excel, SAP and Oracle EPM every day. He writes about the shortcuts, macros and automations that actually save time — plus the occasional wacky fact. Videos on YouTube: Lazy Automator AI (@LazyAutomatorAI).
More posts by Atul →Build this skill next
This page is a quick function reference. Use it for syntax, then practise the function in a broader workflow.
Stuck on a step? Ask a question and the AI answers using this article.