+ Reply to Thread
Results 1 to 5 of 5

22 people randomized into 4 groups

  1. #1
    Registered User
    Join Date
    11-23-2006
    Posts
    39

    22 people randomized into 4 groups

    I am a teacher with little spare time at the start of a lesson, I like to do quizzes with my tutor group and wish to separate 22 people into 4 random groups, eg. table 1, 2,3,4. I wish to hit a button or something to do this. How can I do this?

    I want each group to have a minimum of 5 people each time, and two groups will have 6. Example

    student1
    student2
    student3
    student4
    student5
    student6
    student7
    student8
    student9
    student10
    student11
    student12
    student13
    student14
    student15
    student16
    student17
    student18
    student19
    student20
    student21
    student22

    Example: I do this manually and it takes me about 5 to 10 minutes to do at the start of each lesson

    Please Login or Register  to view this content.
    So in the above example group 1 and group 4 has 6 students.

    I have attached the spreadsheet, worksheet 1 is called students, and worksheet 2 is called group

    Please help,
    Attached Files Attached Files

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: 22 people randomized into 4 groups

    Here is one possible solution using a couple of helper columns. One to generate a random number and one to rank those random numbers.
    Then using an INDEX/MATCH you can use the ranks to look up the names. Press F9 to randomise again.

    BSB
    Attached Files Attached Files

  3. #3
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: 22 people randomized into 4 groups

    I realised there was a slight issue with the formulas in the previous version meaning names were repeated.
    This one should work as expected.

    BSB
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    11-23-2006
    Posts
    39

    Re: 22 people randomized into 4 groups

    Hi thanks what does the MATCH(ROWS($1:5)+COUNTA($A$27:B$32),$D$1:$D$22,0)) do?

  5. #5
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: 22 people randomized into 4 groups

    INDEX/MATCH works as a lookup. The section of formula you're asking about is from cell C31 in the workbook and needs to look up the name in the list that corresponds to the number 10 (in the rank list).

    ROWS($1:5) returns the number of rows included in the range of rows 1:5 which is of course 5.
    COUNTA($A$27:B$32) returns the number of non blank cells in the cell range A27:B32 which in this workbook is also 5.
    Add the two together and you get the required 10 for the lookup.

    So the full formula for that cell is effectively:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    In plain English this means, return the value from B1:B22 that corresponds to the position of 10 in range D1:D22.

    If you can get your head around INDEX/MATCH as a lookup tool then it will, hopefully, all fall into place and make far more sense.

    BSB

+ 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: 2
    Last Post: 09-15-2016, 01:10 AM
  2. Organize 35 people into groups of 5 over 9 days; minimize same people together
    By LuluPearl in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-30-2015, 07:12 AM
  3. Replies: 0
    Last Post: 09-11-2013, 11:04 AM
  4. Replies: 1
    Last Post: 05-30-2013, 01:32 PM
  5. Need a Formula to Check an Audit Log Against a List of Groups of People
    By badmoon75 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-22-2012, 11:44 AM
  6. Adding people to multiple groups for a stakeholder list
    By badlydrunkboy in forum Excel General
    Replies: 5
    Last Post: 03-02-2012, 07:31 AM
  7. Randomized Functions
    By Kleverton Silva in forum Excel General
    Replies: 7
    Last Post: 11-16-2005, 02:50 PM

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