I am having a problem separating the last name in attached list. The problem is with names as shown such as 'Robert De Niro', I want to show the last name as 'De Niro' and not 'Niro'.
I think the file will explain this better.
Thanks
Jim O
I am having a problem separating the last name in attached list. The problem is with names as shown such as 'Robert De Niro', I want to show the last name as 'De Niro' and not 'Niro'.
I think the file will explain this better.
Thanks
Jim O
Last edited by JO505; 12-25-2015 at 07:10 PM.
I'm thinking this will be nearly impossible to achieve with formulas.
There are too many possibilities and no way to define the logic to account for those possibilities.
What about people with 2 word first names:
Billy Bob Thornton
Edward Van Halen
How can you tell Excel that Billy Bob is a first name while Van Halen is the last name?
Good luck!
Last edited by Tony Valko; 12-25-2015 at 03:27 PM.
Biff
Microsoft MVP Excel
Keep It Simple Stupid
Let's Go Pens. We Want The Cup.
Try this formula
Formula:Please Login or Register to view this content.
! It may not work for all strings.
Last edited by AlKey; 12-25-2015 at 04:24 PM.
If you like my answer please click on * Add Reputation
Don't forget to mark threads as "Solved" if your problem has been resolved
"Nothing is so firmly believed as what we least know."
--Michel de Montaigne
Thanks,
I was afraid of something like that. I was hoping that one of the gurus on this forum had a work around.
Jim O
I like the formula. I tried using the search function to search an exception list
of special names (first names with 2 names), but I don't know how to include all
of the names on the special list.
In theory it could work.
Jim O
Using AlKey's formula in conjunction with a MATCH, from a list of 'special' names, I have a solution that should work for most of the entries.
Thank to Tony and Al for their input.
Jim O
Good deal. Thanks for the feedback!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks