← All postsHow-to

Data cleansing: fixing records without breaking them

Data cleansing corrects errors, gaps and inconsistencies in existing records. What it covers, the order of work, and what not to touch.

How-toD

Data cleansing is the work of correcting what is already in the system — misspellings, missing fields, inconsistent formats, records describing things that no longer exist. It is usually proposed as a project and only survives as a routine, because data degrades continuously and a one-off clean is obsolete within months.

What data cleansing fixes

  • Formatting inconsistency: addresses, phone numbers, company suffixes.
  • Missing values in fields that decide routing, reporting or entitlement.
  • Stale records: contacts who left, companies dissolved, addresses abandoned.
  • Values entered into the wrong field, which no validation rule catches.
  • Free-text where a picklist should be, producing forty spellings of one answer.
  • Not duplicates, which are a separate exercise with different risks.
  • Not the definition of the record itself, which is a customer master data question.

The order of work

Profile before changing anything: count distinct values per field, find the outliers, and measure how much of the problem is concentrated in a few patterns. Usually it is — a handful of fixes covers most records, and the long tail costs more than it returns. Standardise formats next, since that makes everything else comparable. Only then fill gaps, and only from authoritative sources rather than inference. Enriching from a third party is tempting and introduces data whose accuracy nobody on the team can vouch for, which matters when a customer asks where you got it.

Cleansing without fixing the source is a treadmill. If free text is accepted where a picklist belongs, the same mess reappears within a quarter — so every cleansing pass should end with a change to the entry route that produced the problem.

What not to touch

  1. Historical records that must reflect what was true at the time — invoices, contracts, audit trails.
  2. Names as the person actually spells them, which are not errors to normalise.
  3. Fields another system owns, where your change will be overwritten or will diverge.
  4. Anything where the correct value is a guess rather than a lookup.
  5. Consent and preference data, which has its own provenance requirements.
  6. Records under legal hold, where alteration carries its own consequences.

Ettex Sheets suits the profiling pass — distinct values, gaps and outliers per field — which is what shows where the effort pays before anyone starts editing.

Frequently asked

Is cleansing a project or a routine?

A routine. Data degrades continuously, so a one-off clean is out of date within months unless the entry route changes too.

Where should it start?

With profiling. Most problems concentrate in a few patterns, and the long tail usually costs more than it returns.

What should be left alone?

Historical records, names as people spell them, fields owned by another system, and anything where the correct value would be a guess.

MI
Written by Maria I.

Part of the Ettex team — writing about product, engineering and the future of work.

More posts
Get the best of the Ettex blogProduct news, guides and tips — straight to your inbox, no spam.