+ Reply to Thread
Results 1 to 3 of 3

Names to Columns; incl (Honorific) Title, First Name, Middle Name(s), Last Name and Suffix

  1. #1
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    49,134

    Names to Columns; incl (Honorific) Title, First Name, Middle Name(s), Last Name and Suffix

    I recently (June 2025) responded to a thread from Len Silva asking for a way to separate names to columns, including (Honorific) Title, First Name, Middle Name(s), Last Name and Suffix. In fact, pretty much any combination, some or all of the above. (See link below).

    In the past, I'd have thought it was impossible to answer this with a formula, even one copied across and down. I would have resorted to VBA and, in fact, the OP was asking for/expecting a VBA solution.

    However, with Excel 365, I found it was/is possible to provide a single SPILLed formula taking into account all the OP's requirements (I think).

    Anyway, having provided that solution, I got to thinking that it could be improved on and make it easier to cope with more Titles and Suffices. To that end, I added a reference sheet where these parameters could be added or removed easily without having to "play" with the SPILL formula (with potentially disastrous consequences).

    The attached workbook contains the various stages of the development of the "final" solution. I have tried to test different combinations and I am aware of some limitations around single names, with or without titles, and Regnal Numbers (I, IV, V, VI). Hopefully, these are not show stoppers.

    As ever, any advice, comments and suggestions would be most welcome. I hope it proves useful. Enjoy!

    Original thread that prompted this Tip/Tutorial:
    Names to Columns

    I do volunteer work for non profits and faced with about 2000 names, each in one cell. I know all the normal solutions, Text to Columns, Left (Find) etc., but what do you do with two (or more) first name words or last name name words? What do you do with "John Van Dyke" or "Mary Ann Jones" or worse, "Mary Ann Van Dyke"? These are wealthy donors with honorifics; Professor, The Honorable, etc.. I could probably list all the multi word titles and suffixes and use MATCH, but how to deal with two (or more) word names?
    I'm sure many have faced this issue, looking for ideas,
    Thanks
    Len Silva?*
    Forum Contributor
    Join Date; 11/03/2009
    Location; Florida
    MS-Off Ver: Excel 365
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,450

    Re: Names to Columns; incl (Honorific) Title, First Name, Middle Name(s), Last Name and Su

    Hey Trevor,

    Trying to do this problem on a large genealogy file a few years ago. Names/Prefix like "Prince","King","Captain" or "Judge" were spoilers for me. They could be used as a first name or a title.

    Also there were always the different ways to abbreviate titles like: Jr, Jr., Junior which was hard to pull out, but your system could enter them separately. Then military abbreviations like: Lt. Col. which were hard to separate.

    I finally realized it would never be perfect for all datasets.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    49,134

    Re: Names to Columns; incl (Honorific) Title, First Name, Middle Name(s), Last Name and Su

    @MarvinP: Absolutely!

    As for the options for the spelling of the titles and suffices, that was the reason for creating the reference lists on a separate sheet and collating them.

    Even then, there are pitfalls - you have to put Mrs before Mr or the Regex will pick Mr for both/either.

    Fixing the issue with Van whatever was a bonus

+ 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] split name to first-middle-last-suffix names
    By k1dr0ck in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 08-03-2022, 03:03 AM
  2. [SOLVED] File name in title bar not in the middle
    By achammar in forum Excel General
    Replies: 4
    Last Post: 11-18-2021, 02:59 AM
  3. Separate first 2 names and last name with suffix
    By marj0909 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-22-2015, 11:15 PM
  4. [SOLVED] Function to switch last and first names leaving out a suffix
    By mattsgirl614 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-07-2014, 01:59 AM
  5. Replies: 6
    Last Post: 08-14-2014, 06:29 AM
  6. Replies: 1
    Last Post: 07-14-2013, 09:36 PM
  7. Replies: 2
    Last Post: 06-28-2012, 01:35 PM

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