RE: sorting by name
- From: dannyboy8 <dannyboy8@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 28 Jun 2009 06:44:01 -0700
Thanks Mike, strangely, it works on some cells and not others, wonder why
that would be?
"Mike H" wrote:
Hi,.
You need a helper column to extract the last name with this formula
=MID(SUBSTITUTE(A1," ","~",LEN(A1)-LEN(SUBSTITUTE(A1,"
",""))),FIND("~",SUBSTITUTE(A1," ","~",LEN(A1)-LEN(SUBSTITUTE(A1,"
",""))))+1,256)
having extracted the last names in the new column sort your data on this
last name.
Mike
"dannyboy8" wrote:
if I have names formatted by Mr and Mrs John Doe all in the same column, is
thee a way to sort by last name in excel 2007? the only sort I can figure out
is alpha by 1st letter, so it begins sorting the list by the 1st letter of
the 1st names. Thanks!
- Follow-Ups:
- Re: sorting by name
- From: Ragdyer
- RE: sorting by name
- From: Mike H
- Re: sorting by name
- References:
- sorting by name
- From: dannyboy8
- RE: sorting by name
- From: Mike H
- sorting by name
- Prev by Date: Excel Macro
- Next by Date: RE: Excel Macro
- Previous by thread: RE: sorting by name
- Next by thread: RE: sorting by name
- Index(es):
Relevant Pages
|