+ Reply to Thread
Results 1 to 3 of 3

Question regarding to text

  1. #1
    Registered User
    Join Date
    08-09-2010
    Location
    Eilat
    MS-Off Ver
    Excel 2003
    Posts
    20

    Question regarding to text

    hello i have a simple question i hope somebody can help me out.

    i have a long list of first name and last name in the same cell and the order of it is first name and afterwards last name.
    i was wondering if there is a formula of some sort that will change the position of the text inside the cell so it will be last name then first name instead.

    i hope i have made myself clear enough.

    thanks for the support.
    Amir

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Question regarding to text

    Please attach a sample file with dummy data.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Question regarding to text

    If you simply want to change FIRST LAST to LAST FIRST (no comma, and always one first name and one last name) then assuming your list is in A1:A100, in B1 use:

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

    Fill that down to B100. Then copy B1:B100, select A1 and choose PasteSpecial > Values. You can then delete column B.

+ 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.6.0 RC 1