how to create a sequence of combinations of numbers in excel

nuclear

New Member
Joined
May 4, 2015
Messages
3
As my final project for my statistics class, I want to prove that using a combination of the most frequent drawn lottery numbers can lead to a better chance of winning the lottery (Hot Numbers method). Now, the sequence ranges from 0-50 with only 5 numbers drawn. I will not use all of the drawn numbers form 0-50, I will only use those numbers that are drawn more frequently than others. Does anybody now how I can create a random sequence of number combinations from these most frequent used numbers? Now, I know that the list will be huge given all of the possible random combinations possible. So, I need to narrow them down to 15 and I need them to be random and non repetitive. Like, I can draw 6 twice in the five numbers I am allowed to draw. I can get 6-11-25-33-45 or 6-25-33-35-45, etc. but not 6-6-33-35-45.

I tried doing so by generating random drawings but they are not sequences of combinations. They are random numbers from the highest picked numbers. For instance, I get, 34-5-16-49-1. I first filled in the numbers that are most drawn on table C; assigne them absolute random values on A and give the absolute values on B using this formula: =RANK($A2,$A$2:$A$22)+COUNTIF(B$1:B1,B1)-1.

Does anybody have a better way to generate random sequence of combinations, rather than random combinations?
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Does anybody have a better way to generate random sequence of combinations, rather than random combinations?
Welcome to the forum.

You are not headed toward a good grade in this class.
 
Upvote 0
You could treat this as a weighted lottery, shown here for 20 choose 6:

[Table="width:, class:grid"][tr][td]Row\Col[/td][td]
B​
[/td][td]
C​
[/td][td]
D​
[/td][td]
E​
[/td][td]
F​
[/td][td]
G​
[/td][td]
H​
[/td][td]
I​
[/td][td]
J​
[/td][td]
K​
[/td][td]
L​
[/td][td]
M​
[/td][td]
N​
[/td][td]
O​
[/td][td]
P​
[/td][td]
Q​
[/td][td]
R​
[/td][td]
S​
[/td][td]
T​
[/td][td]
U​
[/td][td]
V​
[/td][td]
W​
[/td][td]
X​
[/td][/tr][tr][td]
2​
[/td][td]
Draw​
[/td][td]
Ball Number​
[/td][td]
Do Not Use​
[/td][td]
1​
[/td][td]
2​
[/td][td]
3​
[/td][td]
4​
[/td][td]
5​
[/td][td]
6​
[/td][td]
7​
[/td][td]
8​
[/td][td]
9​
[/td][td]
10​
[/td][td]
11​
[/td][td]
12​
[/td][td]
13​
[/td][td]
14​
[/td][td]
15​
[/td][td]
16​
[/td][td]
17​
[/td][td]
18​
[/td][td]
19​
[/td][td]
20​
[/td][/tr]
[tr][td]
3​
[/td][td][/td][td][/td][td][/td][td]
19​
[/td][td]
5​
[/td][td]
9​
[/td][td]
19​
[/td][td]
13​
[/td][td]
3​
[/td][td]
14​
[/td][td]
14​
[/td][td]
1​
[/td][td]
20​
[/td][td]
19​
[/td][td]
14​
[/td][td]
4​
[/td][td]
15​
[/td][td]
7​
[/td][td]
16​
[/td][td]
4​
[/td][td]
16​
[/td][td]
11​
[/td][td]
19​
[/td][/tr]
[tr][td]
4​
[/td][td]
53​
[/td][td]5[/td][td][/td][td]
0​
[/td][td]
19​
[/td][td]
24​
[/td][td]
33​
[/td][td]
52​
[/td][td]
65​
[/td][td]
68​
[/td][td]
82​
[/td][td]
96​
[/td][td]
97​
[/td][td]
117​
[/td][td]
136​
[/td][td]
150​
[/td][td]
154​
[/td][td]
169​
[/td][td]
176​
[/td][td]
192​
[/td][td]
196​
[/td][td]
212​
[/td][td]
223​
[/td][/tr]
[tr][td]
5​
[/td][td]
90​
[/td][td]10[/td][td][/td][td]
0​
[/td][td]
19​
[/td][td]
24​
[/td][td]
33​
[/td][td][/td][td]
52​
[/td][td]
55​
[/td][td]
69​
[/td][td]
83​
[/td][td]
84​
[/td][td]
104​
[/td][td]
123​
[/td][td]
137​
[/td][td]
141​
[/td][td]
156​
[/td][td]
163​
[/td][td]
179​
[/td][td]
183​
[/td][td]
199​
[/td][td]
210​
[/td][/tr]
[tr][td]
6​
[/td][td]
131​
[/td][td]14[/td][td][/td][td]
0​
[/td][td]
19​
[/td][td]
24​
[/td][td]
33​
[/td][td][/td][td]
52​
[/td][td]
55​
[/td][td]
69​
[/td][td]
83​
[/td][td][/td][td]
84​
[/td][td]
103​
[/td][td]
117​
[/td][td]
121​
[/td][td]
136​
[/td][td]
143​
[/td][td]
159​
[/td][td]
163​
[/td][td]
179​
[/td][td]
190​
[/td][/tr]
[tr][td]
7​
[/td][td]
82​
[/td][td]8[/td][td][/td][td]
0​
[/td][td]
19​
[/td][td]
24​
[/td][td]
33​
[/td][td][/td][td]
52​
[/td][td]
55​
[/td][td]
69​
[/td][td]
83​
[/td][td][/td][td]
84​
[/td][td]
103​
[/td][td]
117​
[/td][td][/td][td]
121​
[/td][td]
128​
[/td][td]
144​
[/td][td]
148​
[/td][td]
164​
[/td][td]
175​
[/td][/tr]
[tr][td]
8​
[/td][td]
80​
[/td][td]11[/td][td][/td][td]
0​
[/td][td]
19​
[/td][td]
24​
[/td][td]
33​
[/td][td][/td][td]
52​
[/td][td]
55​
[/td][td][/td][td]
69​
[/td][td][/td][td]
70​
[/td][td]
89​
[/td][td]
103​
[/td][td][/td][td]
107​
[/td][td]
114​
[/td][td]
130​
[/td][td]
134​
[/td][td]
150​
[/td][td]
161​
[/td][/tr]
[tr][td]
9​
[/td][td]
134​
[/td][td]19[/td][td][/td][td]
0​
[/td][td]
19​
[/td][td]
24​
[/td][td]
33​
[/td][td][/td][td]
52​
[/td][td]
55​
[/td][td][/td][td]
69​
[/td][td][/td][td][/td][td]
70​
[/td][td]
84​
[/td][td][/td][td]
88​
[/td][td]
95​
[/td][td]
111​
[/td][td]
115​
[/td][td]
131​
[/td][td]
142​
[/td][/tr]
[/table]


The numbers in row 3 are your perceived relative probabilities for each ball being drawn. The balls drawn for this example are shown in col C.

The workbook is at https://app.box.com/s/5a06b6he6sc9ce89bbfl, and the Win Once tab is the relevant sheet.

NB: The workbook has names in row 2 (Alan, Barb, Cain, ...), and I changed them to numbers -- but because of the way the dynamic ranges are defined, they MUST be formatted as text.
 
Upvote 0
Yeah I know! Luckily, I already have an A on the class, this is for extra points for the final. Anyways, thanks for the chart and help. I don't understand what the Draw column means? So I gave all the names a value (#) and I added the frequencies to those names. However, I get a lot of empty columns. BTW, what is the difference between =rand and =randbetween?
[TABLE="width: 952"]
<colgroup><col><col><col><col><col span="24"><col></colgroup><tbody>[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Draw[/TD]
[TD]Winner[/TD]
[TD]Do Not Use[/TD]
[TD]Alan[/TD]
[TD]Barb[/TD]
[TD]Cain[/TD]
[TD]Dana[/TD]
[TD]Eric[/TD]
[TD]Fran[/TD]
[TD]Gary[/TD]
[TD]Hana[/TD]
[TD]Ivan[/TD]
[TD]Jane[/TD]
[TD]Kent[/TD]
[TD]Leah[/TD]
[TD]Mark[/TD]
[TD]Nina[/TD]
[TD]Otto[/TD]
[TD]Peri[/TD]
[TD]Quin[/TD]
[TD]Rene[/TD]
[TD]Seth[/TD]
[TD]Tina[/TD]
[TD]Ulis[/TD]
[TD]Vera[/TD]
[TD]Wade[/TD]
[TD]Xana[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]18[/TD]
[TD="align: right"]21[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]18[/TD]
[TD="align: right"]22[/TD]
[TD="align: right"]22[/TD]
[TD="align: right"]18[/TD]
[TD="align: right"]19[/TD]
[TD="align: right"]18[/TD]
[TD="align: right"]23[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]21[/TD]
[TD="align: right"]23[/TD]
[TD="align: right"]22[/TD]
[TD="align: right"]22[/TD]
[TD="align: right"]18[/TD]
[TD="align: right"]19[/TD]
[TD="align: right"]19[/TD]
[TD="align: right"]19[/TD]
[TD="align: right"]19[/TD]
[TD="align: right"]17[/TD]
[TD="align: right"]17[/TD]
[TD="align: right"]17[/TD]
[TD="align: right"]17[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]342[/TD]
[TD]Quin[/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]18[/TD]
[TD="align: right"]39[/TD]
[TD="align: right"]59[/TD]
[TD="align: right"]77[/TD]
[TD="align: right"]99[/TD]
[TD="align: right"]121[/TD]
[TD="align: right"]139[/TD]
[TD="align: right"]158[/TD]
[TD="align: right"]176[/TD]
[TD="align: right"]199[/TD]
[TD="align: right"]219[/TD]
[TD="align: right"]240[/TD]
[TD="align: right"]263[/TD]
[TD="align: right"]285[/TD]
[TD="align: right"]307[/TD]
[TD="align: right"]325[/TD]
[TD="align: right"]344[/TD]
[TD="align: right"]363[/TD]
[TD="align: right"]382[/TD]
[TD="align: right"]401[/TD]
[TD="align: right"]418[/TD]
[TD="align: right"]435[/TD]
[TD="align: right"]452[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]248[/TD]
[TD]Mark[/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]18[/TD]
[TD="align: right"]39[/TD]
[TD="align: right"]59[/TD]
[TD="align: right"]77[/TD]
[TD="align: right"]99[/TD]
[TD="align: right"]121[/TD]
[TD="align: right"]139[/TD]
[TD="align: right"]158[/TD]
[TD="align: right"]176[/TD]
[TD="align: right"]199[/TD]
[TD="align: right"]219[/TD]
[TD="align: right"]240[/TD]
[TD="align: right"]263[/TD]
[TD="align: right"]285[/TD]
[TD="align: right"]307[/TD]
[TD] [/TD]
[TD="align: right"]325[/TD]
[TD="align: right"]344[/TD]
[TD="align: right"]363[/TD]
[TD="align: right"]382[/TD]
[TD="align: right"]399[/TD]
[TD="align: right"]416[/TD]
[TD="align: right"]433[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]64[/TD]
[TD]Dana[/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]18[/TD]
[TD="align: right"]39[/TD]
[TD="align: right"]59[/TD]
[TD="align: right"]77[/TD]
[TD="align: right"]99[/TD]
[TD="align: right"]121[/TD]
[TD="align: right"]139[/TD]
[TD="align: right"]158[/TD]
[TD="align: right"]176[/TD]
[TD="align: right"]199[/TD]
[TD="align: right"]219[/TD]
[TD] [/TD]
[TD="align: right"]240[/TD]
[TD="align: right"]262[/TD]
[TD="align: right"]284[/TD]
[TD] [/TD]
[TD="align: right"]302[/TD]
[TD="align: right"]321[/TD]
[TD="align: right"]340[/TD]
[TD="align: right"]359[/TD]
[TD="align: right"]376[/TD]
[TD="align: right"]393[/TD]
[TD="align: right"]410[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]53[/TD]
[TD]Cain[/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]18[/TD]
[TD="align: right"]39[/TD]
[TD] [/TD]
[TD="align: right"]59[/TD]
[TD="align: right"]81[/TD]
[TD="align: right"]103[/TD]
[TD="align: right"]121[/TD]
[TD="align: right"]140[/TD]
[TD="align: right"]158[/TD]
[TD="align: right"]181[/TD]
[TD="align: right"]201[/TD]
[TD] [/TD]
[TD="align: right"]222[/TD]
[TD="align: right"]244[/TD]
[TD="align: right"]266[/TD]
[TD] [/TD]
[TD="align: right"]284[/TD]
[TD="align: right"]303[/TD]
[TD="align: right"]322[/TD]
[TD="align: right"]341[/TD]
[TD="align: right"]358[/TD]
[TD="align: right"]375[/TD]
[TD="align: right"]392[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]199[/TD]
[TD]Leah[/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]18[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]39[/TD]
[TD="align: right"]61[/TD]
[TD="align: right"]83[/TD]
[TD="align: right"]101[/TD]
[TD="align: right"]120[/TD]
[TD="align: right"]138[/TD]
[TD="align: right"]161[/TD]
[TD="align: right"]181[/TD]
[TD] [/TD]
[TD="align: right"]202[/TD]
[TD="align: right"]224[/TD]
[TD="align: right"]246[/TD]
[TD] [/TD]
[TD="align: right"]264[/TD]
[TD="align: right"]283[/TD]
[TD="align: right"]302[/TD]
[TD="align: right"]321[/TD]
[TD="align: right"]338[/TD]
[TD="align: right"]355[/TD]
[TD="align: right"]372[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]9[/TD]
[TD]Alan[/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]18[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]39[/TD]
[TD="align: right"]61[/TD]
[TD="align: right"]83[/TD]
[TD="align: right"]101[/TD]
[TD="align: right"]120[/TD]
[TD="align: right"]138[/TD]
[TD="align: right"]161[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]181[/TD]
[TD="align: right"]203[/TD]
[TD="align: right"]225[/TD]
[TD] [/TD]
[TD="align: right"]243[/TD]
[TD="align: right"]262[/TD]
[TD="align: right"]281[/TD]
[TD="align: right"]300[/TD]
[TD="align: right"]317[/TD]
[TD="align: right"]334[/TD]
[TD="align: right"]351[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]232[/TD]
[TD]Rene[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]21[/TD]
[TD="align: right"]43[/TD]
[TD="align: right"]65[/TD]
[TD="align: right"]83[/TD]
[TD="align: right"]102[/TD]
[TD="align: right"]120[/TD]
[TD="align: right"]143[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]163[/TD]
[TD="align: right"]185[/TD]
[TD="align: right"]207[/TD]
[TD] [/TD]
[TD="align: right"]225[/TD]
[TD="align: right"]244[/TD]
[TD="align: right"]263[/TD]
[TD="align: right"]282[/TD]
[TD="align: right"]299[/TD]
[TD="align: right"]316[/TD]
[TD="align: right"]333[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]294[/TD]
[TD]Vera[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]21[/TD]
[TD="align: right"]43[/TD]
[TD="align: right"]65[/TD]
[TD="align: right"]83[/TD]
[TD="align: right"]102[/TD]
[TD="align: right"]120[/TD]
[TD="align: right"]143[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]163[/TD]
[TD="align: right"]185[/TD]
[TD="align: right"]207[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]225[/TD]
[TD="align: right"]244[/TD]
[TD="align: right"]263[/TD]
[TD="align: right"]280[/TD]
[TD="align: right"]297[/TD]
[TD="align: right"]314[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]232[/TD]
[TD]Seth[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]21[/TD]
[TD="align: right"]43[/TD]
[TD="align: right"]65[/TD]
[TD="align: right"]83[/TD]
[TD="align: right"]102[/TD]
[TD="align: right"]120[/TD]
[TD="align: right"]143[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]163[/TD]
[TD="align: right"]185[/TD]
[TD="align: right"]207[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]225[/TD]
[TD="align: right"]244[/TD]
[TD="align: right"]263[/TD]
[TD] [/TD]
[TD="align: right"]280[/TD]
[TD="align: right"]297[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]151[/TD]
[TD]Kent[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]21[/TD]
[TD="align: right"]43[/TD]
[TD="align: right"]65[/TD]
[TD="align: right"]83[/TD]
[TD="align: right"]102[/TD]
[TD="align: right"]120[/TD]
[TD="align: right"]143[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]163[/TD]
[TD="align: right"]185[/TD]
[TD="align: right"]207[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]225[/TD]
[TD="align: right"]244[/TD]
[TD] [/TD]
[TD="align: right"]261[/TD]
[TD="align: right"]278[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]214[/TD]
[TD]Tina[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]21[/TD]
[TD="align: right"]43[/TD]
[TD="align: right"]65[/TD]
[TD="align: right"]83[/TD]
[TD="align: right"]102[/TD]
[TD="align: right"]120[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]143[/TD]
[TD="align: right"]165[/TD]
[TD="align: right"]187[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]205[/TD]
[TD="align: right"]224[/TD]
[TD] [/TD]
[TD="align: right"]241[/TD]
[TD="align: right"]258[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]251[/TD]
[TD]Xana[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]21[/TD]
[TD="align: right"]43[/TD]
[TD="align: right"]65[/TD]
[TD="align: right"]83[/TD]
[TD="align: right"]102[/TD]
[TD="align: right"]120[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]143[/TD]
[TD="align: right"]165[/TD]
[TD="align: right"]187[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]205[/TD]
[TD] [/TD]
[TD="align: right"]222[/TD]
[TD="align: right"]239[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]133[/TD]
[TD]Jane[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]21[/TD]
[TD="align: right"]43[/TD]
[TD="align: right"]65[/TD]
[TD="align: right"]83[/TD]
[TD="align: right"]102[/TD]
[TD="align: right"]120[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]143[/TD]
[TD="align: right"]165[/TD]
[TD="align: right"]187[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]205[/TD]
[TD] [/TD]
[TD="align: right"]222[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]11[/TD]
[TD]Barb[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]21[/TD]
[TD="align: right"]43[/TD]
[TD="align: right"]65[/TD]
[TD="align: right"]83[/TD]
[TD="align: right"]102[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]120[/TD]
[TD="align: right"]142[/TD]
[TD="align: right"]164[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]182[/TD]
[TD] [/TD]
[TD="align: right"]199[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]0[/TD]
[TD]Eric[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]22[/TD]
[TD="align: right"]44[/TD]
[TD="align: right"]62[/TD]
[TD="align: right"]81[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]99[/TD]
[TD="align: right"]121[/TD]
[TD="align: right"]143[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]161[/TD]
[TD] [/TD]
[TD="align: right"]178[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]52[/TD]
[TD]Hana[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]22[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]59[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]77[/TD]
[TD="align: right"]99[/TD]
[TD="align: right"]121[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]139[/TD]
[TD] [/TD]
[TD="align: right"]156[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]114[/TD]
[TD]Peri[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]22[/TD]
[TD] [/TD]
[TD="align: right"]40[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]58[/TD]
[TD="align: right"]80[/TD]
[TD="align: right"]102[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]120[/TD]
[TD] [/TD]
[TD="align: right"]137[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]101[/TD]
[TD]Otto[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]22[/TD]
[TD] [/TD]
[TD="align: right"]40[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]58[/TD]
[TD="align: right"]80[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]102[/TD]
[TD] [/TD]
[TD="align: right"]119[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]77[/TD]
[TD]Nina[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]22[/TD]
[TD] [/TD]
[TD="align: right"]40[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]58[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]80[/TD]
[TD] [/TD]
[TD="align: right"]97[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]69[/TD]
[TD]Ulis[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]22[/TD]
[TD] [/TD]
[TD="align: right"]40[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]58[/TD]
[TD] [/TD]
[TD="align: right"]75[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]70[/TD]
[TD]Wade[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]22[/TD]
[TD] [/TD]
[TD="align: right"]40[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]58[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]9[/TD]
[TD]Fran[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]22[/TD]
[TD] [/TD]
[TD="align: right"]40[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]27[/TD]
[TD]Ivan[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[TD] [/TD]
[TD="align: right"]18[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]4[/TD]
[TD]Gary[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
Look at line 4. Alan has tickets 0 to 17, Barb has 18 to 38, ...

342 is a random number between 0 and 400 and something. Whoever holds that ticket (Quin, in this case) wins that round.

However, I get a lot of empty columns.

Once a given player wins (or here, a given ball is drawn), it is removed so it can't be picked again. That's why the columns are become blank.

what is the difference between =rand and =randbetween

You read Help for both functions, and the part you don't understand is ...?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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