Currency formatting dilemna

Eddie G.

Board Regular
Joined
Feb 27, 2002
Messages
98
I import data into a CSV file then convert it to excel xls. One column of data has a comma in the number like this 19,456 which actually that is supposed to be 194.56 (yes the mainframe is screwed up and sends the data with the comma in the wrong position.) Anyhow, I have to convert this to a currency figure so using the following:
=left(b2,3)&"."&right(b2,2)
I get 194.56 then I copy and paste values over it to get rid of the formula, but then i cannot get the $ formatting to work. How do I get the currency or accounting or dollar formatting to work on the resulting cell?

Eddie G.
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Hi Eddie.
Give this a try...
=TEXT(LEFT(B2,3)&"."&RIGHT(B2,2),"$#,##0.00_);($#,##0.00)")

Tom
 
Upvote 0
On 2002-04-16 07:27, Eddie G. wrote:
I import data into a CSV file then convert it to excel xls. One column of data has a comma in the number like this 19,456 which actually that is supposed to be 194.56 (yes the mainframe is screwed up and sends the data with the comma in the wrong position.) Anyhow, I have to convert this to a currency figure so using the following:
=left(b2,3)&"."&right(b2,2)
I get 194.56 then I copy and paste values over it to get rid of the formula, but then i cannot get the $ formatting to work. How do I get the currency or accounting or dollar formatting to work on the resulting cell?

Eddie G.

After you paste your "new" values, select 'em, choose the Data | Text to Columns... menu command, and press [ Finish ].
 
Upvote 0
Make the conversion a VALUE by


a) copy a blank cell
select cell with converted text
Edit Paste Special Add

b) use Value
=VALUE(LEFT(B2,3)&"."&RIGHT(B2,2))

With either of the above, format as Currency
 
Upvote 0

Forum statistics

Threads
1,214,375
Messages
6,119,166
Members
448,870
Latest member
max_pedreira

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