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.
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:
If you have Kutools for Excel, with its Sort Range Randomly feature, you can both sort and select cells randomly as you need.
|Kutools for Excel : with more than 300 handy Excel add-ins, free to try with no limitation in 30 days.|
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.
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!