Whether you deliver spreadsheet data to clients or receive it, a file can look tidy and still cause wrong totals, failed imports or duplicate contacts in a CRM (customer database). This checklist covers nine problems to look for first, and what a useful data-quality report should tell you.
I wrote a data-quality checker in Python that catches several of these problems automatically. Its most useful lesson came from a test file that scored very well and was still not ready.
A file that scored 97.5% and was still not ready
The test file was a made-up customer list with 508 rows and 7 columns: customer ID, email, phone, purchase amount, signup date, country and notes. I built it with deliberate mistakes, so no real client data was involved.
The checker gave it an overall score of 97.5%, grade A, and a pass. It also listed 458 issues, including:
- 8 duplicate rows
- 20 invalid email addresses
- 15 phone numbers that just said "N/A"
- 10 impossible dates, all written as "31/31/2023"
Import that list into a CRM and you risk 20 contacts you cannot email and 8 customers counted twice. A high score sums up a file. It does not tell you the file is ready to use. Here is what to check before trusting any file.
The checklist
- Duplicate rows. For exact copies, the Remove Duplicates button on Excel's Data tab deletes them and reports how many it removed, so run it on a copy. Near duplicates, such as one customer typed two ways, slip past it, so sort by a key column like email and scan neighbouring rows.
- Blank cells and placeholders. Count the empty cells in each column, then search for text that stands in for "nothing": N/A, a dash, "unknown" or 0. Decide per column whether to fill, flag or leave them. Filling a missing amount with an average is fine for a chart but wrong for an invoice.
- Hidden spaces. A cell holding only spaces looks empty but is not, and "premium" with a space in front will not match "premium" in a filter or lookup. In the test file, 188 notes cells had extra spaces, and 90 of them held nothing but spaces. In Excel, the formula =LEN(A2)<>LEN(TRIM(A2)) returns TRUE for a cell with spaces at the start or end, or double spaces inside.
- Email addresses. Look for entries with no @ sign, spaces inside, or no ending such as .com. A format check catches malformed entries but not a misspelled domain, and it cannot prove that an address receives mail.
- Phone numbers. Check that each number has a sensible number of digits once you ignore spaces, dashes, dots and brackets, and that no cell holds words instead. In columns named like phone, my checker ignores the same separators and accepts an optional + followed by 7 to 15 digits, but a valid format does not mean the number works.
- Dates. Mixed formats are common: 03/04/2024 means March 4 in the US and 3 April in the UK. My checker reads it as March 4 and raises no warning. Also look for impossible dates. In Excel, dates stored as text usually sit at the left of the cell and real dates at the right.
- Numbers stored as text. Amounts saved as text are left out of SUM totals and can throw off a pivot table. Excel marks plain numbers stored as text with a small green corner triangle.
- Extreme values. Sort each number column from largest to smallest and read the top rows. The test file hid five purchase amounts of 99999 among normal ones. A single value like that can distort the average of hundreds of normal rows.
- Labels that mean the same thing. "US", "USA" and "United States" are three different values to a filter or chart. Open each category column's filter list and pick one spelling. My checker does not test for this, so check it by hand.
What a useful data-quality report should tell you
Whether you write the report or receive it, it should answer these questions.
- Where are the problems? Counts by column and by rule. Of the test file's 458 issues, 380 were blanks and extra spaces in the notes column. The 20 bad emails and 8 duplicate rows that put a CRM import at risk made up only 28.
- What does "issue" mean? In my report, the total counts flags, not bad rows, and one cell can count twice: a cell holding only spaces is flagged as blank and as having extra spaces.
- What sits behind the score? Mine splits it into five parts, each scored from 0 to 100. Completeness looks at missing cells, uniqueness at duplicate rows, consistency at blank text, extra spaces and overly long text, and accuracy at unusual values. Validity covers bad values in columns whose names include words like email, phone or date, plus stray text in mostly numeric columns. The test file's weakest part was consistency, at 89.3.
- What should I do next? Plain next steps with a severity level, such as removing the 8 duplicate rows to avoid double counting.
- What was not checked? Every tool has blind spots, so ask for them in writing. My checker, for example, only finds exact duplicate rows, so near duplicates need a separate look.
Final thoughts
Before a spreadsheet feeds a report, an import or a CRM, work through the nine checks above. Start with the columns the next system depends on, usually IDs, emails and dates. Treat any overall score as a starting point, not a verdict.