#1   Report Post  
Send Object Command - Two attachments
 
Posts: n/a
Default Format Currency

I have a table that contains values that are in a very unique format. The
decimal and comma are incorrect...(Pls don't ask why, file is from Europe...)
The decimal should be a comma and vice versa.
Anyway, I need to know how to format (in a query) in such a way that if
reflects correct currency.

See example:

Currently: Should Look Like:
2.301,44 $2,301.44
2.094,75 $2,094.75
44,72 $44.72
54,32 $54.32
15,96 $15.96
785,63 $785.63
2.356,89 $2,356.89
174,72 $174.72

Can anyone help?
Thanks -
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default Format Currency

I would try this:

Select the range to fix
edit|replace
what: . (dot)
with: x
replace all

Then edit|replace once more
what: , (comma)
with: . (dot)
replace all

then finally one more edit|replace
what: x
with: (leave blank)
replace all

Then format the cells the way you want.


Send Object Command - Two attachments wrote:

I have a table that contains values that are in a very unique format. The
decimal and comma are incorrect...(Pls don't ask why, file is from Europe...)
The decimal should be a comma and vice versa.
Anyway, I need to know how to format (in a query) in such a way that if
reflects correct currency.

See example:

Currently: Should Look Like:
2.301,44 $2,301.44
2.094,75 $2,094.75
44,72 $44.72
54,32 $54.32
15,96 $15.96
785,63 $785.63
2.356,89 $2,356.89
174,72 $174.72

Can anyone help?
Thanks -


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Incorrect Currency Displayed Maxy Excel Discussion (Misc queries) 4 November 9th 05 03:20 PM
Currency Style button Anita Excel Discussion (Misc queries) 3 April 18th 05 12:48 AM
protecting format Esmerelda Excel Discussion (Misc queries) 1 February 25th 05 12:53 PM
convert a numerical currency into word format Rojo Excel Worksheet Functions 1 February 24th 05 11:31 PM
involuntary format changes dave glynn Excel Discussion (Misc queries) 2 February 23rd 05 04:29 PM


All times are GMT +1. The time now is 11:38 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"