Dummy data generator

Tigerexcel

Active Member
Joined
Mar 6, 2020
Messages
493
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
I would like to find some way of quickly generating a small list containing 2 to 3 columns, something like:

Book4
BC
2Name Age
3Fred35
4Jack47
5Harry27
6Sue23
7Ken37
8Dave50
9Dean45
10Vera39
11George36
12Mike42
Sheet7
Cell Formulas
RangeFormula
C3:C12C3=RANDBETWEEN(20,50)



I'm expecting the solution to be a UDF or Macro as I can't think of a way of using a function which will remember the names mentioned. Ideally I'd like to pick a range eg 10 rows and have the procedure automatically populate the rows.
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Thanks Alan, like the fact that you can create your own fields on that site.
 
Upvote 0
If you like you could use my test data generator (test input is the output here):
MrExcel_sbGenerateTestData_for_Tigerexcel.xlsm
AB
1Test Input 1Test Input 2
2BLITHE24
3CAROLINE47
4ESTER45
5ERON50
6BRANT44
7ERLAND44
8AVEL34
9CARLA41
10CLARK37
11AMALIA32
12CHARLEE45
13ASTRID48
Data

German "WAHR" means True - this should auto-translate when you open the file with a US/UK version of Excel:
MrExcel_sbGenerateTestData_for_Tigerexcel.xlsm
FGHI
1Test Data GeneratorInput 1Input 2
2
3Number of test records1212
4Shuffle after generationWAHRWAHR
5Data type
29Long1
30Sum
31Min
32Min123
33Max350
34MaxRepeat
35String1
36Length
37MinAa
38MaxZz
39NextTabRepeat
40NextTabColumn22
41NextTabItemRepeat11
42NextTabItemColumn11
43NextTabGroupColumn22
44M11
45F11
46E0
Data

The file is stored here. Download, open, and use it at your own risk (but I am using an up-to-date virus scanner):
 
Upvote 0

Forum statistics

Threads
1,214,525
Messages
6,120,052
Members
448,940
Latest member
mdusw

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top