PC Review


Reply
Thread Tools Rate Thread

convert web copied text to numbers

 
 
=?Utf-8?B?SmltIEM=?=
Guest
Posts: n/a
 
      6th Sep 2007
I copied a website and pasted into excel. I need a formula to convert the
text to numbers.
Here are some examples, they contain leading 0"s, trailing 0's, "$" "," and
"."
$9,405.98
$9,457.19

$14,420.92
$5,077.31

Thanks for any help
--
Jim C
 
Reply With Quote
 
 
 
 
Zone
Guest
Posts: n/a
 
      6th Sep 2007
If the text is in A1, then put this in B1:
=VALUE(A1)

"Jim C" <(E-Mail Removed)> wrote in message
news:E1900E88-CA9C-4D58-8C30-(E-Mail Removed)...
>I copied a website and pasted into excel. I need a formula to convert the
> text to numbers.
> Here are some examples, they contain leading 0"s, trailing 0's, "$" ","
> and
> "."
> $9,405.98
> $9,457.19
>
> $14,420.92
> $5,077.31
>
> Thanks for any help
> --
> Jim C



 
Reply With Quote
 
Peo Sjoblom
Guest
Posts: n/a
 
      6th Sep 2007
If he copied from the web I suspect he might have invisible html characters
(CHAR(160)
Then VALUE won't work, I would use Dave McRitchie's trimall macro found here

http://www.mvps.org/dmcritchie/excel/join.htm#trimall


will remove all extra characters including CHAR(160)

using a formula this might work


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


--
Regards,

Peo Sjoblom




"Zone" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> If the text is in A1, then put this in B1:
> =VALUE(A1)
>
> "Jim C" <(E-Mail Removed)> wrote in message
> news:E1900E88-CA9C-4D58-8C30-(E-Mail Removed)...
>>I copied a website and pasted into excel. I need a formula to convert
>>the
>> text to numbers.
>> Here are some examples, they contain leading 0"s, trailing 0's, "$" ","
>> and
>> "."
>> $9,405.98
>> $9,457.19
>>
>> $14,420.92
>> $5,077.31
>>
>> Thanks for any help
>> --
>> Jim C

>
>



 
Reply With Quote
 
=?Utf-8?B?SmltIEM=?=
Guest
Posts: n/a
 
      6th Sep 2007
The formula worked great: =--TRIM(SUBSTITUTE(A1,CHAR(160),""))
Thank you.
--
Jim C


"Peo Sjoblom" wrote:

> If he copied from the web I suspect he might have invisible html characters
> (CHAR(160)
> Then VALUE won't work, I would use Dave McRitchie's trimall macro found here
>
> http://www.mvps.org/dmcritchie/excel/join.htm#trimall
>
>
> will remove all extra characters including CHAR(160)
>
> using a formula this might work
>
>
> =--TRIM(SUBSTITUTE(A1,CHAR(160),""))
>
>
> --
> Regards,
>
> Peo Sjoblom
>
>
>
>
> "Zone" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > If the text is in A1, then put this in B1:
> > =VALUE(A1)
> >
> > "Jim C" <(E-Mail Removed)> wrote in message
> > news:E1900E88-CA9C-4D58-8C30-(E-Mail Removed)...
> >>I copied a website and pasted into excel. I need a formula to convert
> >>the
> >> text to numbers.
> >> Here are some examples, they contain leading 0"s, trailing 0's, "$" ","
> >> and
> >> "."
> >> $9,405.98
> >> $9,457.19
> >>
> >> $14,420.92
> >> $5,077.31
> >>
> >> Thanks for any help
> >> --
> >> Jim C

> >
> >

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
when i copied text to excel 2007, how do i convert it to number Nat Microsoft Excel Misc 0 30th Aug 2008 06:15 AM
Convert numbers stored as text to numbers errors after loading data in jobs Microsoft Excel Programming 2 28th Mar 2007 02:57 AM
how to remove symbols ahead of text and numbers copied from web Dan B Microsoft Excel Worksheet Functions 8 9th Feb 2007 02:49 AM
how do I convert copied Text numbers into values in Excel? =?Utf-8?B?TU9F?= Microsoft Excel Worksheet Functions 1 14th Jun 2005 06:03 AM
Numbers as text when copied from ACCESS =?Utf-8?B?SmFtaWU=?= Microsoft Excel Crashes 3 14th Jan 2005 09:42 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:24 AM.