#1   Report Post  
Posted to microsoft.public.excel.misc
CW CW is offline
external usenet poster
 
Posts: 54
Default Alphabetical Lists

I recieved a list that contains names listed first name then last name in the
same cell. Is there a way to either sort last name first or to convert this
to separate the cells?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 94
Default Alphabetical Lists


CW wrote:
I recieved a list that contains names listed first name then last name in the
same cell. Is there a way to either sort last name first or to convert this
to separate the cells?


Hi CW,

You can split up the names in to two or more cells if you highlight
your list. Then go to Data - Text To Colums here Chose Delimited and
press next. Chose the delimier your list is using (Might be Space) and
press finish. All the names should be split into diffrent cells.

Regards,
Bondi

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 430
Default Alphabetical Lists

Try this,
highlight your cells and the go 'Data'...'text to
columns'....'delimited'...put the check mark in the 'space' box and click
'Next' and then 'finish'

This should seperate the 1st and last names into 2 columns and you can sort
via the last name. (This is assuming you have a space between the 1st and
last names in the original cell.)

If you then want to put the names back together in one cell you used the
CONCATENATE function.

"CW" wrote:

I recieved a list that contains names listed first name then last name in the
same cell. Is there a way to either sort last name first or to convert this
to separate the cells?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7,247
Default Alphabetical Lists

See the Text To Columns tool on the Data menu.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"CW" wrote in message
...
I recieved a list that contains names listed first name then
last name in the
same cell. Is there a way to either sort last name first or to
convert this
to separate the cells?



  #5   Report Post  
Posted to microsoft.public.excel.misc
CW CW is offline
external usenet poster
 
Posts: 54
Default Alphabetical Lists

Thanks everyone!

"Chip Pearson" wrote:

See the Text To Columns tool on the Data menu.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"CW" wrote in message
...
I recieved a list that contains names listed first name then
last name in the
same cell. Is there a way to either sort last name first or to
convert this
to separate the cells?






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Alphabetical Lists

CW

To split into two cells...................

It may as simple as DataText to ColumnsDe-limited bySpace.

Then again, if you have cells with more than just two names or a middle initial,
you may require something else.

I would recommend Chip Pearson's site.

http://www.cpearson.com/excel/FirstLast.htm


Gord Dibben MS Excel MVP

On Tue, 11 Jul 2006 07:51:02 -0700, CW wrote:

I recieved a list that contains names listed first name then last name in the
same cell. Is there a way to either sort last name first or to convert this
to separate the cells?


Gord Dibben MS Excel MVP
  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Alphabetical Lists

You will need to separate into two columns to sort:

Assuming names are separated by (at least) one blank then if data is A1:

in B1 (first Name) put =TRIM(LEFT(A1,FIND(" ",A1)-1))
in C1 (Lastname) put =TRIM(RIGHT(A1,LEN(A1)-FIND(" ",A1)))

Copy these formulae down as required

TRIM will remove extraneous blanks.

Sort by Column C and then B

HTH

"CW" wrote:

I recieved a list that contains names listed first name then last name in the
same cell. Is there a way to either sort last name first or to convert this
to separate the cells?

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
Help with Lists... Corey Excel Discussion (Misc queries) 0 July 5th 06 08:39 PM
Lists... Corey Excel Discussion (Misc queries) 0 July 5th 06 08:34 PM
VLOOKUP and Multi Lists dpatte601 New Users to Excel 6 May 17th 06 10:40 AM
Excel - need a function to compare lists JerryMatson Excel Worksheet Functions 1 November 24th 05 04:09 PM


All times are GMT +1. The time now is 12:39 PM.

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"