+ Reply to Thread
Results 1 to 7 of 7

Question on search and replace

  1. #1
    Registered User
    Join Date
    07-30-2019
    Location
    Brunei
    MS-Off Ver
    Microsoft Office 2016
    Posts
    3

    Question Question on search and replace

    Good Morning All,

    Would like to seek assistance from anyone who can help to solve my issue.

    I have a table with the following information

    Column A - ID
    Column B - Membership Number

    Column C - ID
    Column D - ID
    Column E - ID
    Column F - ID

    Column A and B are related to each other.
    How can I replace Column C, D, E and F with Membership Number when it found a match when compare to Column A?

    Thank you in advance!

  2. #2
    Valued Forum Contributor
    Join Date
    02-02-2016
    Location
    Indonesia
    MS-Off Ver
    Office 365
    Posts
    1,001

    Re: Question on search and replace

    Try this:

    Please Login or Register  to view this content.

  3. #3
    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,926

    Re: Question on search and replace

    If you are looking to replace a cell's contents with data from another cell, you will need VBA for that, you wont be able to do it with formulas.
    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

  4. #4
    Registered User
    Join Date
    07-30-2019
    Location
    Brunei
    MS-Off Ver
    Microsoft Office 2016
    Posts
    3

    Re: Question on search and replace

    Quote Originally Posted by Akuini View Post
    Try this:

    Please Login or Register  to view this content.
    Good Afternoon Akuini,

    It work! I've been looking for the solution for weeks!

    Thank you very much!

  5. #5
    Registered User
    Join Date
    07-30-2019
    Location
    Brunei
    MS-Off Ver
    Microsoft Office 2016
    Posts
    3

    Re: Question on search and replace

    Quote Originally Posted by FDibbins View Post
    If you are looking to replace a cell's contents with data from another cell, you will need VBA for that, you wont be able to do it with formulas.
    Do you mean that in general, anything that require the change of data in a cell that already contain existing data, it will require VBA?

  6. #6
    Valued Forum Contributor
    Join Date
    02-02-2016
    Location
    Indonesia
    MS-Off Ver
    Office 365
    Posts
    1,001

    Re: Question on search and replace

    You're welcome, glad to help, & thanks for the feedback.

  7. #7
    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,926

    Re: Question on search and replace

    Quote Originally Posted by mel9338 View Post
    Do you mean that in general, anything that require the change of data in a cell that already contain existing data, it will require VBA?
    Yes, that is correct. Formulas can only work on the cell they reside in, they "pull" info in. They cannot "push" anything to other cells.

+ 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. Search and replace Text Replace Formula
    By Vonblack in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-21-2019, 11:30 AM
  2. Macro: Search and replace: Replace using a cell reference
    By kalyan46 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-11-2019, 07:11 PM
  3. [SOLVED] How to replace specific text search for any date search
    By katiedee1625 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-08-2018, 11:22 AM
  4. Replies: 4
    Last Post: 08-03-2006, 02:00 PM
  5. search and replace question
    By Gary Keramidas in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-26-2005, 11:05 AM
  6. [SOLVED] Search and Replace Question
    By Rebecca in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 04-11-2005, 12:06 AM
  7. Simple Search and Replace Question
    By Rebecca in forum Excel General
    Replies: 2
    Last Post: 04-03-2005, 11:07 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