Google Sheets UMINUS Function: Syntax, Examples & Tips

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

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

On this page
  1. Parameters
  2. What Is UMINUS?
  3. How UMINUS Relates to the - Operator
  4. Basic Examples
  5. How UMINUS Handles Inputs
  6. UMINUS vs. ABS and Multiplying by −1
  7. Common Use Cases
  8. Common Errors
  9. Tips and Best Practices
  10. Related Functions
  11. Example use case

Parameters

ParameterRequiredDescription
valueYesThe 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:

UsageExampleFunction
Unary minus (one value, negate it)=-A2=UMINUS(A2)
Binary minus (two values, subtract)=A2-B2=MINUS(A2, B2)

UMINUS is the first of these. "Unary" means it acts on a single operand, the same way UPLUS (leading +) and UNARY_PERCENT (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

Google Sheets
=UMINUS(250)

Returns −250.

Flip a negative to a positive

Google Sheets
=UMINUS(B2)

If B2 is −80, returns 80.

Convert expenses to negative amounts

Google Sheets
=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

Google Sheets
=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.

MINUS, UPLUS, UNARY_PERCENT, 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.

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.
  2. 02ClaudeOpen the same research prompt in Claude.
  3. 03PerplexityResearch the comparison with linked web sources.

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