#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Text to Columns

I have First and last names that were downloaded from a website. The names
appear to be separated by a space, but low and behold when I tried to use
text to columns to separate them it did not work. I had to go and change
what ever is separating the name to a space on one of the records to get it
to work. Any ideas on how to accomplish this and what might possibly be
separating the names.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Text to Columns

It's probably Char(160), a non-breaking space which is used very often in
web sites.

Try TTC again, but click on "other" for delimiters,
THEN, in the window, hold down <Alt,
and key in
0160
using the numbers from the num keypad, *not* the numbers under the function
keys.

Of course, the box will appear empty, since it *is* a <space.

The "Data Preview" window should display the separation ... if my guess was
correct.

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"SarahJ" wrote in message
...
I have First and last names that were downloaded from a website. The names
appear to be separated by a space, but low and behold when I tried to use
text to columns to separate them it did not work. I had to go and change
what ever is separating the name to a space on one of the records to get it
to work. Any ideas on how to accomplish this and what might possibly be
separating the names.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default Text to Columns

Try these formulae

=LEFT(A1,FIND(CHAR(160),A1&CHAR(160))-1)

=SUBSTITUTE(A1&CHAR(160),B1&CHAR(160),"")

--
__________________________________
HTH

Bob

"SarahJ" wrote in message
...
I have First and last names that were downloaded from a website. The names
appear to be separated by a space, but low and behold when I tried to use
text to columns to separate them it did not work. I had to go and change
what ever is separating the name to a space on one of the records to get
it
to work. Any ideas on how to accomplish this and what might possibly be
separating the names.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 535
Default Text to Columns

Hi SarahJ,

Any ideas on how to accomplish this and what might possibly be
separating the names.


Select the seperating char and hit Control+c
Then do a search and replace, control+v into the search box and space into the
replace box. Then replace all.

Regards,

Jan Karel Pieterse
Excel MVP
http://www.jkp-ads.com
Member of:
Professional Office Developer Association
www.proofficedev.com

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Text to Columns

THANKS!!!!!!!!!!!!!!!!!!!!!!! it was Char(160) and the Alt 0160 Worked
perfectly!!!! YIPPIE!!!!!!!!!!!!

"RagDyeR" wrote:

It's probably Char(160), a non-breaking space which is used very often in
web sites.

Try TTC again, but click on "other" for delimiters,
THEN, in the window, hold down <Alt,
and key in
0160
using the numbers from the num keypad, *not* the numbers under the function
keys.

Of course, the box will appear empty, since it *is* a <space.

The "Data Preview" window should display the separation ... if my guess was
correct.

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"SarahJ" wrote in message
...
I have First and last names that were downloaded from a website. The names
appear to be separated by a space, but low and behold when I tried to use
text to columns to separate them it did not work. I had to go and change
what ever is separating the name to a space on one of the records to get it
to work. Any ideas on how to accomplish this and what might possibly be
separating the names.





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Text to Columns

You're welcome, and appreciate your very enthusiastic feed-back.<g
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"SarahJ" wrote in message
...
THANKS!!!!!!!!!!!!!!!!!!!!!!! it was Char(160) and the Alt 0160 Worked
perfectly!!!! YIPPIE!!!!!!!!!!!!

"RagDyeR" wrote:

It's probably Char(160), a non-breaking space which is used very often

in
web sites.

Try TTC again, but click on "other" for delimiters,
THEN, in the window, hold down <Alt,
and key in
0160
using the numbers from the num keypad, *not* the numbers under the

function
keys.

Of course, the box will appear empty, since it *is* a <space.

The "Data Preview" window should display the separation ... if my guess

was
correct.

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"SarahJ" wrote in message
...
I have First and last names that were downloaded from a website. The

names
appear to be separated by a space, but low and behold when I tried to

use
text to columns to separate them it did not work. I had to go and

change
what ever is separating the name to a space on one of the records to get

it
to work. Any ideas on how to accomplish this and what might possibly be
separating the names.




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
Combining Text from 2 Columns into 1 then Deleting the 2 Columns sleepindogg Excel Worksheet Functions 5 September 19th 08 12:36 AM
help with sorting text in columns to match other columns rkat Excel Discussion (Misc queries) 1 August 11th 06 03:42 AM
merge text from 2 columns into 1 then delete the old 2 columns sleepindogg Excel Worksheet Functions 4 March 30th 06 07:25 PM
Excel is automatically doing "text to columns" upon paste text. robert10000 Excel Discussion (Misc queries) 1 June 15th 05 07:49 PM
Linking text columns with text and data columns Edd Excel Worksheet Functions 0 March 17th 05 04:23 PM


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