Several data cleansing techniques address different categories of quality problems. Choosing the right technique depends on the type of error, the volume of data and the downstream use case.
identifies and merges or removes records that represent the same real-world entity. Fuzzy matching, which compares records that are similar but not identical — such as Jon Smith versus John Smith, at the same address — is required when exact-match logic alone misses duplicates. In B2B databases, without active data quality management, duplicates can account for an estimated 10%-30% of contacts. Removing them can lower campaign send costs and improve deliverability metrics.
converts data into a consistent format across all records. Phone numbers expressed as +1 555 867 5309, 555-867-5309 and 5558675309 represent the same value. Standardisation collapses them into a single canonical format. This discipline of data standardisation is a prerequisite for joining records across systems. Without it, a simple SQL join on phone number will treat those three formats as three different customers.
resolves null or blank fields using one of three strategies:
- substitutes a statistically derived or rule-based value, such as filling a missing state field based on the postcode.
- marks the field as unknown, so downstream models handle it explicitly rather than ignoring the record or defaulting to zero.
- drops incomplete records when completeness is non-negotiable, such as in financial reporting, where partial records would violate audit requirements.
The right strategy depends on how critical the field is to the use case. Imputing a missing product category for a recommendation model is reasonable. Imputing a missing consent flag for a privacy workflow is not.
enforce constraints that data must meet to be accepted. A date-of-birth field cannot contain a future date. An email address must match a valid syntax pattern. A country code must exist in an ISO reference list. Data validation is often the first gate in a data pipeline, catching errors at ingestion before they propagate into reporting tables and activation systems.
surfaces values that are statistically improbable and may indicate data entry errors rather than genuine extremes. A transaction amount of $1,000,000 in a dataset with a median of $45 warrants review. It may be a keying error, a currency conversion mistake or a legitimate edge case that needs a separate treatment path. The key is to surface the anomaly for review rather than silently including or excluding it.
break compound fields into atomic components. A single Full Name field split into First Name and Surname enables personalisation and sorting. An address parsed into street, city, state and postcode enables geographic segmentation. This technique often overlaps with data transformation, but is performed for correctness rather than schema change.