"CR" value format

G

Guest

Guest
I have a document imported to Excel which has values in it. Unfortunately the credit values have CR after them. Is there an easy way to format them to a minus sign or brakets, PLEASE?
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Not sure I understood fully, but this should help

=SUBSTITUTE(A1,"CR","")*-1
OR
=SUBSTITUTE(A1,"CR","")*1
Both case sensitive

It will be a real number.


_________________
Kind Regards
Dave Hawley
OzGrid Business Applications
Microsoft Excel/VBA Training
OzGrid.BusApp.170x45.gif

This message was edited by Dave Hawley on 2002-03-15 04:53
 
Upvote 0
On 2002-03-15 04:46, Anonymous wrote:
I have a document imported to Excel which has values in it. Unfortunately the credit values have CR after them. Is there an easy way to format them to a minus sign or brakets, PLEASE?

Care to post a few examples along with expected results?
 
Upvote 0
Thanks Guys Works excellently using Substitute:

Output was this: 237.36CR
Result was this: -237.36

Which is just what I wanted to achieve.

Cheers again
 
Upvote 0

Forum statistics

Threads
1,214,905
Messages
6,122,178
Members
449,071
Latest member
cdnMech

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