THE MESSY DATA CHALLENGE · BEGINNER

Messy data.
Meet your first clean-up.

Free Excel and Google Sheets data cleaning practice with a downloadable dataset, clear rules and instant feedback on your finished CSV.

100 fictional rows · About 20–30 minutes · No signup

On your phone?Preview the feedback now. A computer with Excel or Google Sheets is recommended for cleaning the file.

A SMALL CHANGE. BETTER DATA.

BEFORE" Alex Morgan "
north
CU 1,250
AFTERAlex Morgan
North
1250

You do the cleaning. We help you spot what’s left.

  1. 1. Get your datasetDownload the free practice CSV.
  2. 2. Clean in your spreadsheetFollow the five rules below.
  3. 3. Check & improveSelect your cleaned CSV for feedback.
See the first five records before downloading

A preview of the original fictional file. Blank cells are intentional. The complete download contains 100 rows.

Original dataset preview
record_idcustomer_nameemailregionmonthly_spendmissing_status
C001 Alex Morgan north
C002Sam Riveralearner2@example.comSOUTH50
C003Jamie Chenlearner3@example.comEastCU 75
C004 Taylor Singh learner4@example.comwest100
C005Robin Kimlearner5@example.comNORTHCU 125

YOUR FIRST ANALYST TASK

Clean a customer export.

A fictional team needs a reliable customer list. Your file has stray spaces, inconsistent regions, amounts stored as text and repeated records. Make it ready to use.

Your five cleaning rules

  1. Keep 95 unique records. The 100 source rows include five exact duplicates. Keep IDs C001–C095 once each. Different IDs may share a name; keep them. Row order can change.
  2. Clean spaces, preserve details. Trim customer names and reduce repeated internal spaces to one. Preserve their spelling and case. Keep emails exactly as supplied, including blanks.
  3. Standardise regions. Use exactly North, South, East or West, matching the original region.
  4. Make amounts numeric. Remove CU, commas and spaces from monthly_spend. Preserve the amount; use a period for decimals. Leave original blanks empty.
  5. Flag missing values. Set missing_status to missing when email or monthly_spend is blank; otherwise use complete. Keep incomplete records. Do not invent values.

Keep all six column headers. You can reorder columns. Export only your final table, without notes or totals, as CSV UTF-8.

Download the task instructions (.txt)
I need a hint

Try TRIM for names and PROPER for these region labels. SUBSTITUTE can remove CU and commas. Use IF with OR to create the missing flag. Remove duplicates using record_id, keeping your original data in a separate sheet.

How do I export my file?

In Excel, use Save As and select CSV UTF-8 for the cleaned sheet. In Google Sheets, choose File → Download → Comma-separated values (.csv). Export values from the final sheet; do not rename an XLSX file to CSV.

A computer with a spreadsheet app is recommended. On a phone, you can read the brief, preview the checker and save the files for later.

Worked answer and approach

Try the task first. The solution is one valid output; row order and numeric values such as 1250.00 are also accepted. Compare it with your file after using the feedback.

Download the worked answer (.csv)

YOUR WORK, YOUR DEVICE

How clean is your file?

Select your cleaned CSV for feedback by record ID and rule. It is read locally in your browser and never uploaded.

Use the supplied fictional dataset. The checker accepts comma, semicolon or tab separators.

Practice a useful part of data analysis.

Basic usage counts and privacy

To improve this challenge, DigiSkill counts page views, dataset-download clicks, file checks, checks of changed files and all-checks-passed results. Each event is counted at most once per page load. Demo actions are excluded. Only the event name is sent to our server; your CSV, filename, answers and score stay in your browser. Daily totals are kept for up to 90 days, with older totals removed on the next recorded event. They are activity counts, not unique people. Our host may keep normal request logs.

We respect Do Not Track and Global Privacy Control signals. Your opt-out choice is saved in this browser. Read the privacy details.

This challenge is for students and recent graduates building confidence for projects and entry-level work. You choose the formulas or tools; the checker tests your output against the published rules. It does not assess your method or certify job readiness.

Is this an Excel workbook checker?

This challenge checks CSV values only. It does not open XLSX files, run macros or evaluate spreadsheet formulas. Export the cleaned sheet as CSV first.

What does the score mean?

Each of 95 records has five value checks, plus one file-structure check: 476 checks in total. The percentage is rounded down. Completion requires every check to pass, including keeping exactly the expected IDs. A sample preview does not save progress.

Are my results stored?

Only your latest score, completion status and time are saved in this browser. File contents and record feedback stay in memory until you reload or leave the page. Use the button below to clear the saved result.

Need a smaller starting point? Try TRIM practice or browse Excel practice.

YOUR LEARNING JOURNEY

Look how far you’ve come.

Your progress is saved in this browser. Clearing browser data removes it.

Manage saved progress

This removes your completed-challenge history from this browser.