Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 55
Default Convert text to number


I have copied some information from a website into Excel and a column of
numbers have been formatted as text (though not another column oddly enough)

I have tried using the recommendations I have found on this board but it
still won't work.

thanks


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 55
Default Convert text to number


I used to text-to-columns.




"scubadiver" wrote:


I have copied some information from a website into Excel and a column of
numbers have been formatted as text (though not another column oddly enough)

I have tried using the recommendations I have found on this board but it
still won't work.

thanks


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Convert text to number

Often when you copy data from a website it includes a non-breaking
space character (160), and one way of getting rid of this is:

=(LEFT(A1,LEN(A1)-1))*1

if your number is in A1 and the space character is at the end of the
number. If you have 2 characters at the end then you will need to
change the -1 to -2 in the formula. If the space is at the beginning
of the number then you will have to use this formula:

=(RIGHT(A1,LEN(A1)-1))*1

Copy the formula down for as many entries as you have, then fix the
values - highlight the cells with the formulae in, click <copy, then
Edit | Paste Special | Values (check) | OK then <Enter. You can now
delete the original column.

Hope this helps.

Pete

On Jul 8, 1:48 pm, scubadiver
wrote:
I used to text-to-columns.



"scubadiver" wrote:

I have copied some information from a website into Excel and a column of
numbers have been formatted as text (though not another column oddly enough)


I have tried using the recommendations I have found on this board but it
still won't work.


thanks- Hide quoted text -


- Show quoted text -



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 860
Default Convert text to number

Another way to get rid of the non breaking space is
to use Find and Replace

Select your data
Go to EditReplace
Find what: Alt+0160
Replace with: (leave this blank)
Click Replace All

(To use unicode hold down the Alt key type 0160 on the
number pad only, then release the Alt key.)

HTH
Martin


"scubadiver" wrote in message
...

I used to text-to-columns.




"scubadiver" wrote:


I have copied some information from a website into Excel and a column of
numbers have been formatted as text (though not another column oddly
enough)

I have tried using the recommendations I have found on this board but it
still won't work.

thanks




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
CONVERT NUMBER TO TEXT adeel via OfficeKB.com Excel Discussion (Misc queries) 2 June 28th 07 03:05 PM
Convert text number to number formate [email protected] Excel Discussion (Misc queries) 2 April 9th 07 10:48 AM
HOW TO CONVERT NUMBER TO TEXT cretesupplies Excel Discussion (Misc queries) 1 March 16th 06 11:35 AM
convert text-format number to number in excel 2000%3f Larry Excel Discussion (Misc queries) 1 July 29th 05 08:18 PM
not able to convert text, or graphic number to regular number in e knutsenk Excel Worksheet Functions 1 April 2nd 05 08:41 AM


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