+ Reply to Thread
Results 1 to 4 of 4

Finding duplicate data between sheets

  1. #1
    Registered User
    Join Date
    10-01-2010
    Location
    East midlands UK
    MS-Off Ver
    Excel 2007
    Posts
    2

    Finding duplicate data between sheets

    I have two sheets - one has a set of data which is a subset of the second, unfortunately an important data item exists on the second sheet that ought to be in the first but got excluded

    I need to select rows from the first sheet, having matched them in the second sheet using data fields that do exist in both sheets

    Any help gratefully received!

    Thanks
    Last edited by Nickgarn; 10-01-2010 at 10:45 AM.

  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: Finding duplicate data between sheets

    The construct I use for this is =ISNUMBER(MATCH())


    =ISNUMBER(MATCH(Sheet1!A1, Sheet2!A:A, 0))

    =ISNUMBER(MATCH(Sheet1!B1, Sheet2!B:B, 0))

    =AND(ISNUMBER(MATCH(Sheet1!A1, Sheet2!A:A, 0)), ISNUMBER(MATCH(Sheet1!B1, Sheet2!B:B, 0))



    You get the idea. These formulas will give you TRUE/FALSE answers.
    _________________
    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
    10-01-2010
    Location
    East midlands UK
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Finding duplicate data between sheets

    Quote Originally Posted by JBeaucaire View Post


    You get the idea. These formulas will give you TRUE/FALSE answers.
    Thank you very much - it worked!

  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: Finding duplicate data between sheets

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

+ 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