# Google Sheets UMINUS Function: Syntax, Examples & Tips

- URL: https://betteranalyst.com/google-sheets/uminus-function
- Author: Better Analyst

Formula Bot is now Better Analyst—same account, more powerful analysis.Formula Bot is now Better Analyst—same account and workflows, with more powerful analysis, dashboards, and automation.

[Learn what changed](https://betteranalyst.com/formula-bot-is-now-better-analyst)

Returns a number with its sign reversed; the function form of the unary minus (leading -) operator.

```
=UMINUS(value)
```

Generate FormulaExplain Formula

One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.

Describe the UMINUS you need in plain EnglishGenerate Formula

## Parameters

| Parameter | Required | Description |
| - | - | - |
| **value** | Yes | The number whose sign should be reversed. Positive becomes negative and negative becomes positive. |

## What Is UMINUS?

UMINUS reverses the sign of a number. `=UMINUS(5)` returns −5 and `=UMINUS(-5)` returns 5. It is the function form of the **unary minus** — the minus sign placed in front of a single value, as in `=-A2`.

## How UMINUS Relates to the `-` Operator

The minus sign has two meanings in a formula:

| Usage | Example | Function |
| - | - | - |
| Unary minus (one value, negate it) | `=-A2` | `=UMINUS(A2)` |
| Binary minus (two values, subtract) | `=A2-B2` | [=MINUS(A2, B2)](https://betteranalyst.com/google-sheets/minus-function) |

UMINUS is the first of these. "Unary" means it acts on a single operand, the same way [UPLUS](https://betteranalyst.com/google-sheets/uplus-function) (leading `+`) and [UNARY\_PERCENT](https://betteranalyst.com/google-sheets/unarypercent-function) (trailing `%`) do.

### Precedence note

In Google Sheets, unary minus binds more tightly than exponentiation, so `=-3^2` is evaluated as `(-3)^2` and returns 9. If you want −9, write `=-(3^2)` or `=UMINUS(POW(3, 2))`. Using the function makes the order of operations explicit.

## Basic Examples

### Negate a number

```
=UMINUS(250)
```

Returns −250.

### Flip a negative to a positive

```
=UMINUS(B2)
```

If B2 is −80, returns 80.

### Convert expenses to negative amounts

```
=ARRAYFORMULA(UMINUS(C2:C200))
```

Turns a column of positive costs into negative values so they can be combined with income in one cash-flow column.

### Coerce TRUE/FALSE to numbers

```
=UMINUS(UMINUS(D2>100))
```

The equivalent of `--(D2>100)`: two negations convert TRUE to 1 and FALSE to 0. This is the classic double-unary trick used inside SUMPRODUCT.

## How UMINUS Handles Inputs

- **Zero** stays 0.
- **Blank cells** are treated as 0 and return 0.
- **Booleans** are converted: UMINUS(TRUE) is −1.
- **Numeric text** is generally coerced to a number; other text returns #VALUE!.
- **Dates** are serial numbers, so negating one gives a negative number that won't display as a valid date.

## UMINUS vs. ABS and Multiplying by −1

- `UMINUS(x)`, `-x` and `x*-1` are all equivalent.
- `ABS(x)` always returns a positive number, and `-ABS(x)` always returns a negative one. Use these when you need a specific sign regardless of input; use UMINUS when you need to flip whatever sign it has.

## Common Use Cases

- **Accounting sign conventions**: Converting debits/credits between systems that use opposite signs.
- **Cash flow models**: Representing outflows as negatives for NPV or IRR.
- **Reversing a variance** so that a positive number means "favourable".
- **Boolean coercion** in array calculations.

## Common Errors

- **Unexpected sign with exponents**: Remember `-x^2` squares the negative. Use parentheses or the function form.
- **Double negation where you wanted ABS**: Flipping a column that already mixes signs will make positives negative and negatives positive. If you need all negatives, use `-ABS(x)`.
- **#VALUE!**: The input is non-numeric text.

## Tips and Best Practices

- For readability in shared templates, `UMINUS(x)` can be clearer than a lone minus sign that's easy to overlook.
- In SUMPRODUCT, `--condition` is the common shorthand; `N(condition)` is another option.
- To negate a whole column, use a helper column with `=ARRAYFORMULA(UMINUS(C2:C200))` and paste the results back as values if needed.

## Related Functions

[MINUS](https://betteranalyst.com/google-sheets/minus-function), [UPLUS](https://betteranalyst.com/google-sheets/uplus-function), [UNARY\_PERCENT](https://betteranalyst.com/google-sheets/unarypercent-function), ABS, SIGN, and N.

## Example use case

A finance analyst combines income and expense exports into a single cash-flow column. The expense system lists costs as positive numbers, so =UMINUS(C2) converts each one to a negative, letting a simple SUM produce net cash flow.

## Need more help with Google Sheets formulas?

Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.

[Create Free Account](https://betteranalyst.com/signup)[Try Formula Generator](https://betteranalyst.com/excel-ai)

## Google Sheets how-to guides

- [Google Sheets Conditional Formatting](https://betteranalyst.com/google-sheets/google-sheets-conditional-formatting)
- [How To Add A Column In Google Sheets](https://betteranalyst.com/google-sheets/how-to-add-a-column-in-google-sheets)
- [How To Alphabetize In Google Sheets](https://betteranalyst.com/google-sheets/how-to-alphabetize-in-google-sheets)
- [How To Autofit In Google Sheets](https://betteranalyst.com/google-sheets/how-to-autofit-in-google-sheets)
- [How To Calculate Percentage In Google Sheets](https://betteranalyst.com/google-sheets/how-to-calculate-percentage-in-google-sheets)
- [How To Combine Two Columns In Google Sheets](https://betteranalyst.com/google-sheets/how-to-combine-two-columns-in-google-sheets)
- [How To Copy Formula In Google Sheets](https://betteranalyst.com/google-sheets/how-to-copy-formula-in-google-sheets)
- [How To Count Unique Values In Google Sheets](https://betteranalyst.com/google-sheets/how-to-count-unique-values-in-google-sheets)

## Explore all Google Sheets formulas

Browse our complete library of Google Sheets formula guides

Compare your options

## Decide with evidence, not a sales pitch.

Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.

1. [01ChatGPTOpen a balanced comparison prompt in ChatGPT.](https://chatgpt.com/?prompt=Compare%20Better%20Analyst%20with%20using%20a%20general-purpose%20AI%20assistant%20for%20data%20analysis.%20Evaluate%20spreadsheet%20and%20document%20analysis%2C%20dashboards%2C%20repeatable%20reports%2C%20code%20transparency%2C%20data%20connections%2C%20pricing%2C%20and%20limitations.%20Use%20current%20public%20sources%2C%20distinguish%20verified%20facts%20from%20assumptions%2C%20and%20explain%20which%20types%20of%20users%20each%20option%20fits%20best.)
2. [02ClaudeOpen the same research prompt in Claude.](https://claude.ai/new?q=Compare%20Better%20Analyst%20with%20using%20a%20general-purpose%20AI%20assistant%20for%20data%20analysis.%20Evaluate%20spreadsheet%20and%20document%20analysis%2C%20dashboards%2C%20repeatable%20reports%2C%20code%20transparency%2C%20data%20connections%2C%20pricing%2C%20and%20limitations.%20Use%20current%20public%20sources%2C%20distinguish%20verified%20facts%20from%20assumptions%2C%20and%20explain%20which%20types%20of%20users%20each%20option%20fits%20best.)
3. [03PerplexityResearch the comparison with linked web sources.](https://www.perplexity.ai/search?q=Compare%20Better%20Analyst%20with%20using%20a%20general-purpose%20AI%20assistant%20for%20data%20analysis.%20Evaluate%20spreadsheet%20and%20document%20analysis%2C%20dashboards%2C%20repeatable%20reports%2C%20code%20transparency%2C%20data%20connections%2C%20pricing%2C%20and%20limitations.%20Use%20current%20public%20sources%2C%20distinguish%20verified%20facts%20from%20assumptions%2C%20and%20explain%20which%20types%20of%20users%20each%20option%20fits%20best.)

AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.
