How to convert text to numbers

P

pago

Hello,

I have imported stock quotes into Excel using a web query (Data, Impor
External Data, New Web Query, etc ..). The field containing the stoc
quotes is output as text, and contains the currency symbol (se
attached - column D). In order to try and use this data in formulas,
have tried to convert it into numbers, by:
1. removing the currency symbol (Data, Text to Columns, ..) - se
column J in attached
2. convert the remaining data to number by using any of the method
proposed by Microsoft and others, all of which failed to work.

Sample spreadsheet is attached. I'd be very grateful to anyone wh
tries to help :).

Thank

+-------------------------------------------------------------------
|Filename: Sample.zip
|Download: http://www.excelforum.com/attachment.php?postid=4551
+-------------------------------------------------------------------
 
P

pago

I have tried both =Value(CellAddress) and data>text to
columns, but got no further (tried a sum and got 0). Of course, there
might be some spaces left, but I how could I tell?
 
P

Peo Sjoblom

Did you try to copy an empty cell, selecting the values and doing paste
special selecting add?
Otherwise you can try this

=--TRIM(SUBSTITUTE(A1,CHAR(160)," "))

copy down then paste special as values in place



--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com
 
P

pago

Tried both, but still no joy. Have you tried it on the sample I
attached? I am probably doing something silly. Thanks

Pascal
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top