+ Reply to Thread
Results 1 to 7 of 7

Counting Duplicate cells in multiple columns

  1. #1
    Registered User
    Join Date
    03-10-2009
    Location
    Colorado
    MS-Off Ver
    Excel 2003
    Posts
    5

    Counting Duplicate cells in multiple columns

    OK, I've looked high and low for an answer to this one and haven't found an answer I can use. I'm on Excel 2003 and have a sheet to track people who have read my emails. I want to know the answers to the questions below. I've included a fake sample to show what I'm looking at. The number of cells in each column is much higher and not the same per column. I've tried variations of MATCH, VLOOKUP, SUMPRODUCT, etc. but haven't found a good way to set up a formula.

    1_______2_______3
    Bob..... Fred......Harry
    Fred.....Bob.......Tom
    John.....Frank.....Fred
    Bill.......Harry......Mike
    Dave....Chris......Joe

    How many matching names are in 1, 2 & 3?
    How many matching names are in 1 & 2?
    How many matching names are in 2 & 3?
    How many matching names are in 1 & 3?

    Any help would be greatly appreciated. Thanks in advance!
    Last edited by NBVC; 03-11-2009 at 07:39 AM. Reason: Edited for clarification

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Counting Duplicate cells in multiple columns

    How many what are in 1, 2, and 3?


    To me it looks like the answer is always 3 from your sampleset.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    03-10-2009
    Location
    Colorado
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Counting Duplicate cells in multiple columns

    Sorry for any confusion. THe columns got lost when I posted so they may not be as clear. The names below "1" represent the people who read the first email.

    In my example, Bob read the 1st and 2nd email, but Fred read all three. Harry only read the 2nd and 3rd. So I'm looking for workable formulas that will cross-reference each column and give me a total count of matches.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Counting Duplicate cells in multiple columns

    See attached:

    Formula for 1&2&3:

    Please Login or Register  to view this content.
    Formula for 1&2:

    Please Login or Register  to view this content.
    Formula for 2&3:
    Please Login or Register  to view this content.
    Formula for 1&3:
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-10-2009
    Location
    Colorado
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Counting Duplicate cells in multiple columns

    That is awesome.

    Now if I could get a bit greedy and ask for a little bit more help. If I wanted to find the people who only were in 1&2 (and not 3), would I simply subtract the 1&2 total from the 1,2&3 total? Or is there a different formula I would want to use?

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Counting Duplicate cells in multiple columns

    That would be something like this:

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    03-10-2009
    Location
    Colorado
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Counting Duplicate cells in multiple columns

    Thanks. That's exactly what I was trying to figure out.

    PS. Cute kid

+ 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