KutoolsforOffice — One Suite. Five Tools. Get More Done.

How to select random data from a list without duplicates?

AuthorXiaoyangLast modified

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.

FeatureExcel FormulasKutools 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 directlyIndirectly — 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 cellsResults 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 effortModerateLow
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 useModerateVery 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:

use rand function to get random numbers

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.

apply another formula to get one random data

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:

drag the fill handle down to the cells to extract some random values


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.

Kutools for Excel offers over 300 advanced features to streamline complex tasks, boosting creativity and efficiency. Integrated with AI capabilities, Kutools automates tasks with precision, making data management effortless. Detailed information of Kutools for Excel...         Free trial...

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:

click Sort / Select Range Randomly feature of kutools

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:

>specify the options and get the result

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

🤖Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions…
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |  Round without Formula ...
Super Lookup: Multiple Criteria VLookup  |   Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |  Big Formula Bar   |  Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells   |  Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets:  12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

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.

ExcelWordOutlookTabsPowerPoint
  • 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