SIGN Google Sheets Function

What Is SIGN Google Sheets Function?

The SIGN Google Sheets function returns the preset return values based on the SIGN of the real integers or the numeric values in a given dataset. The return values are β€˜-1’ for a negative number, β€˜0’ for a cell with 0 as a value and β€˜+1’ for a positive number.

Using the SIGN function in Google Sheets, we can get the values directly or find the SIGN for the results of a formula.

For example, we will use the SIGN Google Sheets function to find the SIGN for the given data.

SIGN Google Sheets function Definition 1

Select cell B2, enter the formula =SIGN(A2-A3), and press the β€œEnter” key.

SIGN Google Sheets function Definition 1-1

The result is returned as β€œ-1”, as shown above. In cell B2, first, the difference of the cells is calculated, (A2-A3), i.e., (4-7), and the result is -3. Since the result is a negative number, the return value of the SIGN is -1, as shown.

Key Takeaways
  • The SIGN Google Sheets function checks the SIGN of the entered number, whether it is positive, 0 or a negative number and returns the respective value.
  • The result can be the direct SIGN value of the selected numeric value or the SIGN value of the result of an executed formula.
  • The function returns the SIGN values as follows:
    • If the β€œvalue” is in the range β€œ-∞, 0”, it will return -1.
    • If the β€œvalue” is equal to β€œ0”, it will return 0.
    • If the β€œvalue” is in the range β€œ0, βˆžβ€, it will return 1.

SIGN() Google Sheets Formula

The syntax of the SIGN Google Sheets formula is,

SIGN() Google Sheets Formula

The mandatory argument of the SIGN Google Sheets formula is,

  • value: The cell value, cell reference or the result of a calculation to find the SIGN value, whether it’s a Zero, positive or negative number.

How To Use SIGN Google Sheets Function?

We can use the SIGN Google Sheets function in 2 ways, namely,

  1. Access from the Google Sheets ribbon.
  2. Enter in the worksheet manually.

Method #1 – Access from the Google Sheets Ribbon 👒

Choose an empty cell for the output 👒 select the β€œInsert” tab 👒 click the β€œFunction” option right arrow 👒 click the β€œMath” option right arrow 👒 select the β€œSIGN” function, as shown below.

How To Use SIGN Google Sheets Function 1

The β€œSIGN” formulaappears, as shown below. Enter the argument as the cell reference.

SIGN formula

Method #2 – Enter in the Worksheet Manually 👒

  1. Select an empty cell for the output.
  2. Type = SIGN( in the selected cell. [Alternatively, type =S or =SI and double-click the SIGN function from the list of suggestions shown by Google Sheets.]
  3. Enter the argument as cell values or cell references.
  4. Close the brackets and press the β€œEnter” key.

Examples

We will understand some advanced scenarios using the SIGN Google Sheets examples.

Example #1

We will find the positive SIGN of the values using SIGN Google Sheets function.

In the table, the data is,

  • Column A contains the Value1.
  • Column B contains the Value2.
  • Column C displays the Output.
SIGN Google Sheets function Example 1

The steps to find the sign value using the SIGN Google Sheets Function are,

Step 1: Select cell C2, enter the formula =SIGN(A2-B2), and press the β€œEnter” key. The result is β€œ1”, as the difference between cells A2 and B2 is a positive number.

SIGN Google Sheets function Example 1-1

Step 2: Drag the formula from cell C2 to C5 using the fill handle.

SIGN Google Sheets function Example 1-2

The output is shown above as +1 since the difference of the values are all positive numbers.

Example #2

We will find the negative SIGN of the values using the SIGN Google Sheets function.

In the table, the data is,

  • Column A contains the Value1.
  • Column B contains the Value2.
  • Column C displays the Output.
SIGN Google Sheets function Example 2

The steps to find the sign value using the SIGN Function are,

Step 1: Select cell C2, enter the formula =SIGN(A2-B2), and press the β€œEnter” key. The result is β€œ-1”, as the difference between cells A2 and B2 is a negative number.

SIGN Google Sheets function Example 2-1

Step 2: Drag the formula from cell C2 to C5 using the fill handle.

SIGN Google Sheets function Example 2-2

The output is shown above as -1 since the difference of the values are all negative numbers.

Example #3

We will find the zero SIGN of the values using the SIGN Google Sheets function.

In the table, the data is,

  • Column A contains the Value1.
  • Column B contains the Value2.
  • Column C displays the Output.
SIGN Google Sheets function Example 3

The steps to find the sign value using the Google Sheets SIGN Function are,

Step 1: Select cell C2, enter the formula =SIGN(A2-B2), and press the β€œEnter” key. The result is β€œ0”, as the difference between cells A2 and B2 is 0.

SIGN Google Sheets function Example 3-1

Step 2: Drag the formula from cell C2 to C5 using the fill handle.

SIGN Google Sheets function Example 3-2

The output is shown above as 0 since the difference of the values are all 0.

Example #4

We will find the sign of the errors using the SIGN Google Sheets function.

In the table, the data is,

  • Column A contains the Value1.
  • Column B contains the Value2.
  • Column C displays the Output.
SIGN Google Sheets function Example 4

The steps to find the sign value using the SIGN Google Sheets Function are,

Step 1: Select cell C2, enter the formula =SIGN(A2-B2), and press the β€œEnter” key. The result is a β€œ#VALUE!” error, as the difference between cells A2 and B2 is an error.

SIGN Google Sheets function Example 4-1

Step 2: Drag the formula from cell C2 to C5 using the fill handle.

SIGN Google Sheets function Example 4-2

The output is shown above as errors since the difference of the values are all errors, because the dataset consists of textual values, symbols, etc.

Important Things to Note

  • The β€œ#VALUE!” error occurs when the argument entered,
    • Contains non-numeric values, such as letters, alpha-numeric, symbols, special characters or empty or blank cells.
    • Contains a cell range for the value argument. Therefore, we must select only one cell reference for the function and not a cell range.
  • When the cell value is a text directly entered as an argument like =sign(a), then, we get the β€œ#NAME?” error.

Frequently Asked Questions

1) What is an alternate way to insert the SIGN Google Sheets function?

We often forget in which category a function falls, here, the β€œSIGN” function. Then, we can insert the function as follows:

Choose an empty cell 👒 select the β€œInsert” tab 👒 click the β€œFunction” option right arrow 👒 click the β€œAll” option right arrow 👒 select the β€œSIGN” function, as shown below.
SIGN Google Sheets function FAQ 1
However, as always, entering the function manually is the best way to avoid confusion.

2) Why is the SIGN In Google Sheets function not working?

A few reasons the SIGN function may not work are:
β€’The value selected is a text and is inserted directly with or without double-quotes.
β€’ The cell references selected is a text value, alpha-numeric, empty or a blank cell.
β€’ The calculated result selected as a cell reference is an Error.

For example, we will find the SIGNs using the SIGN function for the values in different formats. In the table, the data is,
β€’ Column A contains the Value.
β€’ Column B displays the Output.
SIGN Google Sheets function FAQ 2
The steps to calculate the value by the SIGN Function in Google Sheets are as follows:
Step 1: Select cell B2, enter the formula =SIGN(A2), and press the β€œEnter” key. The result is β€œ1” a positive number sign, as shown below.
SIGN Google Sheets function FAQ 2-1
Step 2: Drag the formula from cell B2 to B4 using the fill handle.
SIGN Google Sheets function FAQ 2-2
As shown in the output above, the Google Sheets SIGN function shows the following results.
a. Positive, such as 2, the function returns 1.
b. Negative, such as -2, the function returns -1.
c. Zero, the function returns 0.

3) Where else can we find the SIGN function in Google Sheets?

Alternatively, we can find the Functions icon to insert the SIGN function by following the path shown below.
β€’ Choose an empty cell 👒 click the β€œMore” option represented by the three vertical dots at the end of the toolbar, as shown below.
SIGN Google Sheets function FAQ 3
β€’ A list of icons appears when we click the β€œMore” option. Here, click the β€œFunctions” icon, as shown below.
SIGN Google Sheets function FAQ 2-3
β€’ Here, click the β€œFunctions” option 👒 click the β€œAll” option right arrow 👒 select the β€œSIGN” function, as shown below.
SIGN Google Sheets function FAQ 2-4

Download Template

This article must help understand the SIGN Google Sheets function’s formula and examples. You can download the template here to use it instantly.

Guide to What is SIGN Google Sheets Function. We learn its formula and how to use it to identify sign of integers with examples. You can learn more from the following articles. –

Highlight Duplicates In Google Sheets

LOOKUP Table In Google Sheets

Google Sheets Combo Chart

Reader Interactions

Leave a Reply

Your email address will not be published. Required fields are marked *