UMINUS function

Returns the negative of a number, converting positive values to negative and vice versa; use it for accounting entries or reversing numeric signs.

=UMINUS(value)

Generate a UMINUS formula

Describe what you need. The generator will reach for UMINUS where UMINUS is the right tool, and tell you when it is not.

How to get a better answer
  • Name your columns by letter and by header: "column F (Net Value)" beats "the amount column".
  • State every condition, including the negatives — "not cancelled" changes the formula's shape.
  • Say where the data starts if it is not row 1, and whether it will grow.
  • Check the settings above match your spreadsheet: the wrong argument separator is a syntax error on your machine.

Arguments

How UMINUS reads its arguments
valuerequiredUMINUS
ArgumentRequiredDescription
valueRequiredA required numeric value. If non-numeric (text, error, or array), UMINUS returns #VALUE! or #N/A error.

Returns

A numeric value with the opposite sign of the input.

Availability

Excel: Not available · Google Sheets: Supported

Worked examples

1. Record campaign spend as accounting expense

CampaignChannelSpendClicksConversions
Campaign AEmail50025050
Campaign BSocial1200800120
Campaign CSearch20001500300
=UMINUS(C2)

Result: -500

Campaign A spent $500. In accounting systems, expenses are recorded as negative values to represent money flowing out. UMINUS(500) converts the spend amount to -500 for the accounting ledger.

2. Reverse a calculated profit for expense entry

CampaignChannelSpendClicksConversions
Campaign AEmail50025050
Campaign BSocial1200800120
Campaign CSearch20001500300
=UMINUS((E2*25)-C2)

Result: -1800

Campaign B generated 120 conversions at $25 revenue each (3000 total) minus $1200 spend = $1800 profit. UMINUS converts this to -1800 to record profit as a negative adjustment in double-entry accounting, reducing the net expense balance.

3. Reverse a negative performance variance

CampaignChannelSpendClicksConversions
Campaign AEmail50025050
Campaign BSocial1200800120
Campaign CSearch20001500300
=UMINUS(E2-E4)

Result: 250

Campaign A achieved 50 conversions while Campaign C achieved 300, a difference of 50-300=-250. UMINUS reverses the negative variance to 250, showing the performance gap as a positive number that represents Campaign A's conversion deficit versus Campaign C.

Common errors

Which UMINUS error are you seeing?
UMINUS returned an error#VALUE!
Ensure the input references a cell or value containing only numbers. Use VALUE() function first if converting text numbers: =UMINUS(VALUE(text_cell)).
#N/A
Check that the referenced cell contains a number. Use IFERROR or IFNA to provide a default: =IFERROR(UMINUS(A10), 0).
#REF!
Update the formula to reference a valid cell that still exists, or restore the deleted data.
ErrorWhy it happensHow to fix it
#VALUE!The value argument contains text or a non-numeric data type, such as =UMINUS("Email") when pointing to a channel name instead of a number.Ensure the input references a cell or value containing only numbers. Use VALUE() function first if converting text numbers: =UMINUS(VALUE(text_cell)).
#N/AThe value argument references a blank cell, an error value, or a missing lookup result, such as =UMINUS(A10) when A10 is empty.Check that the referenced cell contains a number. Use IFERROR or IFNA to provide a default: =IFERROR(UMINUS(A10), 0).
#REF!The value argument references a deleted column or row, such as when a column is removed after the formula was created.Update the formula to reference a valid cell that still exists, or restore the deleted data.

Tips and when to use something else

  • UMINUS(value) and -value produce identical results. Use whichever reads more clearly in your formula; UMINUS is useful when function form is required for dynamic formulas or templates.
  • For column-wide negation, UMINUS applies row by row. Combine with ARRAYFORMULA to apply across ranges efficiently: =ARRAYFORMULA(UMINUS(C2:C4)).
  • In systems that require compatibility with Excel (which doesn't support UMINUS), use MULTIPLY(value, -1) or MINUS(0, value) as an alternative.
  • If you need to negate only positive values and keep negatives unchanged, use IF: =IF(A2>0, UMINUS(A2), A2) instead of UMINUS unconditionally.

Frequently asked questions

Is UMINUS the same as using a minus sign before a number?
Functionally yes. UMINUS(500) and -500 return identical results. However, UMINUS is useful when you need function form rather than an operator—such as in formula templates, dynamic calculations, or when building complex formulas with MAP or REDUCE.
Can UMINUS work on an entire column or range at once?
Yes. UMINUS applies to each row when used in a column. For a range like C2:C5, use =ARRAYFORMULA(UMINUS(C2:C5)) to negate all values in one formula instead of copying down.
Why use UMINUS instead of multiplying by -1?
Both work identically for negation. UMINUS is more concise and semantically clearer (you're explicitly reversing sign, not multiplying), making formulas easier to read. Use -1 multiplication only if you need Excel compatibility or have a specific reason to avoid function form.
What if my spend values are stored as text, like "500"?
UMINUS will return a #VALUE! error. Convert text to numbers first using VALUE(): =UMINUS(VALUE(C2)). Alternatively, ensure your data is formatted as numbers before applying UMINUS.

Need a different formula?

The full generator is not scoped to one function — describe any spreadsheet problem and it will pick.

Open the formula generator

Reviewed 2026-09-17