+ Reply to Thread
Results 1 to 7 of 7

Change the way list of names is displayed

  1. #1
    Forum Contributor
    Join Date
    06-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2016
    Posts
    144

    Change the way list of names is displayed

    Hello.

    I need to convert a column of cells with names that look like this: SMITH John
    to this: J SMITH

    Previously I've been using Text to Columns, then =CONCATENATE(LEFT(B1,1)," ",A1)

    I'd like to do this without using text to columns though, is this possible?
    Last edited by Smally; 07-31-2014 at 10:53 AM.

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Change the way list of names is displayed

    Hi,

    From your one example I presume that middle names are not a feature of your set-up then?

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Contributor
    Join Date
    06-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2016
    Posts
    144

    Re: Change the way list of names is displayed

    There are only a couple of name that have middle names in them. But because there's so few, I don't mind editing them myself

  4. #4
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Change the way list of names is displayed

    You can use the following formula for names without any middle name:

    =MID(A1,SEARCH(" ",A1,1)+1,1)&" "&LEFT(A1,SEARCH(" ",A1,1)-1)

  5. #5
    Forum Contributor
    Join Date
    06-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2016
    Posts
    144

    Re: Change the way list of names is displayed

    Thanks. It works brilliantly

    Btw, what that method called where you've combined cells and text. I've always used concatenate myself

  6. #6
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Change the way list of names is displayed

    A small variation to the formula suggested by cbatrody to make it work for even if there is a middle name also.....
    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  7. #7
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Change the way list of names is displayed

    Or alternatively you may also try this......

    Please Login or Register  to view this content.

+ 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] Change list of names to numbers
    By nemo74 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-27-2013, 04:45 PM
  2. Change tab names from a list
    By RobertMika in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-23-2011, 07:05 AM
  3. Square shapes change it's names when value in the list changed
    By captcha in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-21-2011, 02:28 PM
  4. Change formula when selecting different names from drop down list
    By processchip in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-17-2011, 10:28 AM
  5. Replies: 5
    Last Post: 12-11-2010, 01:43 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