separating first and last names
=MID(A2,FIND("~",SUBSTITUTE(A2," ","~",LEN(A2)-LEN(SUBSTITUTE(A2,"
",""))))+1,255)
--
HTH
Bob Phillips
(replace somewhere in email address with gmail if mailing direct)
"Tom G." wrote in message
...
I have a column with a variety of first and last name variations:
Joe Smith
Joe John Jones
Tom Jack Stuart Apple
Maria Lois Lane
Johann Sebastian Bach
I need to be able to sort them on their last name. Note that there is no
comma separating their names and that there can be any number of names,
HOWEVER, the last name always appears LAST.
Probably, in order to make some sort of order out of this mess, it would
be
best if I create two separate columns: first names, last name.
Any help will be appreciated.
--
cheers,
Tom G
|