Find and handle duplicate records in Excel

Autor: AILesson7 Min. EinrichtungszeitGetestet mit:ChatGPTGeprüft am: 2026-08-28

Schnelle Antwort

Define duplicate identity, detect exact and near matches, and preserve conflicts for review. Angeben: Duplicate definition, Columns and sample duplicates, Resolution policy. Erwartetes Ergebnis: Duplicate flags, resolution groups, and a non-destructive review workflow.

1

Kontext hinzufügen

Dein Text bleibt in diesem Browser. AILesson Prompts sendet ihn nicht an ein Modell oder einen Server.

2

Dein Prompt

Nicht ausgefüllte Felder bleiben als Platzhalter sichtbar, sodass du den Prompt weiterhin kopieren und bearbeiten kannst.

Design an Excel workflow to find and handle duplicate records.

Duplicate definition:
[identity]

Columns and representative duplicate cases:
[layout]

Resolution policy:
[policy]

Distinguish exact duplicate rows, repeated business keys, and possible near matches. Do not recommend Remove Duplicates until the identity rule and conflict policy are explicit. Return helper formulas or conditional-formatting rules, duplicate group IDs, conflict checks, and separate actions for safe exact duplicates, conflicting duplicates, and uncertain near matches. Preserve source rows and show how to reconcile counts before and after resolution.
Im Playground ausprobieren
Standardmäßig privatDer Prompt wird lokal in deinem Browser zusammengestellt. Gib keine vertraulichen Informationen in einen KI-Dienst ein, es sei denn, deine Organisation erlaubt dies.

Von der Eingabe zum Ergebnis

Ein ausgearbeitetes Beispiel

Sieh dir an, wie konkreter Kontext dieses Rezept in ein nutzbares Ergebnis verwandelt.

Tatsächliche Eingabe

Duplicate definition
For a contact export, normalized email is the business key. Two rows with the same email are possible duplicates even if name capitalization differs. Rows with blank email are never auto-matched by name alone.
Columns and sample duplicates
A RowID; B FullName; C Email; D UpdatedAt; E Source; F Phone. Examples: R10/Ana/ANA@example.com/1 Jun/Web/123; R14/Ana Pérez/ana@example.com/4 Jun/CRM/blank; R20/Ana Perez/blank/5 Jun/Event/123.
Resolution policy
Exact identical rows may be marked redundant. For the same normalized email, retain the latest nonblank values only after conflicts are shown. Blank-email near matches require human review. Never delete the raw sheet.

Beispielausgabe

Create G NormalizedEmail with =IF(C2="","",LOWER(TRIM(C2))); H EmailCount with =IF(G2="","",COUNTIF($G:$G,G2)); and I DuplicateGroup with =IF(H2>1,"EMAIL-"&G2,""). Blank emails stay ungrouped. Add conflict flags such as =IF(I2="","",COUNTA(UNIQUE(FILTER($F:$F,$I:$I=I2)))>1) for nonblank phone values, adjusted to exclude blanks if needed.

R10 and R14 join the same email group; they are not safe deletions because name, timestamp, source, and phone completeness differ. R20 remains an uncertain near match and receives ManualReview rather than the email group. Create an action column with ExactRedundant, MergeReview, NearMatchReview, or Unique. Keep Raw_ReadOnly, produce a separate resolved table, and maintain a ResolutionLog containing removed RowID, retained RowID, rule, reviewer, and date. Reconcile raw rows = resolved rows + exact redundant rows + merged rows retained in the log; also compare the unique normalized-email count before and after.

Warum das funktioniert

  1. 1

    Defining identity before deletion prevents legitimate repeated events from being lost.

  2. 2

    Grouping conflicts keeps evidence available for a human merge decision.

Ergebnis prüfen

  • Does the duplicate key reflect business identity rather than visual similarity?

  • Are conflicting values preserved and assigned to review?

  • Can removed rows be traced to a retained record?

Sicher nutzen

Häufig gestellte Fragen

Praktische Antworten dazu, wann du dieses Rezept verwenden solltest, was du bereitstellen solltest und wo menschliche Prüfung weiterhin wichtig ist.

What should I prepare before using “Find and handle duplicate records in Excel”?

For “Find and handle duplicate records in Excel,” prepare Duplicate definition, Columns and sample duplicates, and Resolution policy. 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 “Find and handle duplicate records in Excel” result not ready to use?

The result is not ready if it does not yet deliver the stated outcome—Duplicate flags, resolution groups, and a non-destructive review workflow—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 “Find and handle duplicate records in Excel”?

The published test record for “Find and handle duplicate records in Excel” 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.

Weitere Möglichkeiten zum Entdecken

Wo dieses Rezept hineinpasst

Bring die Arbeit voran