Welcome to the board.
If you're looking for a way to pick a winner based on the number of tickets each person has, consider:
| A | B | C | D | E |
---|
Name | Tickets | Sum | Random # | Winner | |
Bob Smith | Ann Smith | | | | |
Tim Harding | | | | | |
Ann Smith | | | | | |
Mary Jones | | | | | |
Alice Cooper | | | | | |
<tbody>
[TD="align: center"]1[/TD]
[TD="align: center"]2[/TD]
[TD="align: right"]13[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]48[/TD]
[TD="align: center"]3[/TD]
[TD="align: right"]30[/TD]
[TD="align: right"]13[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]4[/TD]
[TD="align: right"]25[/TD]
[TD="align: right"]43[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]5[/TD]
[TD="align: right"]18[/TD]
[TD="align: right"]68[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]6[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]86[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
</tbody>
Sheet6
[TABLE="width: 85%"]
<tbody>[TR]
[TD]
Worksheet Formulas[TABLE="width: 100%"]
<tbody>[TR]
[TH]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
[TR]
[TH]C2[/TH]
[TD="align: left"]=IF(
A2="","",SUM($B$1:$B1))[/TD]
[/TR]
[TR]
[TH]D2[/TH]
[TD="align: left"]=RANDBETWEEN(<fon
1,SUM(
B:B))-1</fon
[/TD]
[/TR]
[TR]
[TH]E2[/TH]
[TD="align: left"]=INDEX(
A2:A100,MATCH(D2,C2:C100))[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
The names are in A, the number of tickets are in B, column C finds the sum of the tickets so far. D2 picks a random number from 1 to the total number of tickets, less 1. So if the random number is 0-12, Bob wins, if it's from 13-42, Tim wins, etc.
Let us know if this works for you.