Skip to main content

How to randomly fill values from a list of data in Excel?

For example, you have a list of names, and now you need to randomly select several names and fill into given cells, how to deal with it? Here I will introduce a couple of methods to randomly fill values from a list of data in Excel.


Randomly fill values from a list of data with functions

To randomly fill values from a given list of data in Excel, we can apply the RANDBETWEEN function and VLOOKUP function to get it done as follows:

Step 1: Right click the column of given list, and select Insert from right-clicking menu.

Step 2: In the inserted column, type NO. as column heading, and then type sequence numbers into following cells as above screenshot:

Step 3: Fill specified cells randomly from the given list:

doc random fill from list 10

(1) In a blank cell enter the formula =RANDBETWEEN(1,15), and drag the fill handle to the range you need.

(2) In the cell where you will fill name randomly from the given list, enter the formula =VLOOKUP(C2,$A$1:$B$16,2,FALSE), and drag the fill handle to the range you need.

Notes:

(1) In the formula =RANDBETWEEN(1,15), 1 is the smallest sequence number, and 15 is the biggest one.

(2) In the formula =VLOOKUP(C2,$A$1:$B$16,2,FALSE), C2 is the random sequence number you got just now, $A$1:$B$16 is the range of given list and inserted sequence numbers, 2 means the second column in the range of $A$1:$B$16.

note ribbon Formula is too complicated to remember? Save the formula as an Auto Text entry for reusing with only one click in future!
Read more…     Free trial

The RANDBETWEEN function and VLOOKUP function can easily help you to randomly fill names from the given list in Excel. However, this method leaves two problems:

  1. The random names change once current worksheet refreshes, such as enter a new formula in the worksheet, or just double-click into a cell and then leave, etc.
  2.  Duplicate names are filled in the specified cells occasionally.

Randomly fill values from a list of data with Kutools for Excel

To randomly fill names from the given list without duplicates, and keep all filled names static, you can try Kutools for Excel’s Insert Random Data utility to get it done with ease.

Kutools for Excel - Packed with over 300 essential tools for Excel. Enjoy a full-featured 30-day FREE trial with no credit card required! Download now!

Step 1: Click Kutools > Insert > Insert Random Data.
doc insert random data

Step 2: In the opening Insert Random Data dialog box, go to the Custom list tab, click the Add button; then in the opening Create Sequence dialog box, click the  button; in the new dialog box, specify the range of given name list; next click OK > Ok.
doc random fill from list 7

Step 3: Now the given name list is added as a custom list in the Insert Random Data dialog box. Select the range you will randomly fill names from the given list, click the Ok button or Apply button.
doc random fill from list 9

Note: To fill names randomly from the given list without duplicates, please check the Unique values option in the Insert Random Data dialog box. See above screen shot.


Demo: randomly fill values from a list of data in Excel


Kutools for Excel: Over 300 handy tools at your fingertips! Start your 30-day free trial with no feature limitations today. Download Now!

Related articles:

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 Toolsets12 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

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...

Description


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!
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations