+ Reply to Thread
Results 1 to 9 of 9

Data Comparison - Multi criteria

Hybrid View

  1. #1
    Registered User
    Join Date
    07-07-2015
    Location
    Cypress
    MS-Off Ver
    2013
    Posts
    5

    Data Comparison - Multi criteria

    Hello,

    I am new here and really enjoy seeing how helpful everyone has been. That said, I need a little help myself.

    I have a workbook with 4 worksheets. I need to compare data in the 1st worksheet to data in the other three worksheets and find the matches.

    All worksheets have the following columns: Full Name, Address, Phone #.

    A match is defined as having the same full name AND either the same address OR phone #. It is not a match if only one criteria is met.

    Can someone please help me? Will INDEX/MATCH handle this?


    Thanks,
    Rick

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Data Comparison - Multi criteria

    Post a SMALL sample file and show us what results you expect.

    20 rows and a few columns worth of data is plenty. The more "junk" you put in the file the harder it makes it to "analyze" (sift through) the data to solve your problem.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    07-07-2015
    Location
    Cypress
    MS-Off Ver
    2013
    Posts
    5

    Re: Data Comparison - Multi criteria

    Thanks Tony. A sample file can be found here: https://drive.google.com/open?id=0B4...FZxeXpMdXNKb0E

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Data Comparison - Multi criteria

    OK, I downloaded the file but I'm not sure what to do with it!

  5. #5
    Registered User
    Join Date
    07-07-2015
    Location
    Cypress
    MS-Off Ver
    2013
    Posts
    5

    Re: Data Comparison - Multi criteria

    Well, I need to figure out a way to find the 'matches' between the two worksheets. But a 'match' is when full name AND (address OR phone #) are the same. Does that make sense?

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Data Comparison - Multi criteria

    Will one list be longer/shorter than the other?

    Typically, you'd want to compare the shorter list to the longer list. This takes fewer formulas.

    Which phone number needs to match? Most entries have 3 phone numbers. The numbers on Sheet2 have dashes but the numbers on Sheet1 don't have dashes.

    To be perfectly honest, this looks like a nightmare!

  7. #7
    Registered User
    Join Date
    07-07-2015
    Location
    Cypress
    MS-Off Ver
    2013
    Posts
    5
    Quote Originally Posted by Tony Valko View Post
    Will one list be longer/shorter than the other?

    Typically, you'd want to compare the shorter list to the longer list. This takes fewer formulas.

    Which phone number needs to match? Most entries have 3 phone numbers. The numbers on Sheet2 have dashes but the numbers on Sheet1 don't have dashes.

    To be perfectly honest, this looks like a nightmare!
    Yes, one list will almost always be longer than the other. I will be using the home/main number only. And I can massage the phone number data to have them formatted identically.

    I was hoping this wasn't that difficult, but maybe that was wishful.

  8. #8
    Registered User
    Join Date
    07-07-2015
    Location
    Cypress
    MS-Off Ver
    2013
    Posts
    5

    Re: Data Comparison - Multi criteria

    Tony,

    Can you think of an easier way that would achieve my goal? Maybe break this up into smaller parts, then concat result sets at the end, maybe?

  9. #9
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Data Comparison - Multi criteria

    In the sample file there are no matches so it's kind of difficult to come up with a good suggestion.

    It would be better to make all the phone numbers all the same format using the dashes.

    Can you post an updated file that includes a few matches and tell/show me which entries are the matches?

+ 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. New & Lost: Multi Criteria & Multi Row INDEX, SMALL, MATCH...
    By morleyp in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-23-2014, 12:40 PM
  2. Large multi criteria / Vlookup/Choose Multi criteria
    By deanusa in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-20-2014, 01:48 AM
  3. Count it multi criteria accross multi cells
    By jfoley5197 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-10-2013, 03:42 PM
  4. SUMIF multi criteria from data in other sheet
    By rz6657 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-25-2012, 03:53 PM
  5. multi-column comparison and lookup
    By 7starmantis in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-21-2009, 11:55 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