Anzeige

Mark and remove duplicate entries in Excel | Tutorial

The longer lists in Excel become, the easier it is for duplicate entries to creep in by mistake. What initially does not appear to be problematic can become a problem at the latest when it comes to analyzes and the evaluation of the data, if this data is required as a basis for decision-making for further action.

If it’s only a handful of lines, that may still work, and you can find the error without any tools. But it is not uncommon for Excel spreadsheets to have several hundred or thousands of rows. And then you are almost in a fix if the data is not correct.

Doppelte Eintraege aus Excel entfernen

Topic Overview

Anzeige

In our little tutorial we would like to show you different ways how you can remove duplicate entries in Excel, but also how you can only display rows of duplicate entries without deleting them at the same time. This can make sense if, depending on the complexity of the table, not all doubles should be deleted immediately.

Mark and remove duplicate entries in Excel | Tutorial

The longer lists in Excel become, the easier it is for duplicate entries to creep in by mistake. What initially does not appear to be problematic can become a problem at the latest when it comes to analyzes and the evaluation of the data, if this data is required as a basis for decision-making for further action.

If it’s only a handful of lines, that may still work, and you can find the error without any tools. But it is not uncommon for Excel spreadsheets to have several hundred or thousands of rows. And then you are almost in a fix if the data is not correct.

Doppelte Eintraege aus Excel entfernen

Topic Overview

Anzeige

In our little tutorial we would like to show you different ways how you can remove duplicate entries in Excel, but also how you can only display rows of duplicate entries without deleting them at the same time. This can make sense if, depending on the complexity of the table, not all doubles should be deleted immediately.

Remove duplicate entries from Excel

The simplest solution to remove duplicate entries in Excel works as follows:

  • Go to “Data” in the register menu
  • Mark the table in which duplicate entries are to be deleted
  • Click Remove Duplicates
  • Confirm with OK

Now it could happen that you get the error message that no duplicate entries were found. And that although you can even see them with your own eyes in the table. We deliberately included a few duplicate entries in our example table, but not all values ​​within the individual rows are exactly the same with another row within the selected table. With this general method, it does not work error-free.

If you go to “Duplicate Entries” you will be shown the columns within which to search for duplicates in a dialog window, and you can mark them or exclude them from the selection within which you should search for duplicates. Now if we only include column C

in the selection it works immediately and our duplicate entries are found and the affected rows are also removed. But here, too, an error can ultimately creep in again if there is a duplicate entry in another column, it would not be found when searching for duplicate entries within only one column.

see fig. (click to enlarge)

Doppelte Eintraege in Excel nicht erkannt
Doppelte Eintraege in Excel entfernen
Advertisement

So as we can see, this blanket method of removing duplicate entries in Excel also involves some pitfalls, and is prone to errors. So you would have to search each column individually. Another approach would be to let us display duplicate entries within rows and tables using conditional formatting without deleting them immediately, and then to decide which ones should be removed.

Remove duplicate entries from Excel

The simplest solution to remove duplicate entries in Excel works as follows:

  • Go to “Data” in the register menu
  • Mark the table in which duplicate entries are to be deleted
  • Click Remove Duplicates
  • Confirm with OK

Now it could happen that you get the error message that no duplicate entries were found. And that although you can even see them with your own eyes in the table. We deliberately included a few duplicate entries in our example table, but not all values ​​within the individual rows are exactly the same with another row within the selected table. With this general method, it does not work error-free.

If you go to “Duplicate Entries” you will be shown the columns within which to search for duplicates in a dialog window, and you can mark them or exclude them from the selection within which you should search for duplicates. Now if we only include column C

in the selection it works immediately and our duplicate entries are found and the affected rows are also removed. But here, too, an error can ultimately creep in again if there is a duplicate entry in another column, it would not be found when searching for duplicate entries within only one column.

see fig. (click to enlarge)

Doppelte Eintraege in Excel nicht erkannt
Doppelte Eintraege in Excel entfernen
Advertisement

So as we can see, this blanket method of removing duplicate entries in Excel also involves some pitfalls, and is prone to errors. So you would have to search each column individually. Another approach would be to let us display duplicate entries within rows and tables using conditional formatting without deleting them immediately, and then to decide which ones should be removed.

Highlight duplicate entries in Excel without removing

With conditional formatting, we can display duplicate or unique values within a table, and then decide whether to delete them or keep them. To do this, we proceed as follows:

  • Go back to the Home tab
  • Select the entire table or optionally individual columns
  • From conditional formatting, go to “Row Highlighting Rules” and then to “Duplicate Values”

Here you now have the option of displaying either only unique values or double values and having the relevant cells highlighted in different colors. Whichever option you choose, both times it is an exclusion principle and you come to the solution.

See fig. (click to enlarge)

Bedingte Formatierung doppelte Werte
Doppelte Werte in Excel markieren nicht loeschen
Advertisement

We hope that we could help you with this little tutorial. If you want to know more about the possibilities of conditional formatting in Excel, we also recommend the following article: Using conditional formatting in Excel correctly

Blogverzeichnis Bloggerei.de

Highlight duplicate entries in Excel without removing

With conditional formatting, we can display duplicate or unique values within a table, and then decide whether to delete them or keep them. To do this, we proceed as follows:

  • Go back to the Home tab
  • Select the entire table or optionally individual columns
  • From conditional formatting, go to “Row Highlighting Rules” and then to “Duplicate Values”

Here you now have the option of displaying either only unique values or double values and having the relevant cells highlighted in different colors. Whichever option you choose, both times it is an exclusion principle and you come to the solution.

See fig. (click to enlarge)

Bedingte Formatierung doppelte Werte
Doppelte Werte in Excel markieren nicht loeschen
Advertisement

We hope that we could help you with this little tutorial. If you want to know more about the possibilities of conditional formatting in Excel, we also recommend the following article: Using conditional formatting in Excel correctly

Blogverzeichnis Bloggerei.de

Search for other topics:

About the Author:

Michael W. Suhr
Michael W. SuhrDipl. Betriebswirt | Webdesign- und Beratung | Office Training
After 20 years in logistics, I turned my hobby, which has accompanied me since the mid-1980s, into a profession, and have been working as a freelancer in web design, web consulting and Microsoft Office since the beginning of 2015. On the side, I write articles for more digital competence in my blog as far as time allows.

Search by category:

You might also be interested in:

Anzeige

Search for other topics:

About the Author:

Michael W. Suhr
Michael W. SuhrDipl. Betriebswirt | Webdesign- und Beratung | Office Training
After 20 years in logistics, I turned my hobby, which has accompanied me since the mid-1980s, into a profession, and have been working as a freelancer in web design, web consulting and Microsoft Office since the beginning of 2015. On the side, I write articles for more digital competence in my blog as far as time allows.

Search by category:

You might also be interested in:

Anzeige

Popular Posts:

1907, 2022

Encrypt emails in Outlook – How it’s done

July 19th, 2022|Categories: Data Protection, Homeoffice, Microsoft Outlook, Office 365, Uncategorized|Tags: , , , , , , |

Standard e-mails are like postcards that everyone can theoretically read. But there are solutions for more security.

1707, 2022

Environmentally friendly printing for more climate protection

July 17th, 2022|Categories: Homeoffice, Microsoft Windows, Uncategorized|Tags: , |

Climate protection starts small. And so not only can costs be saved through environmentally friendly and conscious printing in the office, but the climate can also be protected.

See more
See more

Monatliche Technik Bestseller:

Bestseller 2022-2023 WLAN-Heizkoerperthermostate

Kategorie: SmartHome | Energie & Sicherheit

SmartHome | Energie & Sicherheit

Bestseller 2022-2023 WLAN-Heizkoerperthermostate
Produkte anzeigen
Bestseller 2022-2023 Notebooks

Kategorie: Homeoffice

Homeoffice

Bestseller 2022-2023 Notebooks
Produkte anzeigen
Bestseller 2022-2023 Smartphones

Kategorie: Smartphone & Zubehör

Smartphone & Zubehör

Bestseller 2022-2023 Smartphones
Produkte anzeigen

Popular Posts:

1907, 2022

Encrypt emails in Outlook – How it’s done

July 19th, 2022|Categories: Data Protection, Homeoffice, Microsoft Outlook, Office 365, Uncategorized|Tags: , , , , , , |

Standard e-mails are like postcards that everyone can theoretically read. But there are solutions for more security.

1707, 2022

Environmentally friendly printing for more climate protection

July 17th, 2022|Categories: Homeoffice, Microsoft Windows, Uncategorized|Tags: , |

Climate protection starts small. And so not only can costs be saved through environmentally friendly and conscious printing in the office, but the climate can also be protected.

See more
See more

Monatliche Technik Bestseller:

Bestseller 2022-2023 WLAN-Heizkoerperthermostate

Kategorie: SmartHome | Energie & Sicherheit

SmartHome | Energie & Sicherheit

Bestseller 2022-2023 WLAN-Heizkoerperthermostate
Produkte anzeigen
Bestseller 2022-2023 Notebooks

Kategorie: Homeoffice

Homeoffice

Bestseller 2022-2023 Notebooks
Produkte anzeigen
Bestseller 2022-2023 Smartphones

Kategorie: Smartphone & Zubehör

Smartphone & Zubehör

Bestseller 2022-2023 Smartphones
Produkte anzeigen
2022-08-04T08:57:52+02:00By |Categories: Microsoft Excel, Microsoft Office, Short News, Uncategorized|Tags: , , |

Title

Anzeige

Most read:

Search by category:

Anzeige
Go to Top