Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to reverse signs of values in cells in Excel?

When we use excel, there are both positive and negative numbers in a worksheet. Supposing we need to change the positive numbers to negative and vice versa. Of course, we can change them manually, but if there are hundreds of numbers need to be changed, this method is not a good choice. Are there any quick tricks to solve this problem?

Reverse the sign of values in cells with Paste Special function

Reverse the sign of values in cells with VBA code

Reverse the sign of values in cells with Kutools for Excel quickly


Reverse the sign of all numbers:

Kutools for Excel’s Change Sign of Values utility can help you to change the positive numbers to negative and vice versa, it also can help you to reverse the sign of the values and fix trailing negative sign to normal.

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


arrow blue right bubble Reverse the sign of values in cells with Paste Special function


We can reverse the sign of values in cells with the Paste Special function in Excel, please do as follows:

1. Tap number -1 in a blank cell and copy it.

2. Select the range that you want to reverse the sign of values, right-click and choose Paste Special. See screenshot:

3. In the Paste Special dialog box, click All options from Paste and Multiply option from Operation. See screenshot:

4. Then click OK, and all of the signs of the numbers in the range have been reversed.

5. Delete the number -1 as you need.


arrow blue right bubble Reverse the sign of values in cells with VBA code

Also, we can use a VBA code to reverse the sign of values in cells. But we must know how to get the VBA to do the thing. We can do it as the following steps:

1. Select the range you want to reverse the sign of values in cells.

2. Click Developer > Visual Basic in Excel, a new Microsoft Visual Basic for applications window will be displayed, or using the shortcut keys (Alt+F11) to active it. Then click Insert > Module, and then copy and paste the following VBA code:

Sub Convert()
Dim C As Range
For Each C In Selection
C.Value = -C.Value
Next C
End Sub

3. Then click doc-reverse-sign-6 button to run the code. And the sign of numbers in the selected range have been reversed at once.


arrow blue right bubble Reverse the sign of values in cells with Kutools for Excel quickly

We can reverse the sign of values quickly with Change Sign of Values feature of Kutools for Excel.

Kutools for Excel : with more than 300 handy Excel add-ins, free to try with no limitation in 60 days

After installing Kutools for Excel, please do as follows:

1. Select the range that you want to reverse the signs of the numbers.

2. Click Kutools > Content > Change Sign of Values…, see screenshot:

3. In the Change Sign of Values dialog box, check the Reverse the sign of all values, see screenshot:

doc-reverse-signs-of-values5

4. And then click OK or Apply. All of the signs of the numbers have been reversed.

The Change Sign of Values of Kutools for Excel can also fix trailing negative signs, change all negative values to positive and change all positive values to negative. For more detailed information about Change Sign of Values, please visit Change Sign of Values feature description.

Click to Download and free trial Kutools for Excel Now!


arrow blue right bubble Reverse the sign of values in cells with Kutools for Excel

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


Related articles:


Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Aaron · 1 years ago
    Tried to do the developer option and I get a:
    Run-time error '438':
    Object doesn't support this property or method


    Any ideas?
  • To post as a guest, your comment is unpublished.
    Taylor · 2 years ago
    I have a mac version of excel and the paste special doesn't allow me to do that :-/ dying.
    • To post as a guest, your comment is unpublished.
      Bob · 2 years ago
      Yes. Yes it does. Enter "-1" in a cell. Copy that cell. Highlight all the values whose sign you wish to flip. Opt-Cmd-V opens paste special dialog box, choose multiply from the Operations section (I also find it beneficial to choose "values" in the Paste Section rather than "all" to preserve any formatting).
  • To post as a guest, your comment is unpublished.
    Emoployee · 3 years ago
    Thx Bro for the useful thread
  • To post as a guest, your comment is unpublished.
    Hasan · 3 years ago
    Thank you so much, Sir. You helped me a lot. I hope I can return the favor. Thank you so much.
  • To post as a guest, your comment is unpublished.
    CHRISTINE · 3 years ago
    thank you

    i had just posted in the SUN system with the srong month. this has helped me to reverse all the 195 entries within 7 minutes...