SIGN(value)One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.
value:
The numeric value for which you want to determine the sign. This can be a number, a cell reference, or a formula that returns a number. The function will return -1 for negative numbers, 1 for positive numbers, and 0 for zero.
The SIGN function in Google Sheets is a simple yet useful tool that returns the sign of a number. It indicates whether the number is positive, negative, or zero. The function returns 1 for positive numbers, -1 for negative numbers, and 0 for zero. This can be particularly helpful in various mathematical calculations and data analysis tasks.
In simpler terms, the SIGN function allows you to quickly determine the nature of a number in your dataset.
Imagine you are analyzing a dataset of financial transactions, and you want to categorize each transaction based on whether it is an income (positive), an expense (negative), or neutral (zero).
| TransactionID | Amount |
|---|---|
| 1 | 150.00 |
| 2 | -75.00 |
| 3 | 0.00 |
| 4 | 200.00 |
| 5 | -50.00 |
You want to add a new column that indicates the sign of each transaction amount.
To achieve this, you would use the SIGN function as follows:
=SIGN(B2)In this formula:
B2 is the cell containing the Amount from the Transactions Table.When you apply the SIGN formula to the Amount column, the output would look like this:
| TransactionID | Amount | Sign |
|---|---|---|
| 1 | 150.00 | 1 |
| 2 | -75.00 | -1 |
| 3 | 0.00 | 0 |
| 4 | 200.00 | 1 |
| 5 | -50.00 | -1 |
In this case, the SIGN function helps you quickly categorize each transaction based on its amount.
The SIGN function is beneficial because it simplifies the process of categorizing numerical data. It allows for quick assessments of financial data, making it easier to analyze trends and patterns. Additionally, it can be used in conditional formatting and other formulas to enhance data visualization and reporting.
The SIGN function is an essential tool for anyone working with numerical data in Google Sheets, providing a quick way to enhance data analysis and reporting capabilities.
Happy spreadsheeting!
You have a sales report where Column A lists sales figures. You can use the SIGN formula to quickly identify whether each sale was positive, negative, or zero. This helps in assessing overall performance and making data-driven decisions efficiently.
Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.
Browse our complete library of Google Sheets formula guides
Compare your options
Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.
AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.