Moving minus sign from the right to left?

Zero1985

New Member
Joined
Dec 12, 2014
Messages
6
Hi all,

I extracted a large amount of data figures. I noticed that the minus sign is facing the wrong way, and thus Excel is picking it up as a text instead of a number figure. For example, 48-. The correct way I want it to read is -48. What's the best way to reverse the minus sign?

I'm working with a large amount of figures, over 20,000.
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
you can try data ... text to columns ... delimited ... next ... next ...finish

or if you need to do it with a formula something like...

=-SUBSTITUTE(A2,"-","")
 
Last edited:
Upvote 0
you can try data ... text to columns ... delimited ... next ... next ...finish
You can simplify this procedure by simply clicking the Finish button as soon as the Text To Columns dialog box appears. The only possible way this could fail is if the minus sign (dash) was used.
 
Upvote 0

Forum statistics

Threads
1,216,106
Messages
6,128,863
Members
449,473
Latest member
soumyahalder4

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top