Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / July 2006

Tip: Looking for answers? Try searching our database.

Dividing first & last names?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Digital2k - 16 Jul 2006 13:48 GMT
Is it possible to divide first and last names that have a space between them
is one cell and put copy them to two separate cells?
Thanks,
Digital2k
MartinW - 16 Jul 2006 14:03 GMT
Hi Digital2k,

Data>Text to Columns  will do that admirably.

HTH
Martin
Digital2k - 16 Jul 2006 14:40 GMT
Thank you Martin,
but I'm not an expert. I'm not clear on what I'm supposed to do with this.
The Full name is in column (A) I want the first name in column (B) and the
last name in column (C).
Where would I use Data>Text at?
Digital2k

> Hi Digital2k,
>
> Data>Text to Columns  will do that admirably.
>
> HTH
> Martin
daddylonglegs - 16 Jul 2006 14:58 GMT
Data > Text to columns will keep the first name in column A and move th
second to column B.

If you still want to retain the full name in column A then copy colum
A to column B, select column B and use Data menu > Text to column
option with space as delimiter.

Alternatively, using formulas, in B1

=LEFT(A1,FIND(" ",A1)-1)

and in C1

=REPLACE(A1,1,FIND(" ",A1),""
MartinW - 16 Jul 2006 15:02 GMT
Hi Digital2K,

Highlight all of your names in column A.
Goto Data>Text to Columns.
In the first page of the wizard select delimited then click next.
In the second page of the wizard check space (make sure all other
options are unchecked.) then click next.
In the third page in destination put $B$1 and click finish.

These directions are for Excel 2000, if you have a different version
the process may be a little different but the basics should be the same.

HTH
Martin

> Thank you Martin,
> but I'm not an expert. I'm not clear on what I'm supposed to do with this.
[quoted text clipped - 9 lines]
>> HTH
>> Martin
Digital2k - 16 Jul 2006 19:15 GMT
Thank you to all!!
Took awhile but I'm learning thanks to this great forum.
Digital2k

> Hi Digital2K,
>
[quoted text clipped - 25 lines]
>>> HTH
>>> Martin
Bob Phillips - 16 Jul 2006 15:03 GMT
Select the column, go to Data>Text To Columns, click the delimited button,
check space delimiter box, and Finish

Signature

HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

> Thank you Martin,
> but I'm not an expert. I'm not clear on what I'm supposed to do with this.
[quoted text clipped - 9 lines]
> > HTH
> > Martin
Michael Bednarek - 17 Jul 2006 10:18 GMT
>Is it possible to divide first and last names that have a space between them
>is one cell and put copy them to two separate cells?

Define first and last name.

Any simple solution will not produce the required results for other than
the most simple cases. Consider: John Fitzgerald Kennedy, Jan de Beer,
Sir Peter Ustinov, Marshall Bruce Mathers III.

Signature

Michael Bednarek   http://mbednarek.com/   "POST NO BILLS"

Digital2k - 17 Jul 2006 10:56 GMT
OK, What would be your solution is a case like your example?
Digital2k

>>Is it possible to divide first and last names that have a space between
>>them
[quoted text clipped - 5 lines]
> the most simple cases. Consider: John Fitzgerald Kennedy, Jan de Beer,
> Sir Peter Ustinov, Marshall Bruce Mathers III.
David McRitchie - 17 Jul 2006 11:48 GMT
Michael is just giving an advisory notice that you may have to
tweak the results.   With programming one has more control and
can write a bunch of exceptions and manually correct others.   Something
made more difficult if relying on Worksheet Formulas and/or
starting over each time with  a listing.    Examples for three or
four names is a bit rough considering that the OP said they
start with first and last names meaning no titles and somebody
presumably removed extraneous initials would leave only
compound first names and compound last names as a problem.

The obvious answer would be that CHAR(160) were included
in compound names (including III and Jr, Sr),  no titles are included,
and CHAR(160) is treated same as  space for sorting.  But it
also depends on who the list is intended for.

> OK, What would be your solution is a case like your example?
Digital2k - 17 Jul 2006 12:25 GMT
Thank You David!
Digital2k

> Michael is just giving an advisory notice that you may have to
> tweak the results.   With programming one has more control and
[quoted text clipped - 12 lines]
>
>> OK, What would be your solution is a case like your example?

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.