Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
pago
 
Posts: n/a
Default How to convert text to numbers


Hello,

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

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

Thanks


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

--
pago
------------------------------------------------------------------------
pago's Profile: http://www.excelforum.com/member.php...o&userid=32990
View this thread: http://www.excelforum.com/showthread...hreadid=528189

  #2   Report Post  
Posted to microsoft.public.excel.misc
Kevin B
 
Posts: n/a
Default How to convert text to numbers

=Value(CellAddress) will do it.
--
Kevin Backmann


"pago" wrote:


Hello,

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

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

Thanks


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

--
pago
------------------------------------------------------------------------
pago's Profile: http://www.excelforum.com/member.php...o&userid=32990
View this thread: http://www.excelforum.com/showthread...hreadid=528189


  #3   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default How to convert text to numbers

If there are no hidden spaces just select the column, do datatext to
columns and click finish


--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com



"pago" wrote in message
...

Hello,

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

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

Thanks


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

--
pago
------------------------------------------------------------------------
pago's Profile:
http://www.excelforum.com/member.php...o&userid=32990
View this thread: http://www.excelforum.com/showthread...hreadid=528189



  #4   Report Post  
Posted to microsoft.public.excel.misc
pago
 
Posts: n/a
Default How to convert text to numbers


I have tried both =Value(CellAddress) and datatext 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?


--
pago
------------------------------------------------------------------------
pago's Profile: http://www.excelforum.com/member.php...o&userid=32990
View this thread: http://www.excelforum.com/showthread...hreadid=528189

  #5   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default How to convert text to numbers

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




"pago" wrote in message
...

I have tried both =Value(CellAddress) and datatext 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?


--
pago
------------------------------------------------------------------------
pago's Profile:
http://www.excelforum.com/member.php...o&userid=32990
View this thread: http://www.excelforum.com/showthread...hreadid=528189





  #6   Report Post  
Posted to microsoft.public.excel.misc
pago
 
Posts: n/a
Default How to convert text to numbers


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

Pascal


--
pago
------------------------------------------------------------------------
pago's Profile: http://www.excelforum.com/member.php...o&userid=32990
View this thread: http://www.excelforum.com/showthread...hreadid=528189

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
How do I convert text to numbers in an old version of excel pdr Excel Worksheet Functions 2 January 31st 06 09:49 PM
convert text to numbers drs Excel Discussion (Misc queries) 3 November 30th 05 08:55 AM
How do I convert numbers to text like bahttext but in sterling Ramsess Excel Worksheet Functions 1 November 29th 05 04:16 PM
Convert Numbers to Text cradino Excel Worksheet Functions 1 October 10th 05 01:52 PM
Convert text to numbers gennario Excel Discussion (Misc queries) 6 January 10th 05 11:56 PM


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

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

About Us

"It's about Microsoft Excel"