+ Reply to Thread
Results 1 to 3 of 3

Default Compare 2 sheets and delete entire row if don't match

  1. #1
    Forum Contributor
    Join Date
    08-29-2006
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    300

    Default Compare 2 sheets and delete entire row if don't match

    Dear all
    I have 2 excel sheet which I want to compare Sheet1 column E to Sheet2 column A and if they match I keep the data on Sheet2 but if they don't match I want to delete entire row on Sheet2. These sheets have thousands of rows Is this possible?

    Thank you for your help

  2. #2
    Forum Contributor
    Join Date
    10-19-2012
    Location
    Omaha, Nebraska USA
    MS-Off Ver
    Excel 2010
    Posts
    249

    Re: Default Compare 2 sheets and delete entire row if don't match

    Hi,

    The following code should do what you are describing.

    Please Login or Register  to view this content.
    Hope it helps,

    Dan

  3. #3
    Forum Contributor
    Join Date
    08-29-2006
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    300

    Re: Default Compare 2 sheets and delete entire row if don't match

    Thank you very much. I m not at work I will try on my return back to work. It seems like what o wanted

    Thanks again

+ 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] Compare two columns to check if difference is less then 100 then delete entire row..
    By tissumon in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-01-2014, 09:42 PM
  2. Compare cell from two sheets, copy entire row to current sheet
    By nguerra in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-09-2014, 02:00 AM
  3. Compare two cells, if blank delete entire row
    By taichi56 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-03-2013, 02:05 PM
  4. [SOLVED] Not sure if this is possible - compare 1 cell vs. entire column for a > 50% match
    By jc19au in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-08-2012, 08:42 PM
  5. Replies: 6
    Last Post: 05-24-2012, 09:14 AM
  6. Compare two sheets and delete row if match found
    By Steinwall in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-13-2011, 03:25 PM
  7. Compare Values in 2 columns and Copy the entire row upon match
    By tachytank in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-07-2011, 01:42 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