![]() |
Last name in a Name
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 |
Last name in a Name
=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) "yshridhar" wrote in message ... 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 |
Last name in a Name
try:
=MID(A1,FIND("#",SUBSTITUTE(A1," ","#",(LEN(A1)-LEN(SUBSTITUTE(A1," ", "")))),1),255) "yshridhar" wrote: 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 |
Last name in a Name
Thanks alot Mr. Toppers.
Sridhar "Toppers" wrote: try: =MID(A1,FIND("#",SUBSTITUTE(A1," ","#",(LEN(A1)-LEN(SUBSTITUTE(A1," ", "")))),1),255) "yshridhar" wrote: 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 |
All times are GMT +1. The time now is 03:06 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com