How to pick a random winner in Excel
To pick a random winner in Excel, remove duplicate entries, then use =INDEX(A2:A101, RANDBETWEEN(1, ROWS(A2:A101))) to return one random entry from the list. In Excel for Microsoft 365 or Excel 2021 and later, SORTBY with RANDARRAY shuffles the whole list for several winners. These formulas recalculate whenever the sheet changes, so copy the result as values straight away.
Step 1: clean the list
Put one entry per row with a header in the first row, for example names in column A from A2 to A101. Remove blank rows, then remove duplicates so nobody has extra chances: select the column and use Data → Remove Duplicates, or, in Excel for Microsoft 365 and Excel 2021 or later, put =UNIQUE(A2:A101) in an empty column.
Step 2: pick one winner
In an empty cell, enter =INDEX(A2:A101, RANDBETWEEN(1, ROWS(A2:A101))). ROWS counts the entries, RANDBETWEEN picks a random position between 1 and that number, and INDEX returns the entry at that position.
Microsoft's documentation notes that RANDBETWEEN returns a new number every time the worksheet is calculated, including when you type in another cell or press F9. As soon as the winner appears, copy the cell and paste it as a value so it stops changing.
Pick several winners without repeats
In Excel for Microsoft 365 or Excel 2021 and later, shuffle the list and take the first rows: =INDEX(SORTBY(A2:A101, RANDARRAY(ROWS(A2:A101))), SEQUENCE(3)) returns three different entries. Change 3 to the number of winners you need, and paste the results as values.
In older versions, pick one winner with RANDBETWEEN, remove that entry from the list and repeat.
Why a spreadsheet draw is hard to prove
Because the formulas recalculate, nobody watching can tell whether the result is the first one or the tenth. Nothing records the list before the random number appears either, so a spreadsheet can't show that the list wasn't edited after the draw. For a giveaway your followers need to trust, that matters.
Draw from the same workbook with winner-picker.online
- 1Open the Excel winner picker and drop in the .xlsx or .xls file. It is read in your browser and never uploaded.
- 2Choose the sheet, the column to show as the winner and the column that identifies one person, such as the email.
- 3Duplicates, blank rows and invalid emails are removed automatically. Optionally choose a tickets column to give some entries more chances.
- 4Pick up to 10 winners and 5 backups and start the reveal.
- 5Share the public result page. Anyone with the same file can recompute the draw on the verify page.
Excel formulas or winner-picker.online
| Excel formulas | winner-picker.online | |
|---|---|---|
| Duplicates | Remove Duplicates or UNIQUE | Removed automatically, ignoring capital letters |
| Several winners | SORTBY and RANDARRAY (Microsoft 365, 2021 or later) | Up to 10 winners and 5 backups |
| Weighted entries | Extra formulas | Tickets column |
| Result can be checked later | No: the formulas recalculate | Yes: public result page and verify page |
| Recordable reveal | No | Full-screen reveal |
Ready to draw?
Drop in your workbook, choose the sheet and columns, and draw a winner anyone can check.
Excel winner pickerExcel draw questions
Why does my Excel winner keep changing?
RAND, RANDBETWEEN and RANDARRAY recalculate every time the worksheet is calculated, for example when you edit another cell or press F9. Copy the winner and paste it as a value to freeze it.
Which Excel versions have SORTBY, RANDARRAY and UNIQUE?
Excel for Microsoft 365, Excel 2021, Excel 2024 and the Excel mobile apps. Older versions such as Excel 2016 and 2019 have RANDBETWEEN and INDEX, which are enough to pick one winner at a time.
How do I give some people more entries in Excel?
One way is to repeat their rows before drawing, which is error-prone. With winner-picker.online, add a tickets column with each entry's number of tickets and choose it as the tickets column.
Sources
- Microsoft Support: RANDBETWEEN function
- Microsoft Support: INDEX function
- Microsoft Support: RANDARRAY function
- Microsoft Support: SORTBY function
- Microsoft Support: SEQUENCE function
- Microsoft Support: UNIQUE function
This guide is general information, not legal advice. Rules for prize promotions differ by country, so check the law where you and your entrants live.