#1   Report Post  
Peter Rooney
 
Posts: n/a
Default

Thanks, Dave! :-)

Pete



"Dave Peterson" wrote:

Try copying from the newsgroup post, but paste it into the formula bar--not
directly into the cell.

=RIGHT(A1,LEN(A1)-FIND("^^",SUBSTITUTE(A1," ",
"^^",LEN(A1)-LEN(SUBSTITUTE(A1," ","")))))

(I broke the line feed at a position that won't hurt when you copy|paste.)

Peter Rooney wrote:

Bob,

Having a bit of trouble with this - it pastes into Excel in two cells and
when I try to concatenate them, I keep getting #VALUE!
I've looked repeatedly at what I have, but can't seem to find the error!

Pete

"Bob Phillips" wrote:

I assume you have names such as Amanda Bainbridge in one cell. You need to
extract the surname to sort on. In a helper column add this formula

=RIGHT(A1,LEN(A1)-FIND("^^",SUBSTITUTE(A1,"
","^^",LEN(A1)-LEN(SUBSTITUTE(A1," ","")))))

copy this for all names then sort all columns using this helper column as
the key.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Amanda Bainbridge" <Amanda wrote in
message ...
How do I make surnames appear alphabetically in Excel spreadsheets?




--

Dave Peterson

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
How do I sort alphabetically by last letter in Excel? andrewcodd Excel Discussion (Misc queries) 3 July 27th 05 04:09 PM
i want to list all my cd's alphabetically tangerine62 New Users to Excel 4 May 29th 05 12:18 AM
sort by alphabetically HOW CAN I SORT BY ALPHABETICALLY FROM A New Users to Excel 4 May 12th 05 05:44 AM
sorting names alphabetically when names may start with numbers John Smith Excel Discussion (Misc queries) 3 May 11th 05 08:06 PM
How do I arrange entries in a column alphabetically ferrymaster77 Excel Discussion (Misc queries) 1 January 21st 05 11:58 AM


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