+ Reply to Thread
Results 1 to 4 of 4

find, replace and rearrange a string

  1. #1
    Registered User
    Join Date
    06-20-2013
    Location
    Houston, TX
    MS-Off Ver
    Excel 2010
    Posts
    2

    find, replace and rearrange a string

    I have Column A with First Name, Column B with old Full Name, and Column C Old last name, Column D with New Last Name

    First Name |Old Full Name| Old Last Name |New Last Name
    Elvira |Elvira O'dell |O'dell |Dale

    Rows 1-50

    I want Excel to look to Column A (Elvira) , find same name old Full Name in Column B (Elvira O'dell), find old last name (O'dell) in column C and match with new last name (Dale) in column D, and return name as Dale, Elvira

    Please show me how to do this. Thank you.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,969

    Re: find, replace and rearrange a string

    Hi and welcome to the forum

    Why cant you just combine column D and column A?

    =D1&", "&A1
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    06-20-2013
    Location
    Houston, TX
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: find, replace and rearrange a string

    Quote Originally Posted by FDibbins View Post
    Hi and welcome to the forum

    Why cant you just combine column D and column A?

    =D1&", "&A1
    Elvira and Dale are usually not in order (in the same row).

    Actually
    Elvira & Elvira O'dell in 1 sheet
    Dale and O'dell in another sheet.
    Last edited by lillianng; 06-21-2013 at 06:27 AM.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,969

    Re: find, replace and rearrange a string

    Perhaps it would be easier to help if you upload a sample workbook so I can see what you are working with
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.

+ 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