Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default converting commodity prices

I am attempting to convert commodity prices from a web query and cannot seem
to make it happen. The prices are in one column ( and example "339'4") so
properly converted it should read $3.395. I can do it use a text to columns,
but that is not automated and would prefer not to have to run the text to
columns everytime.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,494
Default converting commodity prices

record a macro while you do it and see what happens.

--

Gary Keramidas
Excel 2003


"stifler421" wrote in message
...
I am attempting to convert commodity prices from a web query and cannot
seem
to make it happen. The prices are in one column ( and example "339'4") so
properly converted it should read $3.395. I can do it use a text to
columns,
but that is not automated and would prefer not to have to run the text to
columns everytime.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default converting commodity prices

Assuming the string *always* starts with 3 digits.

Try this:

=--(TEXT(LEFT(A1,3)/100,"0.00")&(RIGHT(A1)/8)*1000)

--
Biff
Microsoft Excel MVP


"stifler421" wrote in message
...
I am attempting to convert commodity prices from a web query and cannot
seem
to make it happen. The prices are in one column ( and example "339'4") so
properly converted it should read $3.395. I can do it use a text to
columns,
but that is not automated and would prefer not to have to run the text to
columns everytime.



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
Converting a date to a text field w/o converting it to a julian da LynnMinn Excel Worksheet Functions 2 March 6th 08 03:43 PM
looking for a commodity data sheel Ed Excel Discussion (Misc queries) 0 December 22nd 06 03:55 AM
Commodity rate calculator deepwoods Excel Discussion (Misc queries) 0 October 17th 06 03:53 PM
Use a multiplier to change List Prices to Net prices Dangada Excel Worksheet Functions 1 July 6th 05 06:31 AM
Commodity Trading? Solver maybe.... bonjella Excel Discussion (Misc queries) 3 June 8th 05 05:07 PM


All times are GMT +1. The time now is 09:12 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"