Last name in a Name

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there any function to pick out last name in the name of a person eg.
Lakshmi Narasimha kamal Kumar. I want to pick out the last name ie kumar in
the cell
 
=MID(A1,FIND("~",SUBSTITUTE(A1," ","~",LEN(A1)-LEN(SUBSTITUTE(A1,"
",""))))+1,255)

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
try:

=MID(A1,FIND("#",SUBSTITUTE(A1," ","#",(LEN(A1)-LEN(SUBSTITUTE(A1," ",
"")))),1),255)
 
Back
Top