+ Reply to Thread
Results 1 to 2 of 2

Pair 2 people based on tiered criteria

  1. #1
    Registered User
    Join Date
    01-05-2021
    Location
    Massachusetts, USA
    MS-Off Ver
    MS office plus 2016
    Posts
    2

    Pair 2 people based on tiered criteria

    I need to pair 2 people at random, but I need a way to "try" and avoid pairing people with the same skills. I attached an example of my data but I can't seem a way to guide the randomizer that people with Skill one should not be paired together. I understand that to match everyone I will need to pair some people with the same skills but I need to add some sort of priority where its really important not to pair skill 1 but it can be ok with 5.

    The way that the priority needs to be is from left to right on skill levels

    has anyone attempted to do this before with any luck?
    Attached Files Attached Files

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,863

    Re: Pair 2 people based on tiered criteria

    Comment first:
    Well, as for skill 1 there is just 8 persons with (Y) skill 1, while 22 has no this skill. It's even woese with skill 2: 5/25

    But let's try as well as limits allow - I used Solver to assign people to pairs, trying to minimize similarities within pairs.

    (if you thing the similarity concept below is misunderstood keep reading to understand general approach, the other understanding of similarity is used in last 2 paragraphs of this post)

    And having in mind that we focus on avoiding same skill 1 more than skill 2 and cale least about skill 5 I used as a measure of similarity sum of 1 if skill 5 is the same, 2 if skil 4, 4 if skill 3, 8 if skill 2 and 16 if skill 1 is the same.

    Then tried to focus on minimize such situation
    Pair 1
    N N ...
    N N ...

    Pair 2
    N N ...
    Y Y ....

    in favor of

    Pair 1
    N N ...
    N Y ...

    Pair 2
    N N ...
    Y N ....

    Thus instead of just sums of measures of similarities used sum of squared similarity measures for pairs.

    As I said solver was used for it with Evolutionary method and 2 persons IDs being a variable assigned to a pair. The only constrain is that no person could be in two pairs :-) (and additional that person ID has to be larger or equal 1

    You may change the starting values in IDs (yellow cells) and re-run solver. The result will be probably different (different pairing), but I expect you will receive rather similar or exactly the same total similarity measure (orange cell, minimizing of it is the goal of the Solver).

    (2nd look at what similarity is)

    If you literally as you said just try to avoid both members having the same skill (both not having given skill is fine), then the formula calculating similarity (Q3 and down) shall be different:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    And Solver is able to generate pairs with all but 4th skill being possessed by not more than one pair member. See sheet 2
    Skill4 has Y/Y 23/7 so only 7 pairs can have YN the other 8 will be with both members skilled.
    Attached Files Attached Files
    Best Regards,

    Kaper

+ 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: 02-17-2021, 02:19 AM
  2. [SOLVED] Random Pair Generation with Multiple Criteria (index/match)
    By vankmj in forum Excel General
    Replies: 11
    Last Post: 05-21-2020, 11:35 AM
  3. Simple pair matching using dynamic criteria
    By Frederik_S in forum Excel General
    Replies: 5
    Last Post: 01-07-2018, 11:03 AM
  4. [SOLVED] Convert Single Pair of Columns to 3 Column (Pair) List
    By kencoburn in forum Excel General
    Replies: 7
    Last Post: 03-04-2017, 01:43 PM
  5. [SOLVED] Identify the pair and calculate the time difference if certain criteria match
    By Chippi in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-10-2014, 07:00 AM
  6. [SOLVED] Is populating one cell based on its unfilled pair possible?
    By JYTS in forum Excel General
    Replies: 4
    Last Post: 08-25-2014, 07:59 AM
  7. Pair down results based on input
    By pjbassdc in forum Excel General
    Replies: 6
    Last Post: 09-14-2011, 02:35 PM

Tags for this Thread

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