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


Hi Guys,

I have some data in one colum that contains a full name (first *space*
last)

I want to split the names into two colums, and i know that you can do
it via text to colums, but it dosent see the space correctly..

If the names are seperated by two spaces it does it correctly.. but it
wont see the sigle space as a delimiter it just keeps the data in the
one (original) colum...

Any ideas..

Cheers


--
blander
------------------------------------------------------------------------
blander's Profile: http://www.excelforum.com/member.php...o&userid=36486
View this thread: http://www.excelforum.com/showthread...hreadid=568945

  #2   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Text to Colums

The "space" may not be a normal space it may be a non-breaking or special
width.
Try find and replace with a copy of the "space" in the find and a regular
space in the replace, they try text to column

"blander" wrote:


Hi Guys,

I have some data in one colum that contains a full name (first *space*
last)

I want to split the names into two colums, and i know that you can do
it via text to colums, but it dosent see the space correctly..

If the names are seperated by two spaces it does it correctly.. but it
wont see the sigle space as a delimiter it just keeps the data in the
one (original) colum...

Any ideas..

Cheers


--
blander
------------------------------------------------------------------------
blander's Profile: http://www.excelforum.com/member.php...o&userid=36486
View this thread: http://www.excelforum.com/showthread...hreadid=568945


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default Text to Colums

Insert 2 helper columns to the right of the column containing the names.

The example assumes the names are in column A starting at row 1

In cell B1 enter the following formula: =LEFT(A1,FIND(" ",A1,1))
In cell C1 enter the following formula: =TRIM(RIGHT(A1,LEN(A1)-FIND("
",A1,1)))

Copy both formulas to the row containing the last name. Select all the
cells in both formula columns and press Ctrl+C to copy them, and then click
EDIT on the menu and select PASTE SPECIAL. In the dialog box locate the
VALUES option button and click OK. The formulas are replaced with their
respective values. YOu can now remove the orginal column containing the
names from the spreadsheet w/o causing any problems.
--
Kevin Backmann


"blander" wrote:


Hi Guys,

I have some data in one colum that contains a full name (first *space*
last)

I want to split the names into two colums, and i know that you can do
it via text to colums, but it dosent see the space correctly..

If the names are seperated by two spaces it does it correctly.. but it
wont see the sigle space as a delimiter it just keeps the data in the
one (original) colum...

Any ideas..

Cheers


--
blander
------------------------------------------------------------------------
blander's Profile: http://www.excelforum.com/member.php...o&userid=36486
View this thread: http://www.excelforum.com/showthread...hreadid=568945


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


Thanks guys

Really appreciate your help!!


--
blander
------------------------------------------------------------------------
blander's Profile: http://www.excelforum.com/member.php...o&userid=36486
View this thread: http://www.excelforum.com/showthread...hreadid=568945

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


Ok, so it will do some of the data but not all of it.. even if it has
spaces between the data....


Like you can see in this shot, the top value did not change (even
though it had a space) but the ones underneath did change..


+-------------------------------------------------------------------+
|Filename: data.JPG |
|Download: http://www.excelforum.com/attachment.php?postid=5154 |
+-------------------------------------------------------------------+

--
blander
------------------------------------------------------------------------
blander's Profile: http://www.excelforum.com/member.php...o&userid=36486
View this thread: http://www.excelforum.com/showthread...hreadid=568945



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
Conversion to Text file format error Rob Excel Discussion (Misc queries) 1 June 26th 06 10:33 AM
text spilling over text and colums flutterby Excel Discussion (Misc queries) 2 January 11th 06 02:29 PM
Shade cell according to text? Ltat42a Excel Discussion (Misc queries) 0 January 3rd 06 06:37 PM
Using Concatenate function to generate text in Text Box Mary S. Charts and Charting in Excel 1 December 14th 05 08:55 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM


All times are GMT +1. The time now is 12:36 AM.

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"