Sample data for Google Sheets
Every practice dataset here has a public CSV link, so one IMPORTDATA formula loads it into Google Sheets without a download. Updated 27 November 2026.
Start here
- Open a new, empty spreadsheet in Google Sheets.
- Click cell A1 of the first sheet (Sheet1) and paste one of the formulas below.
- The file fills the sheet from A1, with the column names in row 1. Column letters in the questions below match that layout.
- Add a second sheet for your own formulas, so they do not sit inside the imported range.
IMPORTDATA reads a .csv or .tsv file from a URL. Google's own page explains how it works: IMPORTDATA (Google Docs Editors Help). The links use the 1,000-row files. Synthetic datasets also come as 100 and 10,000 rows: change -1000 to -100 or -10000 in the link. If you would rather not use a formula, download the .csv or .xlsx from the dataset page and import it into Sheets as a file.
Numbers in these files use a dot for decimals and no thousands separators; dates are written as YYYY-MM-DD. The formulas here use commas between arguments. If your spreadsheet locale uses a comma for decimals (for example Germany or France), Sheets expects semicolons instead, and the dot-decimal numbers may not be read as numbers: set the spreadsheet locale to one such as United States (File > Settings) before importing.
Datasets with a CSV link
| Dataset | Rows | Columns | Paste into A1 |
|---|---|---|---|
| Sample sales data synthetic | 1,000 | 19 | =IMPORTDATA("https://databrighten.com/files/sales-orders/sales-orders-1000.csv") |
| Sample employee data synthetic | 1,000 | 12 | =IMPORTDATA("https://databrighten.com/files/employees/employees-1000.csv") |
| Sample customer data synthetic | 1,000 | 13 | =IMPORTDATA("https://databrighten.com/files/customers/customers-1000.csv") |
| Messy data for cleaning practice synthetic | 1,000 | 12 | =IMPORTDATA("https://databrighten.com/files/messy-customers/messy-customers-1000.csv") |
| Sample inventory data synthetic | 1,000 | 13 | =IMPORTDATA("https://databrighten.com/files/inventory/inventory-1000.csv") |
| Sample website traffic data synthetic | 1,000 | 10 | =IMPORTDATA("https://databrighten.com/files/website-traffic/website-traffic-1000.csv") |
| Sample marketing campaign data synthetic | 1,000 | 14 | =IMPORTDATA("https://databrighten.com/files/marketing-campaigns/marketing-campaigns-1000.csv") |
| Sample student data synthetic | 1,000 | 11 | =IMPORTDATA("https://databrighten.com/files/students/students-1000.csv") |
| Sample call center data synthetic | 1,000 | 10 | =IMPORTDATA("https://databrighten.com/files/call-center/call-center-1000.csv") |
| Sample restaurant sales data synthetic | 1,000 | 11 | =IMPORTDATA("https://databrighten.com/files/restaurant-orders/restaurant-orders-1000.csv") |
| Sample invoice data synthetic | 1,000 | 11 | =IMPORTDATA("https://databrighten.com/files/invoices/invoices-1000.csv") |
| Sample bank transaction data synthetic | 1,000 | 7 | =IMPORTDATA("https://databrighten.com/files/bank-transactions/bank-transactions-1000.csv") |
| Earthquake data (USGS) real data | 2,013 | 10 | =IMPORTDATA("https://databrighten.com/files/earthquakes-last-30-days/earthquakes-last-30-days.csv") |
| U.S. state population data real data | 51 | 13 | =IMPORTDATA("https://databrighten.com/files/us-state-population/us-state-population.csv") |
| World population by country real data | 5,208 | 6 | =IMPORTDATA("https://databrighten.com/files/world-population/world-population.csv") |
| GDP by country real data | 5,208 | 6 | =IMPORTDATA("https://databrighten.com/files/world-gdp/world-gdp.csv") |
| Daily weather data, 2024 real data | 3,660 | 8 | =IMPORTDATA("https://databrighten.com/files/daily-weather-2024/daily-weather-2024.csv") |
| Sample HR attrition data synthetic | 1,000 | 13 | =IMPORTDATA("https://databrighten.com/files/hr-attrition/hr-attrition-1000.csv") |
| Sample payroll data synthetic | 1,000 | 12 | =IMPORTDATA("https://databrighten.com/files/payroll/payroll-1000.csv") |
| Sample healthcare data synthetic | 1,000 | 11 | =IMPORTDATA("https://databrighten.com/files/hospital-patients/hospital-patients-1000.csv") |
| Sample hotel booking data synthetic | 1,000 | 13 | =IMPORTDATA("https://databrighten.com/files/hotel-bookings/hotel-bookings-1000.csv") |
| Sample e-commerce data synthetic | 1,000 | 13 | =IMPORTDATA("https://databrighten.com/files/ecommerce-orders/ecommerce-orders-1000.csv") |
| Sample loan data synthetic | 1,000 | 13 | =IMPORTDATA("https://databrighten.com/files/loan-applications/loan-applications-1000.csv") |
| Sample insurance claims data synthetic | 1,000 | 12 | =IMPORTDATA("https://databrighten.com/files/insurance-claims/insurance-claims-1000.csv") |
| Sample supply chain data synthetic | 1,000 | 12 | =IMPORTDATA("https://databrighten.com/files/shipments/shipments-1000.csv") |
| Sample project management data synthetic | 1,000 | 12 | =IMPORTDATA("https://databrighten.com/files/project-tasks/project-tasks-1000.csv") |
| Sample real estate data synthetic | 1,000 | 13 | =IMPORTDATA("https://databrighten.com/files/real-estate-listings/real-estate-listings-1000.csv") |
| Sample car sales data synthetic | 1,000 | 13 | =IMPORTDATA("https://databrighten.com/files/car-sales/car-sales-1000.csv") |
| Sample CRM sales pipeline data synthetic | 1,000 | 12 | =IMPORTDATA("https://databrighten.com/files/sales-pipeline/sales-pipeline-1000.csv") |
| Sample survey data synthetic | 1,000 | 11 | =IMPORTDATA("https://databrighten.com/files/survey-responses/survey-responses-1000.csv") |
| Sample subscription data synthetic | 1,000 | 12 | =IMPORTDATA("https://databrighten.com/files/subscriptions/subscriptions-1000.csv") |
| Sample retail store sales data synthetic | 1,000 | 15 | =IMPORTDATA("https://databrighten.com/files/retail-store-sales/retail-store-sales-1000.csv") |
| Sample gym membership data synthetic | 1,000 | 14 | =IMPORTDATA("https://databrighten.com/files/gym-members/gym-members-1000.csv") |
| Sample school enrollment data synthetic | 1,000 | 14 | =IMPORTDATA("https://databrighten.com/files/school-enrollment/school-enrollment-1000.csv") |
| Sample energy usage data synthetic | 1,000 | 13 | =IMPORTDATA("https://databrighten.com/files/energy-usage/energy-usage-1000.csv") |
| Sample support ticket data synthetic | 1,000 | 16 | =IMPORTDATA("https://databrighten.com/files/support-tickets/support-tickets-1000.csv") |
| Sample inventory movement data synthetic | 1,000 | 12 | =IMPORTDATA("https://databrighten.com/files/inventory-movements/inventory-movements-1000.csv") |
| Sample web events clickstream data synthetic | 1,000 | 13 | =IMPORTDATA("https://databrighten.com/files/web-events/web-events-1000.csv") |
| Sample flight delay data synthetic | 1,000 | 13 | =IMPORTDATA("https://databrighten.com/files/flight-delays/flight-delays-1000.csv") |
Questions
try first, then open the answer
What are total sales in the 1,000-row file? (sample sales data)
Sheet1, cell A1
=IMPORTDATA("https://databrighten.com/files/sales-orders/sales-orders-1000.csv")Formula (in a second sheet)
=SUM(Sheet1!Q2:Q1001)Answer
955,613.76
Computed from sales-orders-1000.csv and checked a second time by loading the matching .sql file into SQLite.
Total sales by region, largest first (sample sales data)
Sheet1, cell A1
=IMPORTDATA("https://databrighten.com/files/sales-orders/sales-orders-1000.csv")Formula (in a second sheet)
=QUERY(Sheet1!A1:S1001,"select H, sum(Q) group by H order by sum(Q) desc",1)Answer
| region | sum sales |
|---|---|
| South | 299,380.41 |
| Midwest | 234,801.89 |
| West | 217,262.68 |
| Northeast | 204,168.78 |
Computed from sales-orders-1000.csv and checked a second time by loading the matching .sql file into SQLite.
Return on ad spend (revenue / spend) for each channel (sample marketing campaign data)
Sheet1, cell A1
=IMPORTDATA("https://databrighten.com/files/marketing-campaigns/marketing-campaigns-1000.csv")Formula (in a second sheet)
=SUMIF(Sheet1!C2:C1001,"Email",Sheet1!M2:M1001)/SUMIF(Sheet1!C2:C1001,"Email",Sheet1!G2:G1001)The formula shows Email; change "Email" to another channel name for the other rows.
Answer
| channel | ROAS |
|---|---|
| 5.25 | |
| Affiliate | 4.98 |
| Paid search | 3.66 |
| Social | 2.85 |
| Display | 1.97 |
| Video | 1.92 |
Computed from marketing-campaigns-1000.csv and checked a second time by loading the matching .sql file into SQLite.
Average salary by department (sample employee data)
Sheet1, cell A1
=IMPORTDATA("https://databrighten.com/files/employees/employees-1000.csv")Formula (in a second sheet)
=AVERAGEIF(Sheet1!E2:E1001,"Engineering",Sheet1!H2:H1001)The formula shows Engineering; change the department name for the other rows. Answers are rounded to cents.
Answer
| department | average salary | employees |
|---|---|---|
| Engineering | 118,499.13 | 231 |
| Finance | 85,516.33 | 98 |
| IT | 79,419.18 | 73 |
| Marketing | 73,951.09 | 92 |
| Sales | 71,821.02 | 157 |
| Human Resources | 70,888.89 | 54 |
| Operations | 70,050.00 | 138 |
| Customer Support | 65,672.61 | 157 |
Computed from employees-1000.csv and checked a second time by loading the matching .sql file into SQLite.
How many students got each letter grade? (sample student data)
Sheet1, cell A1
=IMPORTDATA("https://databrighten.com/files/students/students-1000.csv")Formula (in a second sheet)
=COUNTIF(Sheet1!J2:J1001,"A")Change "A" to B, C, D or F for the other rows.
Answer
| letter_grade | students |
|---|---|
| A | 78 |
| B | 274 |
| C | 379 |
| D | 226 |
| F | 43 |
Computed from students-1000.csv and checked a second time by loading the matching .sql file into SQLite.
How many rows repeat a customer_id that appears earlier? (messy data for cleaning practice)
Sheet1, cell A1
=IMPORTDATA("https://databrighten.com/files/messy-customers/messy-customers-1000.csv")Formula (in a second sheet)
=COUNTA(Sheet1!A2:A1001)-COUNTUNIQUE(Sheet1!A2:A1001)Answer
40
Computed from messy-customers-1000.csv and checked a second time by loading the matching .sql file into SQLite.
How many rows have no email address? (messy data for cleaning practice)
Sheet1, cell A1
=IMPORTDATA("https://databrighten.com/files/messy-customers/messy-customers-1000.csv")Formula (in a second sheet)
=COUNTBLANK(Sheet1!D2:D1001)Answer
44
Computed from messy-customers-1000.csv and checked a second time by loading the matching .sql file into SQLite.
The QUERY question uses Google's QUERY function: QUERY (Google Docs Editors Help). Its result starts with a header row.