Quickly generate random groups for list of data in Excel
Sometimes, you may want to randomly assign data to groups as screenshot 1 shown, or generate groups for a list of names as below screenshot 2 shown, but how can handle these jobs quickly? Actually, in Excel, you can use formulas to solve them easily.
![Personal information generator Personal information generator](https://i.ytimg.com/vi/-4RzdCbroIs/maxresdefault.jpg)
Screenshot1 | Screenshot2 |
If you want to generate random groups for a list of data, and each group has a specified data size, you can use the ROUNDUP and RANK functions. Firstly, you need a helper column to list some random data next to your data. Supposing in cell E2, type this formula =RAND Then drag fill handle down to fill this formula to cells you use. But not everyone is a programmer or has time to learn a new framework. Mockaroo allows you to quickly and easily to download large amounts of randomly generated test data based on your own specs which you can then load directly into your test environment using SQL or CSV formats. No programming is required.
If you want to randomly assign data to a specified number of groups, each group is allowed with different numbers of data, you can use the CHOOSE and RANDBETWEEN functions.
Select a blank cell next to the list you want to assign to random groups, copy or type this formula
=CHOOSE(RANDBETWEEN(1,3),'Group A','Group B','Group C ')
In the formula, (1, 3) indicates to group data into 3 groups, Group A, Group B and Group C are the texts will be displayed in formula cells which used to distinguish different groups.
Then drag fill handle down to randomly assign data into groups.
Then the list of data has been randomly assigned to groups, and each group may have different numbers of data.
The calculated results will not be fixed, they will be recalculated if there is any change to the workbook.
Easily Combine/Consolidate data based on same value in Excel |
Supposing you are working with a worksheet which contains multiple duplicate records, and now you need to combine / merge the rows based on the same value and do some calculations, such as sum, average, count of the duplicate rows. With this Advanced Combine Rows of Kutools for Excel, you can quickly combine same values / same data or duplicate rows into appropriate cells. Click for full-featured free trial in 30 days! |
Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days. |
Generate random groups in a specified data size
If you want to generate random groups for a list of data, and each group has a specified data size, you can use the ROUNDUP and RANK functions.
Random Data Generator Sql
1. Firstly, you need a helper column to list some random data next to your data. Supposing in cell E2, type this formula
=RAND()
Then drag fill handle down to fill this formula to cells you use.
2. In the next column, supposing in cell F2, copy or type this formula
=ROUNDUP(RANK(E2,$E$2:$E$13)/4,0)
Nisus writer pro 3 0 45. E2:E13 is the range that contains formula =RAND(), 4 is the number of data that you want each group contains.
The drag fill handle down to generate random groups for the list of data.
Other Popular Articles
The Best Office Productivity Tools
Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%
- Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range..
- Merge Cells/Rows/Columns and Keeping Data; Split Cells Content; Combine Duplicate Rows and Sum/Average.. Prevent Duplicate Cells; Compare Ranges..
- Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select..
- Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more..
- Favorite and Quickly Insert Formulas, Ranges, Charts and Pictures; Encrypt Cells with password; Create Mailing List and send emails..
- Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments..
- Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic..
- Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF..
- Pivot Table Grouping by week number, day of week and more.. Show Unlocked, Locked Cells by different colors; Highlight Cells That Have Formula/Name..
- 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!
or post as a guest, but your post won't be published automatically.
Loading comment.. The comment will be refreshed after 00:00.
Introducing Random Data Generator 3.3.2 for Microsoft® Excel 2003-2013
Random Data Generator is an add-in for Microsoft® Excel 2003-2013 (32-bit Office only) that lets you easily create fake, randomly generated personal and demographic information in bulk. No VBA skills required! Save yourself and your organization time and money by using this tool.
Supported Excel Versions
Weather guru 1 8 download free. Excel 2003Excel 2007Excel 2010 (32-bit Office)Excel 2013 (32-bit Office)
Ever wondered where you can get large quantities of test data for your charts, VBA macros, import scripts or other functions? Now you can create Access databases loaded with pre-generated data tables, to use for queries, web demos, test databases, whatever else you can think of, in just a few seconds! This is just one of the many ways to use Random Data Generator.
In fact, if you …
- need randomly generated test data for your macros
- regularly perform load testing or imports into databases
- do web demos for potential clients
- need quantities of fake data for creating demo charts or recreating issues
- work with sensitive or proprietary data sets
… then this tool is for you.
Direct mail 5 7 100. This data can be used in applications such as PivotTables, macros, charts, tutorials, web demos, databases — anywhere that fake test data is needed, without using actual personal information (which may be protected by Sarbanes-Oxley [SOX] and/or the Health Insurance Portability and Accountability Act [HIPAA]).
The output data has many applications. It can be imported into RDBMS applications such as SQL or Oracle databases, used by other programming languages such as .NET, SAS or PHP, or programs such as MapPoint.
Random Data Generator Java
Sign Up For the Newsletter
Random Data Generator C#
Want Random Data Generator news and special offers? Subscribe via email.