+ Reply to Thread
Results 1 to 3 of 3

Comparing two sets of numbers ...

  1. #1
    Registered User
    Join Date
    02-08-2009
    Location
    Groton, CT
    MS-Off Ver
    Excel 2003
    Posts
    5

    Question Comparing two sets of numbers ...

    HELP! I need to compare two sets of numbers as follows:

    Numbers are entered into A1:A10 (input set).
    Existing sets of numbers are in D7:H7 (set-1) and D8:H8 (set-2).

    I need to compare the numbers in sets 1 & 2 and count the number of numbers that match those in the input set.

    For example:
    input set = 12, 16, 65, 5, 95, 21, 3, 74, 41, 10

    Set-1 = 21, 49, 74, 32, 16 count = 3 (21, 74 & 16 match)
    Set-2 = 88, 95, 7, 65, 38 count = 2 (95 & 65 match)


    The 'count = ' numbers are the ones that I need to calculate. Is there any formula that I can use to figure this?

    Thank you,
    Mike

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Comparing two sets of numbers ...

    Mike, first off, please PM a Mod and ask for this thread to be moved to a more appropriate Forum - eg Worksheet Functions

    It's not clear where you want the results and if you want the results in one cell or not... to get the combined result in one cell:

    =SUMPRODUCT(COUNTIF(D7:H8,A1:A10))

  3. #3
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Comparing two sets of numbers ...

    Thread moved

+ 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