How to correct negative number format

Mojosixx

New Member
Joined
Mar 22, 2010
Messages
42
Many times our system gives us #’s like the first column but it can’t be changed to currency because of the negative sign being after the #. How can I change the first column to look and function like the second?

[TABLE="width: 145"]
<tbody>[TR]
[TD]25-
[/TD]
[TD]$ (25.00)
[/TD]
[/TR]
[TR]
[TD]45-
[/TD]
[TD]$ (45.00)
[/TD]
[/TR]
[TR]
[TD]81-
[/TD]
[TD]$ (81.00)
[/TD]
[/TR]
</tbody>[/TABLE]
 
Is it only the negative numbers that show like that? If so, try Text2Columns/Delimited/Other - (minus sign)

If you have + and +, then maybe thus ugly thing...

[Table="width:, class:grid"][tr][td] [/td][td]
A​
[/td][td]
B​
[/td][/tr]
[tr][td]
1​
[/td][td]25-[/td][td]
-25​
[/td][/tr]

[tr][td]
2​
[/td][td]45-[/td][td]
-45​
[/td][/tr]

[tr][td]
3​
[/td][td]85-[/td][td]
-85​
[/td][/tr]

[tr][td]
4​
[/td][td]25+[/td][td]
25​
[/td][/tr]
[/table]

B1=--(RIGHT(A1,1)&LEFT(A1,LEN(A1)-1))
copied down

(Im sure someone will have a better way than that)
 
Upvote 0
Is it only the negative numbers that show like that? If so, try Text2Columns/Delimited/Other - (minus sign)

If you have + and +, then maybe thus ugly thing...

[Table="width:, class:grid"][tr][td] [/td][td]
A​
[/td][td]
B​
[/td][/tr]
[tr][td]
1​
[/td][td]25-[/td][td]
-25​
[/td][/tr]

[tr][td]
2​
[/td][td]45-[/td][td]
-45​
[/td][/tr]

[tr][td]
3​
[/td][td]85-[/td][td]
-85​
[/td][/tr]

[tr][td]
4​
[/td][td]25+[/td][td]
25​
[/td][/tr]
[/table]

B1=--(RIGHT(A1,1)&LEFT(A1,LEN(A1)-1))
copied down

(Im sure someone will have a better way than that)
I'm not sure its better, but as long as each entry has a trailing plus or minus symbol, you could also do it this way...

=--MID(A1&A1,LEN(A1),LEN(A1))
 
Upvote 0
With Text to Columns, on the Delimeter screen deselect everything.
Click Next.
Click on the Advanced button.
Make sure trailing minus for negative numbers is checked.
Click Finish
 
Upvote 0

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