+ Reply to Thread
Results 1 to 8 of 8

Matching people per center of interest

  1. #1
    Registered User
    Join Date
    07-19-2012
    Location
    paris, france
    MS-Off Ver
    Excel 2010
    Posts
    15

    Matching people per center of interest

    Hello,

    I have two list of people with their center of interest (a, b, c, d, e, f, g...)

    I would like to do two things with that :
    a/ (random) If I have a list where two name of people are put one next to another, to have their name in green if they have a match (meaning at least one common center of interest) or in red if there is no match.
    b/ (all good possbilities) Generate a list of all possible combination of two names (one per list) where people have at least one common interest.

    Random (if there is a match, green, if no match, red)

    John a,b,c Linda a,b John Linda
    Doug c,f Martha e,f Marc Jonna
    Marc e,f,g Jonna a, g John Martha
    Doug Jonna
    Doug Marta


    All Good Possibilities
    John Linda
    John Jonna
    Doug Martha
    Marc Martha
    Marc Martha
    Marc Jonna

    Ideally I would like to have tis in excel formula and not in macro...

    Many thanks for your help,

    Tiger.matchtest1.xlsxmatchtest1.xlsxAttachment 302979

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Matching people per center of interest

    Hello Tiger find attached !

    You have mentioned martha 2 times for marc if that is based on their interest then Linda should have been mentioned twice for John.
    Attached Files Attached Files
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  3. #3
    Registered User
    Join Date
    07-19-2012
    Location
    paris, france
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Matching people per center of interest

    Many thanks Hemesh.
    Really impressed by the formula... I do not know for how long I would have to study excel to come ump with that...
    A question. How do you generate the all possiblities list from H10 to I15? I do not see formula there...
    Thanks,
    Tiger
    Last edited by tiger234; 03-09-2014 at 01:11 PM.

  4. #4
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Matching people per center of interest

    Formula is in C11 then dragged down and to the right

  5. #5
    Registered User
    Join Date
    07-19-2012
    Location
    paris, france
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Matching people per center of interest

    Thanks Hemesh. This I understood but as you noticed the list of all possibilities I have written from celles H10 to I15 is incomplete.
    I was wondering how to go from your table to a table of all possibilities in column such as the example I provide from H10 to I15.

    your table is giving John / Linda/ Jonna on one row.
    How to make it on two rows in a separate table like?
    John / Linda
    John / jonna

    Thanks,
    Tiger

  6. #6
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Matching people per center of interest

    Find attached

    formula used in H11 I have learned from XOR LX and after posting I was thinking about some alternative way so I came up with another simpler solution

    copy paste below in H11
    =IF(ROW(A1)>MAX($F$11:$F$13),"",INDEX($B$11:$B$13,MIN(IF(ROW(A1)<=$F$11:$F$13,ROW($F$11:$F$13)-10))))
    then hold control and shift together and hit enter to make it array formula and then release all three keys. Drag down.

    don't delete the helper column because helper column is extracting the data and other formula are based on that.
    Attached Files Attached Files
    Last edited by hemesh; 03-09-2014 at 03:17 PM.

  7. #7
    Registered User
    Join Date
    07-19-2012
    Location
    paris, france
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Matching people per center of interest

    Really impressed. Works like a charm. Congratulations!
    Thanks,
    Tiger!

  8. #8
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Matching people per center of interest

    You are Welcome !
    Thanks for the feedback !

    if your query is solved then mark thread as solved.
    Last edited by hemesh; 03-10-2014 at 04:47 AM.

+ 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. Replies: 1
    Last Post: 05-09-2013, 02:21 PM
  2. Replies: 6
    Last Post: 04-22-2013, 12:50 AM
  3. Replies: 0
    Last Post: 07-25-2012, 07:08 AM
  4. Replies: 0
    Last Post: 05-19-2012, 05:56 PM
  5. Replies: 1
    Last Post: 03-29-2005, 08:06 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