How to select random data from a list without duplicates?
This article, I will talk about how to select random cells from a list without duplicate values. The following two methods may help you to deal with this task as quickly as possible.
Select random data from a list without duplicates by using Formulas
Select random data from a list without duplicates by using Kutools for Excel
Comparison of Methods for Randomly Selecting Data Without Duplicates in Excel
When you need to randomly select several items from a list without duplicates, Excel formulas can generate a randomized result list, while Kutools for Excel can directly select a specified number of random cells from the original range. The following table compares the two methods introduced in this article.
| Feature | Excel Formulas | Kutools Sort / Select Range Randomly |
|---|---|---|
| Randomly select data without duplicates | ✔ | ✔ |
| Dedicated random selection feature | ✘ | ✔ |
| Directly select cells in the original range | ✘ Results are extracted to another range | ✔ |
| Extract random results to separate cells | ✔ | Not required — randomly selected cells can be copied afterward |
| Specify the number of items to select directly | Indirectly — fill the result formula down for the required number of items | ✔ Enter the number directly |
| Requires a helper column | ✔ | ✘ |
| Requires RAND function | ✔ | ✘ |
| Requires INDEX function | ✔ | ✘ |
| Requires RANK function | ✔ | ✘ |
| Requires multiple formulas | ✔ RAND + INDEX + RANK | ✘ |
| Requires filling formulas down | ✔ Helper and result formulas | ✘ |
| Random results can change when the worksheet recalculates | ✔ RAND is volatile | ✘ Selection remains after the operation until changed or reselected |
| Choose a selection type | ✘ | ✔ Available in the Select Type section |
| Immediately copy randomly selected cells | Results already appear in a separate range | ✔ Copy selected cells after selection |
| Immediately format randomly selected cells | ✘ Random source cells are not directly selected | ✔ Selected cells can be formatted directly |
| Requires VBA / coding | ✘ | ✘ |
| Manual setup effort | Moderate | Low |
| Main setup process | Enter =RAND() beside the source list and fill it down. Then enter an INDEX + RANK formula referencing the source list and random-number helper column, and fill the result formula down for the number of random items required. | Select the source range, choose Kutools > Range > Sort / Select Range Randomly, open the Select tab, enter the number of cells to select, choose a Select Type, and click OK. |
| Best for | Users who need random values returned in a separate worksheet range and prefer a formula-based solution | Randomly selecting a specified number of cells directly from a list for sampling, copying, formatting, or further processing |
| Ease of use | Moderate | Very easy |
Select random data from a list without duplicates by using Formulas
You can extract random several cell values from a list with the following formulas, please do step by step:
1. Please enter this formula: =rand() into a cell beside your first data, and then drag the fill handle down to the cells to fill this formula, and random numbers are inserted into the cells, see screenshot:

2. Go on entering this formula: =INDEX($A$2:$A$15,RANK(B2,$B$2:$B$15)) into cell C2, and press Enter key, a random value is extracted from data list in Column A, see screenshot:
Note: In the above formula:A2:A15 is the data list that you want to select a random cell from, B2:B15 is the helper column cells with random numbers which you have inserted.

3. Then, select cell C2, drag the fill handle down to the cells where you want to extract some random values, and the cells have been extracted randomly without duplicates, see screenshot:

Select random data from a list without duplicates by using Kutools for Excel
If you have Kutools for Excel, with its Sort Range Randomly feature, you can both sort and select cells randomly as you need.
After installing Kutools for Excel, please do as follows:
1. Select the range of cells which you want to select cells randomly, and then click Kutools > Range > Sort / Select Range Randomly, sees screenshot:

2. In the Sort / Select Range Randomly dialog box, click Select tab, and then enter the number of cells which you want to select randomly in the No. of cells to select box, in the Select Type section, choose one operation as you want, then click OK, five cells have been selected randomly at once, see screenshot:
>
3. Then, you can copy or format them as you need.
Click Download Kutools for Excel and free trial Now!
Conclusion
The Excel formula method is useful when the goal is to return randomly selected values in a separate range. It uses a RAND helper column together with INDEX and RANK to determine the random order, and users can fill the result formula down for as many random items as they need. However, it requires multiple formulas and helper cells, and because RAND is volatile, the random results may change whenever Excel recalculates the worksheet.
Kutools for Excel's Sort / Select Range Randomly is more suitable when the goal is to randomly select cells directly from the original dataset. Users simply specify how many cells they want to select and choose the desired selection type. The selected cells can then be copied, formatted, or processed immediately, without creating helper columns or writing RAND, INDEX, and RANK formulas. This makes it particularly convenient for random sampling, spot checks, prize drawings, student selection, or other tasks that require a quick random selection from an existing list.
Demo: Select random data from a list without duplicates by using Kutools for Excel
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
All Kutools add-ins. One installer
Kutools for Office suite bundles add-ins for Excel, Word, Outlook & PowerPoint plus Office Tab Pro, which is ideal for teams working across Office apps.
- All-in-one suite — Excel, Word, Outlook & PowerPoint add-ins + Office Tab Pro
- One installer, one license — set up in minutes (MSI-ready)
- Works better together — streamlined productivity across Office apps
- 30-day full-featured trial — no registration, no credit card
- Best value — save vs buying individual add-in