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! |
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.
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 button to run the code. And the sign of numbers in the selected range have been reversed at once.
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 120 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:
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!
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:
- Change negative numbers to positive
- Change positive numbers to negative
- Fix trailing negative signs in cells
Recommended Productivity Tools
Office Tab
Bring handy tabs to Excel and other Office software, just like Chrome, Firefox and new Internet Explorer.
Kutools for Excel
Amazing! Increase your productivity in 5 minutes. Don't need any special skills, save two hours every day!
200 New Features for Excel, Make Excel Much Easy and Powerful:
- Merge Cell/Rows/Columns without Losing Data.
- Combine and Consolidate Multiple Sheets and Workbooks.
- Compare Ranges, Copy Multiple Ranges, Convert Text to Date, Unit and Currency Conversion.
- Count by Colors, Paging Subtotals, Advanced Sort and Super Filter,
- More Select/Insert/Delete/Text/Format/Link/Comment/Workbooks/Worksheets Tools...
Comments
e.g if the value in B1 is -25 then in Cell C1 enter the formula :
=B1 * -1
=SUM(B2:H2) * -1
This will now take the sum of the range and automatically change the value to a negative number.
Thanks.
When I reverse that, =SUM(F4:F23)-8) , I get (#) where (#) is the negative of what I expect.
But when I use #Jonathon's formula with my working formula in it, I again get the #VALUE! error.
How is this #VALUE! error even possible? What I want is for F2 to be a positive number that's the leftover balance when F4:F24 is less that 8.
Is there away to do this quickly...
Multiplying by -1 can screw up subsequent cell values if each one is using a formula.
VBA requires saving in a different format.
Kutools requires you to download/purcha se an add-on.
You can format a column to show negatives as positives, but it turns the font Red.
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...