How to make random groups with each number is used equal times

jhendo14

New Member
Joined
Jun 19, 2020
Messages
12
Office Version
  1. 2011
Platform
  1. MacOS
I am trying to figure out the following problem...I have a list of 12 numbers (1-12) and I am looking to make a random selection of 6 groups of 4 and each number being selected no more than 3 times in the group.

I could do this manually, but I have to apply it to a list of 240 with larger sets of random groups, so I will apply the logic to this question to my data set.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
just to clarify:
is it:
  1. a number can appear more than once in a group, but not more than three times in one group, or
  2. a number can appear only once in a group, but in no more than three groups
please let me know
 
Upvote 0

Forum statistics

Threads
1,214,834
Messages
6,121,871
Members
449,055
Latest member
excelhelp12345

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