UMINUS Function in Google Sheets – Examples and Equivalents

Published on

The UMINUS function in Google Sheets is an operator function which is useful to reverse the sign of a number. Actually, without using this operator function you can reverse the sign of numbers in Docs Sheets. You can find that details below.

I very rarely use the UMINUS function. I use this function in combination with some financial functions in Google Sheets. In my case that is the only real-life use of the UMINUS in Google Sheets.

UMINUS Equivalent: If you multiply a number by -1, the sign of that number will be reversed.

In the below example, I have used the formula =A1*-1 in cell B1, to revere the sign of the value in cell A1.

UMINUS function examples in Google Sheets

Syntax and Argument

UMINUS(value)

value – The specific number to have its sign reversed.

Formula Example to Google Sheets UMINUS Function:

The following formula returns the value 54 for uminus.

=uminus(-54)

The result of the below formula would be -54.

=uminus(54)

In real-life, as said above, I am using this operator function with some of the financial functions. Let me take you through one example.

UMINUS – Real-Life Use in Google Sheets

Let’s take an example of the PMT financial function which returns the periodic payment for a loan.

AB
1Interest Rate (Annual)4.5%
2Periods (Term in Months)60
3Loan Amount$25,000.00
4Monthly Payment Amt.-$466.08
5Formula Used in Cell B4=pmt(B1/12,B2,B3)

The output of the PMT formula in cell B4 is a negative number as it’s a cash outflow.

To return the above PMT output as a positive number you can use the UMINUS function in Google Sheets in combination with the PMT as below.

=uminus(pmt(B1/12,B2,B3))

As far as I know, the UMINUS function is not available in Excel. So Excel users can use the following method to reverse the sign of the PMT output.

=-pmt(B1/12,B2,B3)

There is a UMINUS similar operator function in Google Sheets which is UPLUS. If you check my function guide, you won’t see any details/description of the UPLUS function under the function list.

I simply skipped it there as there is no specific use of the UPLUS in Sheets. So I would like to give you a brief introduction to the UPLUS function here.

How to Use UPLUS Function in Google Sheets

The UPLUS function returns the input number unchanged! I guess Google Sheets has this function for compatibility with other similar Spreadsheet applications.

Here is the syntax of the UPLUS, for your info.

UPLUS(value)

Example:

=uplus(-5)

Result: -5

=uplus(5)

Result: 5

Related Reading: How to Use the SIGN Function in Google Sheets [Real-life Examples].

Prashanth KV
Prashanth KV
Your Trusted Google Sheets and Excel Guide Prashanth KV brings a wealth of experience in Google Sheets and Excel, cultivated through years of work with multinational corporations in Mumbai and Dubai. As a recognized Google Product Expert in Docs Editors, Prashanth shares his expertise through insightful blogging since 2012. Explore his blog for practical tips and guidance on maximizing your spreadsheet skills.

How to Extract Numbers from Text in Excel with Regex

You can use the REGEXEXTRACT or REGEXREPLACE functions to easily extract numbers from text...

Using OFFSET and MATCH Together in Google Sheets: Advanced Tips

One powerful and flexible way to look up values is by combining the OFFSET...

How to Use OFFSET and XMATCH Functions Together in Excel

We often use the OFFSET and XMATCH functions together to match a value in...

How to Calculate Maximum Drawdown in Excel and Google Sheets

You can use the following dynamic array formula to calculate maximum drawdown (MDD) in...

More like this

Using OFFSET and MATCH Together in Google Sheets: Advanced Tips

One powerful and flexible way to look up values is by combining the OFFSET...

Running Count with Structured References in Google Sheets

Running a count with structured references is achievable in Google Sheets tables using the...

Running Total with Structured Table References in Google Sheets

You can use two types of formulas to create a running total with structured...

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.