ExcelFlux

SIGN function

the sign of a number.

Math and trigonometry

Where can you use it?

Reporting, manufacturing and engineering teams. When a total, rounding step or numerical transformation is needed, use the example to see which operation fits your inputs.

Scenario in the workbook

Classify a count discrepancy as shortage, match, or surplus. Results are always −1, 0, or 1.

A worked example from the workbook

RowA
6Input
7-24
80
912
Record 1
=SIGN(A7)

Expected result-1

See the inputs and instructions for all 3 examples

Copyable formulas

English Excel · en-US
=SIGN(-24)
Turkish Excel · tr-TR
=İŞARET(-24)

Expected result

−1

Worked examples

Classify a count discrepancy as shortage, match, or surplus. Results are always −1, 0, or 1.

Open the English sheet. Inputs begin at A6. F7:F9 show the live results and G7:G9 show the original results for comparison.

Row A
6 Input
7 -24
8 0
9 12
Case Formula Expected result
Record 1 =SIGN(A7) -1
Record 2 =SIGN(A8) 0
Record 3 =SIGN(A9) 1
Microsoft Excel reference