Excel Tutorial: How to quickly and safely remove duplicates
Anyone who works with lists knows the problem: email distribution lists, customer lists, or order data are often “polluted” and contain duplicate entries. These duplicates distort analyses and create chaos.
Fortunately, Excel has a built-in function that solves this problem in seconds.

A practical example: An order list
Imagine we have the following table with order data. We immediately see that some entries are repeated.
Our example data (range A1:D6):
Goals:
- Goal A: We want to remove exactly identical rows (row 5 is a duplicate of row 2).
- Goal B: We want to obtain a unique list of all customers (Müller, Schmidt, Wagner).
Step-by-step instructions: How to remove duplicates
The “Remove Duplicates” function permanently deletes data.
⚠️ Important Security Note: Before you begin, always copy your worksheet or create a backup of your file. This way, if you make a mistake, you can revert to the original.
Step 1: Select the Data Range
- Click in your data table. Excel usually detects the contiguous range automatically. However, the safest method is to manually select the entire range (in our example, A1:D6) with your mouse.
Step 2: Finding the Function
- Go to the “Data” tab in the ribbon.
- Find the “Data Tools” group.
- Click the “Remove Duplicates” icon.
Step 3: The Dialog Box (The Most Important Step)
- A small window will open. This is the control center for the deletion process.
- “Data has headers”: Since our table has headers in row 1 (Order No., Customer, etc.), be sure to leave this checkbox selected. Excel will then ignore this row when deleting.
- Columns: Here, Excel lists all the columns from your selection.
… This is where Excel decides what it considers a “duplicate”.
The two scenarios (Goal A vs. Goal B)
Scenario A: Deleting Exactly Identical Rows
Goal: We want to delete only row 5, as it is identical to row 2 in every column.
- Open “Remove Duplicates” (as described in steps 1 & 2).
- In the dialog box (step 3), ensure that ALL columns (Order No., Customer, Product, Region) are checked.
- Click “OK”.
Result: Excel compares entire rows. Since only row 5 is an exact match for row 2, it is deleted. Excel reports: “1 duplicate found and removed; 4 unique values remain.”
Note: Row 6 (Schmidt, Monitor) is NOT deleted, as it differs (in the product field) from row 3 (Schmidt, Mouse).
Scenario B: Creating a unique list based on ONE column
Goal: We are not interested in the entire table. We only want a unique list of all customers (Müller, Schmidt, Wagner).
- Open “Remove Duplicates”.
- In the dialog box, first click “Deselect” to remove all checkmarks.
- Check only the column you want to check for uniqueness – in our case, “Customer”.
- Click “OK”.
Result: Excel only looks in column B.
- Row 2 “Müller” is kept.
- Row 3 “Schmidt” is kept.
- Row 4 “Wagner” is kept.
- Row 5 “Müller” (duplicate!) is deleted.
- Row 6 “Schmidt” (duplicate!) is deleted.
- Excel reports: “2 duplicates Found and removed; 3 unique values remain.
💡What happens: Excel always keeps the first entry it finds in the list and deletes all subsequent duplicates (based on the selected columns).
Summary (Pro tips)
Make a backup: Always copy the worksheet first!
- All columns = Deletes only rows that are completely identical.
- One column = Creates a unique list based on this one column (e.g., listing all customers only once).
Caution: This function deletes the entire row. If you select only “Customer” in Scenario B, the associated order data (laptop, mouse, etc.) will also be deleted. If you don’t want this, copy the customer column to a separate area first and apply the function only there.
Beliebte Beiträge
Die besten Fernwartungstools für Windows und Mac
Welches Fernwartungstool ist das beste für Windows & Mac? Von TeamViewer über AnyDesk bis Splashtop: Wir vergleichen die Top-Lösungen für IT-Support und Home-Office. Finden Sie das Tool mit der besten Performance, Sicherheit und dem fairsten Preis-Leistungs-Verhältnis.
Die Rabatt-Falle: Warum Supermarkt-Apps wie Lidl Plus & Co. uns nichts schenken
Supermarkt-Apps wie Lidl Plus locken mit Rabatten. Doch wir bekommen nichts geschenkt. Wir bezahlen mit unseren intimsten Einkaufsdaten. Diese Daten machen uns zum gläsernen Kunden. Der Handel nutzt sie, um unser Kaufverhalten zu analysieren und gezielt zu manipulieren.
Wie die digitale Identität den Bürger zum Überwachungsobjekt macht
Wir tauschen Privatsphäre gegen Bequemlichkeit. Unsere digitale Identität – von der e-ID bis zum Social Media Like – wird zum Werkzeug. Konzerne und Staat verknüpfen die Daten und machen den Bürger zum kalkulierbaren und transparenten Überwachungsobjekt.
Vom Assistenten zum Agenten: Der Copilot von Microsoft
Copilot wird erwachsen: Microsofts KI ist kein Assistent mehr, sondern ein proaktiver Agent. Mit "Vision" sieht er Ihren Windows-Desktop, in M365 analysiert er als "Researcher" Daten und in GitHub korrigiert er Code autonom. Das größte Update bisher.
5 einfache Sicherheitsregeln gegen Phishing und Spam, die jeder kennen sollte
Täuschend echte Mails von Bank, DHL oder PayPal? Das ist Phishing! Datenklau & Viren sind eine tägliche Gefahr. Wir zeigen 5 simple Regeln (2FA, Passwort-Manager & Co.), mit denen Sie sich sofort & effektiv schützen und Betrüger erkennen.
Nie wieder das Gleiche tun: So nehmen Sie ein Makro in Excel auf
Genervt von repetitiven Aufgaben in Excel? Lernen Sie, wie Sie mit dem Makro-Rekorder Ihren ersten persönlichen "Magie-Knopf" erstellen. Automatisieren Sie Formatierungen und sparen Sie Stunden – ganz ohne zu programmieren! Hier geht's zur einfachen Anleitung.





























