+ Reply to Thread
Results 1 to 2 of 2

Excel Find and Replace Macro.

  1. #1
    Registered User
    Join Date
    02-10-2017
    Location
    usa
    MS-Off Ver
    8
    Posts
    3

    Excel Find and Replace Macro.

    Hi,
    I posted earlier but have looked at my problem again and managed get it so I need a simpler macro. I have two columns of data which I would like to match. I am looking for a macro that looks at a cell in column b, searches for the content of the cell in column a, and then replaces the matches in column a with values from a new column, column c. I will attach my specific excel file as well. In the file, the column "S" is the "a' column, which should be replaced. The column w is the search column, the phrases to search for, and the column v contains the matching phrases that should replace column s.

    However, there is another problem. Column a will return matches that I do not want changed. Manhattan, for example, refers to manhattan, ny in column a, and manhattan, kansas, in column b and c. I also have two columns with the states that the areas are in. Is it possible to insert a qualifier that says only execute the find and replace function if the state in the same row as the found cell matches the one that is in the searching and replacing cell row?

    Any help or referals on where to find such a macro would be appreciated.
    Will

  2. #2
    Registered User
    Join Date
    02-10-2017
    Location
    usa
    MS-Off Ver
    8
    Posts
    3

    Re: Excel Find and Replace Macro.

    attachment, this is just a sample of what my file looks like, it is too big to upload.
    Attached Files Attached Files

+ 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. Replies: 3
    Last Post: 11-25-2014, 06:08 AM
  2. [SOLVED] macro for Find and replace in Excel
    By flakedew in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-25-2012, 06:32 AM
  3. Optimizing Excel macro to find/replace with the list of data contained in the macro
    By Iceyburnz in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-17-2008, 08:41 PM
  4. find and replace macro in excel 97
    By nejmeh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-19-2006, 01:05 AM
  5. Need Help With Excel Macro To Find & Replace
    By Rclegg in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-14-2006, 03:47 PM
  6. [SOLVED] Find/Replace macro from excel to word
    By Matt in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-31-2006, 10:48 PM
  7. Find/Replace macro from excel into Word
    By Matt in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-28-2006, 11:40 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