Skip to main content

How to move minus sign from right to left/back to front in Excel?

Author: Sun Last Modified: 2024-09-13
move minus sign from right to left
In some cases, you may encounter the negative numbers with minus sign at the back as below screenshot shown. And to move these minus signs from the back to the values’ front must be a time-wasted job if there are hundreds of values needed to fix. However, here I introduce some tricks to help you quickly to fix these trailing minus sign in Excel.
Move minus sign from back to front with Text to Columns
Move minus sign from back to front with Kutools for Excel good idea3
Move minus sign from back to front with VBA

arrow blue right bubble Move minus sign from back to front with Text to Columns

There is a hidden utility in Text to Columns that can help you move minus sign from back to front.

1. Select the numbers you want to fix the trailing minus sign, and click Data > Text to Columns. See screenshot:
click Data > Text to Columns

2. In the Text to Columns wizard, directly click Next > Next to go to the Step 3 of 3 dialog, and click Advanced. See screenshot:
click Advanced in the dialog box

3. In the Advanced Text Import Settings dialog, just check Trailing minus for negative numbers option, and click OK to close it.
check Trailing minus for negative numbers option

4. Then click Finish to close Text to Columns dialog, and the minus sign of the negative numbers have been moved from back to front.
the minus sign of the negative numbers are moved from back to front


arrow blue right bubble Move minus sign from back to front with Kutools for Excel

If above methods are not easy enough, you can try to apply the Change Sign of Values utility of Kutools for Excel – a handy Excel tool to help you quickly move minus sign from back to front.

Kutools for Excel offers over 300 advanced features to streamline complex tasks, boosting creativity and efficiency. Itegarate with AI capabilities, Kutools automates tasks with precision, making data management effortless. Detailed information of Kutools for Excel...         Free trial...

After free installing Kutools for Excel, please do as below:

1. Select the numbers you want to fix the trailing minus signs, and click Kutools > Content > Change Sign of Values. See screenshot:
click Change Sign of Values feature of kutools

2. In the Change Sign of Values dialog, check Fix trailing negative signs option. See screenshot:
check Fix trailing negative signs option in the dialog box

3. Click Ok or Apply, now the minus signs of the negative numbers have been fixed from back to front.

With Change Sign of Values, you can convert all positive values to negatives, fix the trailing negative signs, and change all negatives to zero or reverse the sign of values. 


arrow blue right bubble Move minus sign from back to front with VBA

If you are familiar with VBA, here is one can help you.

1. Press Alt + F11 keys simultaneously to open Microsoft Visual Basic for Applications window.

2. Click Insert > Module, and paste below VBA code to the new Module window.

VBA: Move minus sign from back to front (right to left)

Sub FixTrailingNumbers()
'UpdatebyKutoolsforExcel20160409
    Dim xRg As Range
    Dim xCol As Range
    Dim xTxt As String
    On Error Resume Next
    xTxt = ActiveWindow.RangeSelection.Address
    Set xRg = Application.InputBox("Select a range", "Kutools for Excel", xTxt, , , , , 8)
    If xRg Is Nothing Then Exit Sub
    For Each xCol In xRg.Columns
        xCol.TextToColumns Destination:=xCol, TrailingMinusNumbers:=True
    Next
End Sub

3. Click Run button or F5 key to execute this code, and a Kutools for Excel dialog pops out to remind you select a range to work. See screenshot:
vba code to select the data list

4. Click OK, and now the minus signs of negative numbers have been fixed correctly.


Related article:

How to remove leading minus sign from numbers in Excel?

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!