Selecting random winners - without doubles

Thomm

New Member
Joined
Dec 7, 2012
Messages
3
Hi guys,

It would be great if you could help. I need a formula to run a draw / sweepstakes.

Let's say there is a list of 500 names in the column B (numbers 1-500 in the column A) and I need to select 20 names at random without any doubles.

So far I only managed to come up with the formula:

=VLOOKUP(INT(RAND() * MAX(Records!A:A)),Records!A1:B$500, 2, FALSE)


It needs to be entered with F9 instead of Enter so that it does not change once I copy the formula to another cell.

Unfortunately this does not take care of the doubles. Once one of 500 records is selected it has to be excluded from the next round. How do I go about this?

Any help appreciated,

Tom
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
In a convenient column, enter =RAND() and copy down. Sort everything by that column and take the top 20 (or whatever) names.
 
Upvote 0
Thanks shg.
This is certainly a possibility. It is simple and clean.
However I need to draw the winners one by one, in public (small but still in public) hence without showing the source data.
So I would have my list of names in one workbook and the formula in another workbook. I would paste a formula in a convenient cell and hit enter - or F9 - or run a macro etc and the winner 1 name would appear.
I would then move to another cell and do the same to draw another winner (Please note the winner 1 should not change at this or any other point in time).
Can you see any solution for such scenario in Excel?
 
Upvote 0
See https://www.box.com/s/8pk9rtb0ca4opycr9sfk

Excel Options > Formulas, tick Enable Interative Calculation and set Maximum Iterations to 1.

Enter X in C2 to reset, then clear C2, then press F9 to see winners sequentially.

Insert additional names as desired. The Winners row must be below the table of names (which you can hide).
 
Upvote 0
You're welcome, good luck.
 
Upvote 0

Forum statistics

Threads
1,216,746
Messages
6,132,475
Members
449,729
Latest member
davelevnt

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