+ Reply to Thread
Results 1 to 9 of 9

retrieving names LN, FN, MN

  1. #1
    Registered User
    Join Date
    07-28-2015
    Location
    Japan
    MS-Off Ver
    Windows10, Microsoft Prof Plus 2019
    Posts
    84

    retrieving names LN, FN, MN

    Dear All,

    I have a list of names, as indicated below "ORIGINAL". What i wanted from this source data, is to rearranged it from Last name, First name, and Middle names
    that will work for all types of names. SInce some of the names has one, or two names, while the last contains upto three names.

    Thanks

    ORIGINAL SHOULD BE
    RIO R. ALCANTARA 1 ALCANTARA, Rio R.
    RICARDO D. ANTIPOLO 2 ANTIPOLO, Ricardo D.
    MARY JOY N. DURAN-MORTEL 3 DURAN-MORTEL, Mary Joy N.
    AURELIO L. EXALTACION JR. 4 EXALTACION, Aurelio Jr. L.
    DOMINI N. FAÑGON-KITADE 5 FAÑGON-KITADE, Domini N.
    KRISTINE MARGRET M. MALANG 6 MALANG, Kristine Margret M.
    EVANGELINE T. ONG JIMENEZ-DUCROCQ 7 ONG JIMENEZ-DUCROCQ, Evangeline T.
    Attached Files Attached Files

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: retrieving names LN, FN, MN

    Try

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


    copy down
    Last edited by shukla.ankur281190; 10-21-2019 at 04:10 AM.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: retrieving names LN, FN, MN

    Hopefully, your expected answer for No 4 is incorrect!!

    =TRIM(MID(A3,SEARCH(".",A3)+1,255))&", "&PROPER(LEFT(A3,SEARCH(".",A3)-1))&"."
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Registered User
    Join Date
    07-28-2015
    Location
    Japan
    MS-Off Ver
    Windows10, Microsoft Prof Plus 2019
    Posts
    84

    Re: retrieving names LN, FN, MN

    Thanks so much shukla.ankur281190

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,882

    Re: retrieving names LN, FN, MN

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  6. #6
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,410

    Re: retrieving names LN, FN, MN

    Here is a more compact formula that you can consider...

    =MID(A3&", "&A3,FIND(".",A3)+2,LEN(A3)+1)
    Last edited by Rick Rothstein; 10-21-2019 at 05:08 AM.

  7. #7
    Registered User
    Join Date
    07-28-2015
    Location
    Japan
    MS-Off Ver
    Windows10, Microsoft Prof Plus 2019
    Posts
    84

    Re: retrieving names LN, FN, MN

    thanks for the help Rick

  8. #8
    Registered User
    Join Date
    07-28-2015
    Location
    Japan
    MS-Off Ver
    Windows10, Microsoft Prof Plus 2019
    Posts
    84

    Re: retrieving names LN, FN, MN

    thanks for the reminder, alansidman

  9. #9
    Registered User
    Join Date
    07-28-2015
    Location
    Japan
    MS-Off Ver
    Windows10, Microsoft Prof Plus 2019
    Posts
    84

    Re: retrieving names LN, FN, MN

    thanks Glenn

+ 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. Retrieving file names from an http server in VBA - Dir won't work
    By blackworx in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-05-2020, 02:40 AM
  2. retrieving node names
    By twozedz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-21-2016, 08:32 AM
  3. [SOLVED] Retrieving top-5 names
    By versuswhat in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-16-2015, 02:02 PM
  4. Excel macro for retrieving file names
    By Toadums in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 01-17-2008, 07:54 PM
  5. [SOLVED] Retrieving Values Saved in Names
    By Steve Drenker in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-03-2006, 11:55 PM
  6. Retrieving Names of Worksheets
    By Brad Sumner in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-12-2005, 02:05 PM
  7. Retrieving Values Using Range Names as References
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 08-25-2005, 02:16 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