+ Reply to Thread
Results 1 to 3 of 3

Thread: Challenge: Copy across surname

  1. #1
    Registered User
    Join Date
    07-31-2006
    Posts
    2

    Challenge: Copy across surname

    HI,

    I have a list of 60,000 names in A column in different formats.

    Example:
    Mr John Smith
    Mr and Mrs B & A Jones
    Z Houlous

    Given the massive amount of names and the myriad of different formats of name using 'Test to Columns' and 'sorting' is not an option.

    Is there a formulae or series of formuleas I could use to extract the surnames, which will ALWAYS be the last name to the right. I thought maybe an advanced lookup or something.

    Anybody willing to accept the challenge?

    Cheers

  2. #2
    Dave Peterson
    Guest

    Re: Challenge: Copy across surname

    =RIGHT(A1,LEN(A1)-FIND("^^",SUBSTITUTE(A1," ",
    "^^",LEN(A1)-LEN(SUBSTITUTE(A1," ","")))))

    notyetnoob wrote:
    >
    > HI,
    >
    > I have a list of 60,000 names in A column in different formats.
    >
    > Example:
    > Mr John Smith
    > Mr and Mrs B & A Jones
    > Z Houlous
    >
    > Given the massive amount of names and the myriad of different formats
    > of name using 'Test to Columns' and 'sorting' is not an option.
    >
    > Is there a formulae or series of formuleas I could use to extract the
    > surnames, which will ALWAYS be the last name to the right. I thought
    > maybe an advanced lookup or something.
    >
    > Anybody willing to accept the challenge?
    >
    > Cheers
    >
    > --
    > notyetnoob
    > ------------------------------------------------------------------------
    > notyetnoob's Profile: http://www.excelforum.com/member.php...o&userid=36968
    > View this thread: http://www.excelforum.com/showthread...hreadid=566882


    --

    Dave Peterson

  3. #3
    Registered User
    Join Date
    07-31-2006
    Posts
    2
    Wow thanks Dave thats excellent....

    Works a treat..

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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.2.0