+ Reply to Thread
Results 1 to 2 of 2

Filtering data that do not appear on another worksheet

Hybrid View

  1. #1
    Registered User
    Join Date
    05-25-2011
    Location
    Earth
    MS-Off Ver
    365 latest builds
    Posts
    57

    Filtering data that do not appear on another worksheet

    Can anyone offer any suggestions on how to highlight, filter, or otherwise in someway mark all records on a spreadsheet that do not appear on another spreadsheet?

    On Worksheet1, I have columns of data for First, Middle, Last, Clock Number, Address 1, Address 2, City, State, Zip Code and Employment Status. On Worksheets 1 and 2, the data and columns are 100% identical, except Worksheet1 has names I want excluded from a database import process I'll be running on the 2nd worksheet.

    Is there an easy way or a quick VBA script someone could help with that would allow me to highlight or filter out of Worksheet1 any rows that are not in 2?

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,549

    Re: Filtering data that do not appear on another worksheet

    You could add a Helper column and use a COUNTIF function.
    Formula: copy to clipboard
    =COUNTIF(Worksheet2!LastName, LastName)


    Those that don't appear will have a zero count.

    If you need to combine the First, Middle and Last Name, you could have a Helper column on both sheets and concatenate the values. Then use the COUNTIF and filter.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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. Filtering one worksheet and transferring data to another workbooks worksheet
    By medic922 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-24-2012, 09:58 AM
  2. [VBA] Filtering Data from Excel worksheet
    By qiqinuinaifen128 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-14-2012, 12:04 PM
  3. [SOLVED] filtering out data using other worksheet
    By Jaypee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-29-2005, 04:05 AM
  4. Filtering data and replace on to an new worksheet
    By Jessie in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-08-2005, 11:05 AM
  5. Replies: 2
    Last Post: 04-15-2005, 02:06 PM

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