Why spreadsheets are never clean
There are three common sources:
- The same client was entered once by several colleagues
- Dates, amounts and phone numbers are in mixed formats (
2026/11/11,2026-11-11, text with a currency word) - Required fields depend on memory, and missing values get mixed with “uncertain”
Building a tool without cleaning first copies the problems into the code.
Five cleaning steps
- Back up the original sheet: make a copy with the date in the name
- Standardise formats: dates as
YYYY-MM-DD; amounts as numbers only; phone numbers without spaces and dashes - Deduplicate: define the key (phone or email) first, find duplicates and merge them
- Handle empty values: separate “does not exist” from “is zero”, and mark uncertain ones separately
- Save a version: save the cleaned result separately and record what changed
Of the five steps, standardising formats usually takes the most time and is worth the most.
Do the checks while cleaning
While cleaning, calculate three numbers as a baseline for later:
| Check | How to calculate |
|---|---|
| Total rows | Row difference before and after = number of duplicates removed |
| Amount total | Check with SUM, and look separately at rows with missing amounts |
| Missing key fields | Rows where client name or phone number is empty |
Write these three numbers into the cleaning record; dashboards and pages later use them for comparison.
Three checklists
Format: are dates, amounts, phone numbers and text casing consistent
Completeness: are required fields empty; does the gap mean “does not exist” or “not filled in”
Consistency: does each client appear only once; do status and category take only a fixed set of values
What AI can help with
Below are the first 20 rows of the spreadsheet. Point out which columns may have inconsistent formats and suggest how to standardise them; do not modify the data, just list the problems first.
Let AI identify problems; do not let it batch-edit the data directly, which is the most error-prone use.
After cleaning
- Build the dashboard or page with the cleaned data
- Write the new entry rules into the form (required fields, format hints)
- Do a “format spot check” once a month
- Keep the original sheet for at least three months for comparison
Checklist
- The original sheet is backed up and the cleaned result is saved separately
- Date and amount formats are standardised
- The key is defined and duplicates are merged
- Empty values and zeros are distinguished
- Rows, amounts and missing counts are checked
- Entry rules are written into the form or the instructions
To practise cleaning with your own spreadsheet, talk to us free for 15 minutes and clean one of your most-used sheets first.
Questions
Should I back up before cleaning?
Yes. Copy the original sheet before starting and keep the original version; save the cleaned result as a new file so you can compare against the raw data if something goes wrong.
How do I decide what counts as duplicate?
First define what counts as the same client: phone number, email, or company name plus contact. Pick one key and use the others as support; only identical keys count as duplicates.
Should empty values be filled with 0 or left empty?
Tell them apart by meaning: leave empty or mark not applicable when the item does not exist; fill 0 only when the value should be zero. Mixing them breaks totals and averages.