Welcome to the forum.
The easiest way to do this is to put a list of your ticket numbers in column A, then put =RAND() in each row in column B, then sort by column B, then just take every 10th number from the list.
| A | B | C | D | E | F | G | H | I | J | K |
---|
Number of tickets | | | | | | | | | | | |
start # | | | | | | | | | | | |
end # | | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"]98[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]2[/TD]
[TD="align: right"][/TD]
[TD="align: right"]101[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]3[/TD]
[TD="align: right"][/TD]
[TD="align: right"]198[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]4[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]5[/TD]
[TD="align: right"][/TD]
[TD="align: right"]195[/TD]
[TD="align: right"]140[/TD]
[TD="align: right"]170[/TD]
[TD="align: right"]175[/TD]
[TD="align: right"]106[/TD]
[TD="align: right"]126[/TD]
[TD="align: right"]101[/TD]
[TD="align: right"]172[/TD]
[TD="align: right"]182[/TD]
[TD="align: right"]116[/TD]
[TD="align: center"]6[/TD]
[TD="align: right"][/TD]
[TD="align: right"]141[/TD]
[TD="align: right"]157[/TD]
[TD="align: right"]139[/TD]
[TD="align: right"]178[/TD]
[TD="align: right"]152[/TD]
[TD="align: right"]103[/TD]
[TD="align: right"]114[/TD]
[TD="align: right"]123[/TD]
[TD="align: right"]197[/TD]
[TD="align: right"]134[/TD]
[TD="align: center"]7[/TD]
[TD="align: right"][/TD]
[TD="align: right"]165[/TD]
[TD="align: right"]154[/TD]
[TD="align: right"]158[/TD]
[TD="align: right"]160[/TD]
[TD="align: right"]125[/TD]
[TD="align: right"]184[/TD]
[TD="align: right"]196[/TD]
[TD="align: right"]162[/TD]
[TD="align: right"]146[/TD]
[TD="align: right"]179[/TD]
[TD="align: center"]8[/TD]
[TD="align: right"][/TD]
[TD="align: right"]111[/TD]
[TD="align: right"]142[/TD]
[TD="align: right"]102[/TD]
[TD="align: right"]177[/TD]
[TD="align: right"]136[/TD]
[TD="align: right"]192[/TD]
[TD="align: right"]143[/TD]
[TD="align: right"]107[/TD]
[TD="align: right"]105[/TD]
[TD="align: right"]194[/TD]
[TD="align: center"]9[/TD]
[TD="align: right"][/TD]
[TD="align: right"]191[/TD]
[TD="align: right"]148[/TD]
[TD="align: right"]189[/TD]
[TD="align: right"]129[/TD]
[TD="align: right"]131[/TD]
[TD="align: right"]181[/TD]
[TD="align: right"]130[/TD]
[TD="align: right"]128[/TD]
[TD="align: right"]117[/TD]
[TD="align: right"]161[/TD]
[TD="align: center"]10[/TD]
[TD="align: right"][/TD]
[TD="align: right"]119[/TD]
[TD="align: right"]115[/TD]
[TD="align: right"]133[/TD]
[TD="align: right"]174[/TD]
[TD="align: right"]149[/TD]
[TD="align: right"]188[/TD]
[TD="align: right"]164[/TD]
[TD="align: right"]180[/TD]
[TD="align: right"]163[/TD]
[TD="align: right"]112[/TD]
[TD="align: center"]11[/TD]
[TD="align: right"][/TD]
[TD="align: right"]145[/TD]
[TD="align: right"]156[/TD]
[TD="align: right"]135[/TD]
[TD="align: right"]159[/TD]
[TD="align: right"]186[/TD]
[TD="align: right"]124[/TD]
[TD="align: right"]104[/TD]
[TD="align: right"]166[/TD]
[TD="align: right"]153[/TD]
[TD="align: right"]171[/TD]
[TD="align: center"]12[/TD]
[TD="align: right"][/TD]
[TD="align: right"]138[/TD]
[TD="align: right"]110[/TD]
[TD="align: right"]127[/TD]
[TD="align: right"]132[/TD]
[TD="align: right"]151[/TD]
[TD="align: right"]147[/TD]
[TD="align: right"]183[/TD]
[TD="align: right"]120[/TD]
[TD="align: right"]187[/TD]
[TD="align: right"]176[/TD]
[TD="align: center"]13[/TD]
[TD="align: right"][/TD]
[TD="align: right"]193[/TD]
[TD="align: right"]173[/TD]
[TD="align: right"]108[/TD]
[TD="align: right"]169[/TD]
[TD="align: right"]185[/TD]
[TD="align: right"]167[/TD]
[TD="align: right"]109[/TD]
[TD="align: right"]113[/TD]
[TD="align: right"]155[/TD]
[TD="align: right"]121[/TD]
[TD="align: center"]14[/TD]
[TD="align: right"][/TD]
[TD="align: right"]118[/TD]
[TD="align: right"]137[/TD]
[TD="align: right"]168[/TD]
[TD="align: right"]190[/TD]
[TD="align: right"]150[/TD]
[TD="align: right"]198[/TD]
[TD="align: right"]144[/TD]
[TD="align: right"]122[/TD]
[TD="align: center"]15[/TD]
[TD="align: right"][/TD]
</tbody>
<thead>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]D3[/TH]
<thead>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]B5[/TH]
If entered correctly, Excel will surround with curly braces {}.
Put the number of tickets sold in C1, the lower and upper ticket numbers in C2:C3. Then put in the B5 formula, and confirm with Control+Shift+Enter. Then copy the formula to C5:K5, then down as many rows as you need. Recalculate the draw by pressing F9.
Hope this helps.