+ Reply to Thread
Results 1 to 4 of 4

EXCEL VBA: FILTER DATA then COMPARE DATA

  1. #1
    Registered User
    Join Date
    07-10-2017
    Location
    Philippines
    MS-Off Ver
    MS OFFICE 2016
    Posts
    38

    Question EXCEL VBA: FILTER DATA then COMPARE DATA

    I have two spreadsheets, named Sheet1 and Sheet2 which has the SAME Columns but different DATA INPUTS. What I want to do is FILTER data in the SHEET1 and SHEET2 and after filtering COMPARE the data's that are FILTERED.
    But what's happening to my code, even after filtering it still compares the unfiltered data.

    Can you help me to work this out?

    Here's my code for COMPARING.

    Please Login or Register  to view this content.

    Here's my code for FILTERING.
    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: EXCEL VBA: FILTER DATA then COMPARE DATA

    One suggestion
    - copy the filtered data to sheets "Filtered1" and "Filtered2"

    and:
    Please Login or Register  to view this content.
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  3. #3
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,218

    Re: EXCEL VBA: FILTER DATA then COMPARE DATA

    Perhaps something like this....
    Please Login or Register  to view this content.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  4. #4
    Registered User
    Join Date
    07-10-2017
    Location
    Philippines
    MS-Off Ver
    MS OFFICE 2016
    Posts
    38

    Re: EXCEL VBA: FILTER DATA then COMPARE DATA

    Thank you for the suggestion, trying it now! Thank you!

+ 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. How to compare old data to new data in excel 2013
    By venkatadulipala in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-10-2015, 06:04 AM
  2. Compare cell data and Column data and retrieve corresponding data
    By bharath.duraiswamy in forum Excel General
    Replies: 1
    Last Post: 11-06-2013, 05:59 AM
  3. How to compare data from two excel files?
    By ThueO in forum Excel General
    Replies: 2
    Last Post: 06-04-2013, 12:47 AM
  4. how compare data in 2 excel workbooks
    By Joan Yap in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-12-2013, 05:04 AM
  5. Macro that can filter excel data and copy the filtered data to another worksheet
    By glide2131 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-10-2013, 02:43 PM
  6. Compare data from a column in a crystal report to a column in excel and post data
    By dkrzysik in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-31-2012, 02:02 PM
  7. [SOLVED] Need help using VBA to compare data in Excel columns, then manipulating data
    By Sam Hill in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-08-2006, 01:00 PM

Tags for this Thread

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