A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Setting up and Configuration
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Sort column by second word in cells



 
 
Thread Tools Display Modes
  #1  
Old September 7th, 2006, 08:28 PM posted to microsoft.public.excel.setup
[email protected]
external usenet poster
 
Posts: 19
Default Sort column by second word in cells

First & last name are entered in the cells of column A.

Anyone aware of a procedure that will sort column A by the second word in
thr cells (last name)?

Or perhaps, a procedure that will reverse the position of the 2 words in
each cell (move last name to the first position)?

Or finally, move one of the names into a second cell? (for a column with
about 3,000 entries)

Grasping for straws....
  #2  
Old September 7th, 2006, 09:07 PM posted to microsoft.public.excel.setup
Gord Dibben
external usenet poster
 
Posts: 20,252
Default Sort column by second word in cells

Generally you would swap the names around using a formula or use DataText to
Columns to split into two separate columns.

To swap see Chip Pearson's site for formulas

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

If just two names in the cell I would suggest that Text to Columns with a space
delimiter would be the easiest.


Gord Dibben MS Excel MVP

On Thu, 7 Sep 2006 12:28:01 -0700,
wrote:

First & last name are entered in the cells of column A.

Anyone aware of a procedure that will sort column A by the second word in
thr cells (last name)?

Or perhaps, a procedure that will reverse the position of the 2 words in
each cell (move last name to the first position)?

Or finally, move one of the names into a second cell? (for a column with
about 3,000 entries)

Grasping for straws....


 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.