Random Groups of 18 with a 50/50 Gender Split

jgonzalez4

New Member
Joined
Jul 17, 2014
Messages
3
I have a list of 360 students that need to be sorted into groups of 18 each. I wish to randomly assign the groups but make each group 50-50 Male/Female. If I have to do two random groups of 9 each by gender that is OK I just don't know how to have excel make random groups of the students in the list.

There is a unique ID for each student in Column A, and their Gender is in Column F.

Any help would be great.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Why don't you either sort by gender or create a list of each. I would then add a column for the list(s) and in that column insert the function "=rand()" sans quotes and copy down to all cells. You could then sort either A to Z, or Z to A on that column and then take every 9 students as a group. Also every time you hit F9 you can regenerate the random function and resort.
 
Upvote 0

Forum statistics

Threads
1,214,788
Messages
6,121,600
Members
449,038
Latest member
Arbind kumar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top