Practical guide / Data quality & cleanup

Data quality checks need a business rule and a next owner.

A repeated ID may be a duplicate, a version or a legitimate line item. Work through a CSV example, inspect what the checks actually establish and decide how your team should resolve the flags.

What would make this import safe to proceed?

Start with the destination and the task. A customer import may require one stable customer ID and a contact address. An invoice extract may allow several rows for the same invoice because each row represents a line item. The same repeated value can mean something different in those two datasets.

Write the rule in plain language: “Every customer record needs an ID; compare IDs after trimming surrounding spaces; review all repeated IDs before deciding which records, if any, should be merged.” This names the check without pretending that a parser knows the correct customer record.

A small CSV with several different problems

The browser-local checker starts with 8 fictional customer rows and five fields: customer ID, company, email, amount and joined date. Under the default sample rules, it produces 8 flags across 5 rows. Those are review findings, not an overall quality score.

Sample findingWhat the check establishesDecision still needed
One customer ID appears twiceThe selected trimmed key repeats in two rowsAre they duplicates, branches, versions or a wrongly chosen key?
A customer ID or required email is blankThe selected required field has no non-whitespace valueWhere should the correct value come from, or is the rule wrong?
An amount uses a grouping separatorIt does not match the selected plain-decimal formatWhich locale and number format does the destination accept?
An address lacks an expected email shapeIt fails a basic syntax checkWhat is the correct address? A syntactically plausible address still may not receive mail
A date is 2026-02-30It is not a valid calendar date in YYYY-MM-DD formatCheck the source rather than guessing a replacement date
A company value has surrounding spacesIts original text differs from the trimmed textWould trimming affect a meaningful identifier or downstream comparison?

The quoted multiline company field in the sample is valid CSV. It is one logical data row even though it spans more than one physical line. The checker’s row numbers exclude the header and refer to these logical data rows.

Keep completeness, uniqueness and format checks distinct

Data quality tools can help apply explicit checks consistently, but a flag still needs interpretation. In this tool, required fields address completeness, repeated keys address a chosen uniqueness assumption, and number/email/date rules address specific formats. None proves that a value is factually correct.

  • Required fields: use only fields that the task genuinely requires. Blank optional fields can be legitimate.
  • Repeated keys: decide the actual record grain. An order number alone is not unique in a line-item extract. A composite key may need to be prepared upstream.
  • Case and spaces: key comparisons trim surrounding spaces. Ignoring case is optional. Source records are not rewritten by either choice.
  • Numbers: this checker expects plain decimals without currency signs or grouping separators. It does not infer locale, currency or accounting meaning.
  • Dates: the selected date column must match your chosen format and describe a possible calendar date. Choose YYYY-MM-DD or US MM/DD/YYYY explicitly in the checker; it does not guess ambiguous dates or convert values.
  • Email shape: the check cannot establish mailbox existence, delivery, identity or consent.

A dataset with no flags may simply have incomplete rules. Accuracy, relationships between records, business eligibility and cross-system reconciliation need additional checks.

Check spreadsheet exports before assuming the source is wrong.

A US date such as 11/20/2026 is different text from 2026-11-20, even when both represent the same day. Choose the expected format before interpreting a flag. An ambiguous value such as 04/05/2026 needs an agreed source format; this checker will not infer whether it meant April 5 or May 4.

A long identifier exported as 1.23E+15 deserves comparison with the original system. The selected-key warning highlights that notation for review; it cannot reconstruct rounded digits or detect leading zeros that were already lost. Export identifiers as text at the source. Currency-formatted amounts such as $1,234.56 also differ from this tool's plain-decimal contract; agree the destination format instead of blindly stripping characters.

The same key twice can mean two different review tasks.

If every source field is identical, investigate repeated exports or delivery before removing anything. If the key matches but other fields differ, inspect the source history: these might be competing updates, distinct versions or legitimate line items. The checker separates those two group types without choosing a winning record. Composite identifiers and allowed-value lists need additional agreed rules beyond its single-key checks.

A useful flag needs someone who can resolve it

Keep the original extract. Assign each issue type to a source owner and agree what evidence supports a correction. For repeated customer keys, inspect all matching records and the source system before deciding whether to merge, split or retain them.

The downloaded flag report contains row numbers, column names and review notes, without source cell values. Use the row references beside the original extract to delegate the review. Column names and context can themselves be sensitive, so inspect an export before sharing it. It does not delete duplicates or output a supposedly clean master file. Record the accepted correction and re-run the relevant checks on a new extract so the result is reproducible.

If the same issue returns each week, investigate how it enters the system. A correction in one spreadsheet does not repair a form, import mapping or integration that keeps generating the problem.

Which data quality tools do you actually need?

Before buying data quality management software or commissioning a new application, compare the checks with the capabilities you already have. A simple extract may be reviewable in a spreadsheet; repeatable pipelines may benefit from checks in the source system, database or existing data platform.

NeedStarting point to investigate
One small CSV before importA transparent local checker with known parsing and rule limits
Recurring required-field and uniqueness checksSource validation, database constraints or existing pipeline checks
Several systems disagree about a customer or supplierAgreed identifiers, source ownership and reconciliation rules
Many unresolved flagsAn owned exception queue and correction process, rather than more unattended alerts
Complex or regulated data useA scoped review of access, retention, audit and domain-specific requirements

This is an implementation decision framework, not a ranking of software products. The local CSV tool does not replace enterprise data management, identity resolution or a specialized domain review.

Master data management starts with who owns each shared fact.

File checks become a different business problem when several applications disagree about the same customer, product or supplier. Master data management needs a stable identity, an agreed authority for each attribute and a controlled way to distribute accepted changes. Fixing the spelling in one export will not resolve competing writers.

Fictional source recordWhat the source may ownDecision to record
CRM customer C-42: “Acme North”Sales contact and relationship ownerDoes this represent the same legal account or a distinct branch?
Finance customer F-890: “Acme Trading Ltd”Accepted billing identity and invoice addressWhich reviewed identifier links the account without merging a separate branch?
Warehouse delivery account W-17Approved ship-to locationWhich fields can a delivery update change, and which must stay finance-owned?

A reviewed mapping could link C-42 and F-890 while retaining W-17 as a separate ship-to record. Keep the evidence, decision actor, source IDs and effective version. If the owner cannot establish that two records refer to the same entity, hold the proposed link for review rather than automatically merging them.

Choose software around the source conflicts it must resolve.

Evaluate master data management software against the actual disagreement, permissions and downstream consumers. A master data management platform needs more than a tidy record screen: accepted changes must reach the intended systems, and rejected or delayed updates must have an owner.

RequirementEvidence to ask for
Attribute authorityA rule showing which source may change the billing name, contact or delivery address
Identity and conflict reviewA reviewed cross-reference and a queue for uncertain matches
History and accessWho changed a value, what they saw and which roles can see or approve it
Propagation and recoveryAcknowledged consumer updates, duplicate-safe retries and visible rejected changes

Compare master data management tools using these cases before choosing a central hub, coordinated source rules or another architecture. A master data management system must have a maintained source contract and operating owner. The shared-record example illustrates version conflicts; data integration work addresses the actual source and destination handoffs.

The best data quality tools for a task are the ones that apply the agreed checks transparently and give someone a useful next action. Keep small-file validation, recurring pipeline checks and shared-record governance as distinct requirements in that comparison.

Turn the agreed rules into repeatable checks

Document the data source, extract time, selected columns, rules and owners. Decide whether a failed check should block an import, hold only the affected rows or publish a visible warning. Agree how failed checks and failed check execution are distinguished; a job that did not run is not a passing result.

For a reporting workflow, reconcile the data checks with the metric definitions. The operations dashboard example shows how a missing timestamp can exclude a record from one interval while leaving another calculation usable. Do not silently substitute zero for missing business events.

Write a header contract and a failure policy.

The requirements brief records the current header names and selected rules as a draft for your team. Agree what one row represents, the expected names and types, and who resolves missing or renamed columns before the next extract. This download does not store or enforce a contract against future files.

Test the destination's actual response: does an invalid field reject the whole file, hold a row, or accept a partial record? Agree the block, hold or warn policy, then reconcile imported IDs and counts with the source. A transport success response does not establish that all intended fields were saved correctly.

When the CSV is only the symptom.

Business situationProblem to investigateUseful implementation scope
A distributor keeps seeing a customer twice after a syncThe form, API and import may not share the same stable customer ID or duplicate rulesMap identities, test duplicate deliveries and assign conflicting matches to an owner
A finance team corrects the same cost-center column every weekThe source export and destination's allowed values may disagreeAgree the value map, flag changes before import and verify rejected or partially accepted rows
A retailer's sales and finance reports disagree after an importOrder dates, invoice dates and line-item grain may be mixedReconcile IDs, definitions and counts before changing the report

These are illustrative scopes, not client case studies. One-off formatting may already be handled by your spreadsheet or destination's import checks. Recurring data integration needs a source of truth, explicit failure handling and an owner. Broader master data management also requires identity mapping, agreed authoritative records and controlled changes; this local checker does not provide those capabilities.

Common questions

What is master data management beyond checking a CSV?

It is the ongoing work of agreeing shared identities, authoritative attributes, access, reviewed changes and distribution across systems. A CSV checker can identify a repeated key or missing field, but source authority and controlled updates require a separate implementation scope.

Which record should win when two business systems disagree?

Agree authority by attribute and task, not merely by whichever update arrived last. Retain both source references, check whether they represent the same entity and route uncertain cases to an authorized owner. Test that an accepted correction reaches every intended consumer.

Does my CSV leave the browser?

No file upload or external API is used by this checker. Loaded values remain in page memory. The optional requirements brief contains column names, rules and counts, and you can review it in the contact form before sending.

Can the checker automatically remove duplicates?

No. It flags every row in a repeated-key group and leaves the source unchanged. Decide whether the repeated key is actually an error before applying a merge or deletion elsewhere.

What are the file and report limits?

UTF-8, comma-delimited CSV up to 1 MB, 10,000 data rows, 100 columns and 100,000 cells. Malformed quoting, unequal field counts and duplicate headers produce explicit loading errors. Results count all selected checks, but the on-page and exported report is capped at the first 2,000 flags.

Why did a file load without many flags?

When you load your own file, only surrounding-space checks start enabled. Choose the key, required columns and relevant format fields. The sample has its own preselected rules because its schema is known.

What can AIEstatech help implement?

Define and validate business rules, investigate source-data mapping, integrate checks into imports or reporting, and build an owned exception-review process. The scope depends on the actual systems, data and correction responsibilities.

Make the checks part of the workflow.

Start with a useful rule set, a source of truth and someone who can resolve the exceptions.