Generating Mock Excel Data with Mockaroo

In this tutorial, we will show how to generate mock Excel data with Mockaroo.

Generating Mock Excel Data with Mockaroo
Image by Mackaroo
 

To test applications, simulation, and learn data analysis mock data is essential. Mockaroo is a powerful online tool that allows users to generate realistic, structured mock data in various formats, including Excel (XLSX).

In this tutorial, we will show how to generate mock Excel data with Mockaroo.

What is Mockaroo?

Mockaroo is a free online tool that generates custom datasets with information such as names, phone numbers, addresses, etc. It’s particularly useful for:

  • Testing applications.
  • Creating demo data.
  • Populating development databases.
  • Practicing data analysis without real user data.

Step 1: Accessing Mockaroo

  • Go to Mockaroo.
  • You will see a default dataset with columns like id, first_name, last_name, email, etc.
  • You can either use the default fields or customize the dataset according to your needs.
  • Each row represents a field in your dataset.
  • For each field:
    • Enter a name in the Field Name column.
    • Select a Data Type from the dropdown menu.
    • Configure any specific Options for that data type.

Generating Mock Excel Data with Mockaroo

Step 2: Choose Field Types

Mockaroo offers dozens of data types. You can select based on your dataset type.

  • Add New Columns: Click the + Add Another Field button to create a new column.

Generating Mock Excel Data with Mockaroo

  • Rename Columns: Click on the field name and edit/rename it.
  • Select Data Types: Choose from Mockaroo’s wide range of predefined data types, including:
    • Personal Data: First Name, Last Name, Email, Address, Phone Number, etc.
    • Business Data: Company Name, Job Title, Industry, etc.
    • Numeric Data: Random Integers, Decimals, and Currency values.
    • Date & Time: Timestamps, Birthdates, Future/Past Dates.
    • Custom Formulas: Use SQL-like expressions for advanced data generation.

Generating Mock Excel Data with Mockaroo

Step 3: Set Field Options

Mockaroo offers customizable options:

  • Format Options: If you choose Date, you can select a specific date format (YYYY-MM-DD, MM/DD/YYYY, etc.).

Generating Mock Excel Data with Mockaroo

Date Format:

Generating Mock Excel Data with Mockaroo

  • Range Constraints: For numbers, you can set min/max values.
  • Custom Lists: You can define your values using the Custom List data type.

Step 4: Add Formulas and Dependencies

For more advanced datasets:

  • You can use the Formula data type to create calculated fields.

Generating Mock Excel Data with Mockaroo

  • Set up correlations between fields (e.g., city depends on state).
  • You can create custom distributions using weights.

Step 5: Configure Output Settings

  • Set the number of rows to generate (up to 1,000 with a free account)
  • Choose Excel as the format.
  • Configure additional options:
    • Include header row.
    • Set file name.

Generating Mock Excel Data with Mockaroo

Step 6: Generate and Download

  • You can directly download data by selecting GENERATE DATA.
  • Or, preview the data by selecting the PREVIEW option then download the data.

Generating Mock Excel Data with Mockaroo

  • Open the file to verify your mock data.

Save and Reuse Schemas

If you create an account, you can save your schemas.

  • Click on the Save Schema button.
  • Give your schema a name.
  • Access saved schemas from your dashboard for future use.

Creating Customer Database

Let’s create a realistic customer database.

  • Field Name: id, Type: Row Number
  • Field Name: first_name, Type: First Name
  • Field Name: last_name, Type: Last Name
  • Field Name: email, Type: Formula, Value: lower(first_name) + “.” + lower(last_name) + “@example.com”
  • Field Name: phone, Type: Phone
  • Field Name: address, Type: Street Address
  • Field Name: city, Type: City
  • Field Name: state, Type: State (US)
  • Field Name: zip, Type: Postal Code
  • Field Name: signup_date, Type: Date (past 2 years)
  • Field Name: last_purchase, Type: Date (past 6 months)
  • Field Name: lifetime_value, Type: Number (decimal, 0-5000)

Generating Mock Excel Data with Mockaroo

  • Now, select PREVIEW to check the dataset
  • Click on #Rows: then select GENERATE DATA.

Generating Mock Excel Data with Mockaroo

  • Save the Mock_Data.xlsx.

Generating Mock Excel Data with Mockaroo

  • Open the Mock data to verify it.

v

Mockaroo is a simple yet powerful tool for generating mock Excel data tailored to your needs. With Mockaroo, you can quickly generate thousands of rows of realistic data, saving hours of manual entry and ensuring your systems are tested with diverse, representative information. Just by following the simple guide you can create a realistic dataset within a few clicks. It saves time and effort in testing and development workflows.

Get FREE Advanced Excel Exercises with Solutions!

Shamima Sultana
Shamima Sultana

Shamima Sultana, BSc, Computer Science and Engineering, East West University, Bangladesh, has been working with the ExcelDemy project for 3+ years. She has written and reviewed 1000+ articles for ExcelDemy. She has also led several teams with Excel VBA and Content Development works. Currently, she is working as the Project Manager and oversees the day-to-day work, leads the services team, allocates resources to the right area, etc. Her work and learning interests vary from Microsoft Office Suites, and... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo