+ Reply to Thread
Results 1 to 4 of 4

Comparing data on two worksheets and finding non matches

  1. #1
    Registered User
    Join Date
    09-11-2009
    Location
    Britain
    MS-Off Ver
    Excel 2000
    Posts
    2

    Comparing data on two worksheets and finding non matches

    Hi

    I'm an Excel newbie so bear with me!

    I have an Excel file with two worksheets in it. Both worksheets contain a list of names and various other bits of data.

    What I need to do is compare the names in the two worksheets and find all the ones in Worksheet A that do not appear in Worksheet B and copy them into a new Worksheet C.

    There must be a way to do this in Excel but the Help menus aren't giving much away!

    Does anyone have any ideas? I'd be really grateful!
    Jude

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Comparing data on two worksheets and finding non matches

    Let's say the names are in column A on both sheets. There needs to be "titles" in row 1, the data starting at row 2.

    1) On SheetA put this formula in an empty cell on row2:
    =ISNUMBER(MATCH(A1,SheetB!A:A,0))

    2) Copy that down the whole data set. You now have a series of TRUE/FALSE answers.

    3) Turn on Data > Filter > Autofilter

    4) Filter the new column by "FALSE"

    5) Copy all the visible rows (all at once) to SheetC

    6) Turn off the Autofilter, delete the helper column (optional)
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    09-11-2009
    Location
    Britain
    MS-Off Ver
    Excel 2000
    Posts
    2

    Re: Comparing data on two worksheets and finding non matches

    Thanks JB, I'll give that a try!

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Comparing data on two worksheets and finding non matches

    If that takes care of your need, be sure to EDIT your original post, click Go Advanced and mark the PREFIX box [SOLVED].


    (Also, use the blue "scales" icon in our posts to leave Reputation Feedback, it is appreciated)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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