Generating groups of numbers from given list of numbers

dwrowe001

Board Regular
Joined
Mar 12, 2017
Messages
53
Office Version
  1. 2016
Platform
  1. Windows
Hi,
I would like help with coming up with a formula which will help me generate 5 two digit number groups.. yes, this is lottery related... lol.....

anyway, say I have a number list, which could vary in length, starting in A1 and could go down as many as 40 numbers.
the numbers in the list could be any number between 01 to 60, never higher then 6. So it could look like this:
12
10
09
03
11
20
02
05
19
14
06
45
on down....

From this list I would like to generate sets of 5 2 digit groups, like this:
02 03 05 06 09
05 11 14 19 45
02 05 11 12 19
10 11 14 19 20

the groups of numbers generated could start C1 and go to G1, and go down.

I would like a box or drop down option where I could select the how many number groups are generated, 5, 10, 15, 20, and an option to generate the maximum possible variations of those numbers from the list, if possible. so if I select 5, it will generate only 5 random groups of numbers taken from the list. if I select all possible variations then it will generate all the possible variation... Given that the number list in column A is very random and not consecutive, I don't think the total variations will be that many??

Thank you for any help offered.

Dave
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
0.79183616
0.14123503mytable
0.27714606
0.05735102001
0.452457100.0502
0.103
0.1504
0.205
0.2506
0.307
0.3508
0.409
0.4510
0.511
0.5512
0.613
0.6514
I used just 20 numbers for simplicity0.715
0.7516
0.817
0.8518
0.919
0.9520
A1 to A5 contain = rand()
B1 = vlookup(A1,mytable,2)
you can do the same for C,D etc

<colgroup><col width="64" span="9" style="width:48pt"> </colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,192
Members
449,072
Latest member
DW Draft

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