+ Reply to Thread
Results 1 to 7 of 7

Seperation of last name from list

  1. #1
    Forum Contributor
    Join Date
    05-10-2011
    Location
    Central Ohio
    MS-Off Ver
    Excel 2000, and 2010
    Posts
    654

    Seperation of last name from list

    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
    Attached Files Attached Files
    Last edited by JO505; 12-25-2015 at 07:10 PM.

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Seperation of last name from list

    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.

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Seperation of last name from list

    Try this formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    ! It may not work for all strings.
    Attached Files Attached Files
    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

  4. #4
    Forum Contributor
    Join Date
    05-10-2011
    Location
    Central Ohio
    MS-Off Ver
    Excel 2000, and 2010
    Posts
    654

    Re: Seperation of last name from list

    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

  5. #5
    Forum Contributor
    Join Date
    05-10-2011
    Location
    Central Ohio
    MS-Off Ver
    Excel 2000, and 2010
    Posts
    654

    Re: Seperation of last name from list

    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
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    05-10-2011
    Location
    Central Ohio
    MS-Off Ver
    Excel 2000, and 2010
    Posts
    654

    Re: Seperation of last name from list

    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
    Attached Files Attached Files

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Seperation of last name from list

    Good deal. Thanks for the feedback!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Sentence seperation macro EX VB
    By MATU70 in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 03-21-2014, 08:49 AM
  2. Data seperation
    By sathishkm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-20-2013, 03:15 PM
  3. Words and number seperation.
    By Andy Stringer in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-15-2012, 04:45 AM
  4. Data seperation
    By skalynuik in forum Excel General
    Replies: 1
    Last Post: 03-31-2012, 10:01 AM
  5. Data Seperation
    By graeme86 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-09-2008, 11:30 AM
  6. [SOLVED] Conditional Seperation of Rows
    By Paul Shoemaker in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-27-2006, 10:30 PM
  7. [SOLVED] Date Seperation
    By MBlake in forum Excel General
    Replies: 2
    Last Post: 04-20-2005, 09:06 PM
  8. DDE Link Data Seperation
    By chewy in forum Excel General
    Replies: 0
    Last Post: 02-23-2005, 07:59 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1