Free access is closing! 700+ free courses are waiting.
Ends in:
Start Now
You can use conditional formatting to identify duplicates in your Excel spreadsheet. Here’s how:

Select the range of cells. Image by Author.

Select the Duplicate Values option. Image by Author.

Apply the format. Image by Author.

Duplicate values are highlighted. Image by Author.
The best thing about this approach is that you can see duplicates right away. As soon as you enter new data, Excel will automatically color it if it's a duplicate. While this method is quick and easy, it has some basic limits. For example, if you want to check for duplicates across multiple columns or find partial matches (like just matching last names), this simple highlighting won't work.
Here’s how you can highlight only the second and subsequent duplicate values. As a note, this method won't count the first occurrence.

Setting a new rule. Image by Author.
A2 is the first cell in the range you selected.) 
Steps to highlight the duplicates. Image by Author.
Now you can see all the duplicate cells are highlighted, excluding the first occurrences.

Highlighted duplicates. Image by Author.
Like the Conditional Formatting option, the formula automatically recalculates as your data changes and duplicates are identified in real-time. But here’s how the most outstanding part — you get more control over duplicate data with this method. Suppose you only want to check for duplicates in specific columns, or maybe you want to count something as a duplicate only if both the name AND email match. This method lets you do that by adjusting your formula.
You can use Power Query to import and clean data from multiple sources. It’s especially helpful for handling large datasets and performing more advanced data manipulation tasks. Here’s how you can use it to highlight duplicates:

Selecting the From Table option. Image by Author.

Selecting the data automatically. Image by Author.

Power Query Editor. Image by Author.

Showing duplicate data. Image by Author.

Close & Load. Image by Author.
This way, you can see the results in Excel.

Data loaded in excel sheet. Image by Author.
This approach works well with large datasets — hundreds or even thousands of rows. It's also perfect if you regularly get new data and need to check for duplicates often. Instead of doing the same work repeatedly, you set it up once, and Power Query will automatically clean up any duplicates.
If you want to highlight duplicates in Excel, adopt a systematic approach to maintain the integrity of your data. Here are some of my best practices that you can follow:
Even with the right methods, you can encounter a couple of challenges while highlighting duplicates. While the following functions aren't necessary for you to find duplicates per se, knowing them can help you fix common issues.
Sometimes, values with identical names aren't highlighted due to hidden characters or extra spaces. To solve this issue, use the TRIM() and CLEAN() functions together. TRIM() will remove unnecessary spaces from the text's beginning, end, and middle, while CLEAN() will eliminate non-printable characters.
Excel is case-sensitive. It treats uppercase and lowercase letters as different characters, such as DATACAMP, DataCamp, Datacamp, and datacamp, which would be considered different entries. To solve this, you can use the UPPER(), LOWER() and PROPER() functions. Here’s what each function does:
UPPER() converts text to uppercase.
LOWER() converts text to lowercase.
PROPER() capitalizes the first letter of each word.
Regular duplicate checks maintain data integrity and prevent analysis errors. While Excel has several approaches to highlighting duplicates, I encourage you to experiment with different methods to find what best suits your needs.
If you want to strengthen your data handling expertise further, check out our Data Analysis in Excel course and Data Analysis with Excel Power Tools skill track.
I'm a content strategist who loves simplifying complex topics. I’ve helped companies like Splunk, Hackernoon, and Tiiny Host create engaging and informative content for their audiences.
Yes, you can. To do so, select the range of cells and go to the Data tab. Then, select the Remove duplicates option in the Data tool section to eliminate duplicates.
Select the range of cells, then press Alt →H→L→H→D to apply the conditional formatting rule to
duplicate values.
Select your data range. Go to Data > Advanced. From there, choose Filter the list, in-place option to display unique values in the same range, or Copy to another location and specify a cell to place them. Then, check Unique records only and click OK.
チュートリアル
チュートリアル
チュートリアル
Learn Excel with DataCamp
トラック
Excel Power ToolsでExcelスキルを強化しましょう: Power Query、Power Pivot、そして動的なM言語を習得します。
Whenever I work with spreadsheets, repeating information messes up my analysis and reports. Not only is it incredibly frustrating to discover duplicates after I've already presented my findings, but they often lead me to draw wrong conclusions and make poor decisions.
After too many data mishaps, I found some great Excel tools for spotting and highlighting duplicates before they cause problems. In this article, I'll share the exact methods you can use to improve your data-cleaning process. These methods will transform your data-cleaning process just as they transformed mine. However, if you’re new to Excel, check out our Excel Fundamentals skill track to get started.
How to Highlight Duplicates in Excel
Excel provides many methods for identifying and highlighting duplicates. Let’s understand how each one works.