Excel SIGN Function

Find positive and negative values in an Excel worksheet

Excel SIGN Function
Excel SIGN Function. © Ted French

The purpose of the SIGN function in Excel is to tell you whether a number in a specific cell is either negative or positive in value or whether it is equal to zero. The SIGN function is one of Excel's functions that is most valuable when it is used along with another function, such as the IF function.

Syntax for SIGN Function

The syntax for the SIGN function is:

= SIGN(Number)

where Number is the number to be tested.

This can be an actual number, but it is usually the cell reference for the number to be tested.

If the number is:

  • Positive, such as 45, the function returns a 1
  • Negative, such as -26, the function returns a -1
  • Zero, the function returns a 0 

Example Using Excel's SIGN Function

  1. Enter the following data into cells D1 to D3: 45, -26, 0
  2. Click on cell E1 in the spreadsheet. This is the location of the function.
  3. Click on the Formulas tab of the ribbon menu.
  4. Choose Math & Trig from the ribbon to open the function drop-down list.
  5. Click on SIGN in the list to bring up the SIGN function's dialog box.
  6. In the dialog box, click on the Number line.
  7. Click on cell D1 in the spreadsheet to enter that cell reference as the location for the function to check.
  8. Click OK or Done in the dialog box.
  9. The number 1 should appear in cell E1 because the number in cell D1 is a positive number. 
  10. Drag the fill handle in the bottom right corner of cell E1 down to cells E2 and E3 to copy the function to those cells.
  1. The cells E2 and E3 should display the numbers -1 and 0 respectively because D2 contains a negative number (-26) and D3 contains a zero.
  2. When you click on cell E1, the complete function =SIGN(D1) appears in the formula bar above the worksheet.
mla apa chicago
Your Citation
French, Ted. "Excel SIGN Function." ThoughtCo, Jul. 16, 2017, thoughtco.com/excel-sign-function-3123719. French, Ted. (2017, July 16). Excel SIGN Function. Retrieved from https://www.thoughtco.com/excel-sign-function-3123719 French, Ted. "Excel SIGN Function." ThoughtCo. https://www.thoughtco.com/excel-sign-function-3123719 (accessed March 20, 2018).