Create a column-by-column Excel data cleaning plan

Auteur: AILesson8 min de préparationTesté avec:ChatGPTRévisé: 2026-08-28

Réponse rapide

Inspect field meanings and define reversible cleaning rules before changing data. Fournir: Dataset purpose, Columns and intended meanings, Representative rows and known issues. Résultat attendu: A prioritized cleaning plan, validation rules, and audit columns.

1

Ajouter votre contexte

Votre texte reste dans ce navigateur. AILesson Prompts ne l’envoie ni à un modèle ni à un serveur.

2

Votre prompt

Les champs non remplis restent visibles sous forme d’espaces réservés, afin que vous puissiez quand même copier et modifier le prompt.

Design a reversible Excel data-cleaning plan.

Dataset purpose:
[purpose]

Columns and intended meanings:
[schema]

Representative rows and known issues:
[sample]

Do not edit or discard values yet. Profile each column for type, blanks, uniqueness, allowed values, formatting, and cross-field consistency. Separate harmless presentation differences from changes that alter meaning. Return:
1. Blocking questions and assumptions
2. Column-by-column issue table with evidence
3. Cleaning rule, validation rule, and exception handling for each issue
4. Recommended helper/audit columns
5. Safe execution order with a preserved raw copy
6. Before/after tests and a rollback method

Never infer missing identities, categories, dates, or business facts from appearance alone.
Essayer dans le Playground
Privé par défautL’assemblage du prompt se fait localement dans votre navigateur. Évitez de placer des informations confidentielles dans un service d’IA, sauf si votre organisation l’autorise.

De l'entrée au résultat

Un exemple détaillé

Voyez comment un contexte concret transforme cette recette en résultat utilisable.

Entrée réelle

Dataset purpose
Prepare a customer export for CRM import and regional sales counts. The CRM requires a unique Customer ID, a valid email or blank, ISO country codes, and an ISO signup date.
Columns and intended meanings
CustomerID required unique text; Email optional; Country required ISO alpha-2; SignupDate required date; Status one of Active, Paused, Closed.
Representative rows and known issues
C-001 | ANA@EXAMPLE.COM | United Kingdom | 3/4/26 | active; C-002 | blank | UK | 2026-04-03 | Paused; C-002 | ana2@example.com | GB | 04/03/2026 | Active; C-004 | bad-address | U.K. | blank | closed.

Exemple de sortie

Blocking questions

Confirm the source locale for 3/4/26 and 04/03/2026, the authoritative record for duplicate C-002, and whether a missing signup date blocks import. These cannot be inferred safely.

ColumnEvidenceCleaning ruleValidation / exception
CustomerIDC-002 repeatsTrim only; do not mergeCOUNTIF must equal 1; route duplicates to review
Emailuppercase, blank, malformedTrim and lowercase; preserve blankBasic structural check; flag bad-address
CountryUnited Kingdom, UK, GB, U.K.Map confirmed aliases to GBReject unmapped values
SignupDateISO plus ambiguous numeric textPreserve ISO; convert only after locale confirmationFlag ambiguous and blank values
Statuscase variationMap case-insensitively to approved labelsReject other values

Create RawValue, CleanValue, RuleApplied, and ReviewReason columns or a separate audit sheet. Duplicate the source sheet as Raw_ReadOnly, record row count and a checksum of CustomerID values, then clean helper columns in the order: keys → required fields → dates → controlled labels → optional fields. Import only rows with no ReviewReason. Reconcile final row count, unique key count, rejected rows, and each mapping total to the raw copy. Roll back by discarding the clean sheet; never overwrite Raw_ReadOnly.

Pourquoi cela fonctionne

  1. 1

    Profiling before mutation prevents cosmetic cleanup from changing business meaning.

  2. 2

    Raw copies and audit columns make every transformation reviewable and reversible.

Vérifier le résultat

  • Is every cleaning rule tied to a stated field meaning or allowed value?

  • Can exceptional rows be reviewed without being overwritten?

  • Can the cleaned result be reconciled to the raw row count and keys?

Utilisez-la en toute confiance

Questions fréquentes

Des réponses pratiques sur le bon moment pour utiliser cette recette, ce qu’il faut fournir et les cas où une vérification humaine reste nécessaire.

What should I prepare before using “Create a column-by-column Excel data cleaning plan”?

For “Create a column-by-column Excel data cleaning plan,” prepare Dataset purpose, Columns and intended meanings, and Representative rows and known issues. Replace placeholders only with information you can verify. If a detail is unknown, preserve that uncertainty explicitly instead of asking the model to infer it.

When is the “Create a column-by-column Excel data cleaning plan” result not ready to use?

The result is not ready if it does not yet deliver the stated outcome—A prioritized cleaning plan, validation rules, and audit columns—from the supplied evidence, or if it relies on unresolved assumptions, missing approvals, or invented details. Use the checks as release gates: revise the source inputs or assign a named, authorized reviewer instead of polishing an unsupported output.

Which AI tools have recorded tests for “Create a column-by-column Excel data cleaning plan”?

The published test record for “Create a column-by-column Excel data cleaning plan” lists ChatGPT as of 2026-08-28. This confirms recorded runs, not guaranteed compatibility or identical results in later product versions. For another tool or version, keep every constraint visible and repeat the result checks before use.

Plus de façons d'explorer

Où se situe cette recette

Faites avancer votre travail