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
1
Name
Tickets
Sum
Random #
Winner
2
Bob Smith
13
0
48
Ann Smith
3
Tim Harding
30
13
4
Ann Smith
25
43
5
Mary Jones
18
68
6
Alice Cooper
20
86
<tbody>
</tbody>
Sheet6
Worksheet Formulas
Cell
Formula
C2
=IF(A2="","",SUM($B$1:$B1))
D2
=RANDBETWEEN(<fon
1,SUM(B:B))-1</fon
E2
=INDEX(A2:A100,MATCH(D2,C2:C100))
<tbody>
</tbody>
<tbody>
</tbody>
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.
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.