Skip to main content
  1. Home
  2. Computing
  3. How tos

How to find duplicates in Excel

Add as a preferred source on Google
Image used with permission by copyright holder

When you're working with a spreadsheet, duplicate data can sometimes make its way in and cause all sorts of problems. In this how-to, we demonstrate two methods of using Microsoft Excel for identifying and removing duplicate data.

Recommended Videos

Difficulty

Easy

Duration

10 minutes

What You Need

  • Microsoft Excel

Identifying duplicate data using conditional formatting

One of the easiest ways to locate duplicate data in Excel is to use conditional formatting. Here's how.

Step 1: Select the portion of your data where you want to locate duplicates. In our example, we're selecting our entire table. Note that conditional formatting won't work if you are using pivot tables in Microsoft Excel.

Selecting the data for conditional formatting in Microsoft Excel.
Mark Coppock/Digital Trends

Step 2: Select Conditional Formatting from the Home menu, then choose Highlight Cell Rules > Duplicate Values...

Selecting the duplicate values function in Microsoft Excel.
Mark Coppock/Digital Trends

Step 3: You'll be presented with a dialog that lets you select whether to show duplicate or unique values (we want the former, of course) and how you want the data highlighted. You can choose from the drop-down list or create a custom format.

Setting conditional formatting options in Microsoft Excel.
Mark Coppock/Digital Trends

Step 4: Once you've selected an option or clicked OK, your duplicate data will be highlighted. This can be textual or numeric data, and it can include any number of columns.

Duplicate data highlighted in Microsoft Excel.
Mark Coppock/Digital Trends

Using the Remove Duplicates function

You can also elect to have Excel remove any duplicate data from your spreadsheet. Use this function with caution – it's probably a good idea to back up your spreadsheet first.

Step 1: First, select the columns where you want to remove duplicates. Here, we're selecting the entire table. Note that Remove Duplicates will only remove those items where the values are identical across rows or from individual cells if a single column is selected.

In our example, the last three rows contain duplicate data.

how to find duplicates in excel selecting the data for conditional formatting
Mark Coppock/Digital Trends

Step 2: Select the Data menu, then click Remove Duplicates. In the dialog box that pops up, you'll be presented with several options. First, you can identify if your data has headers. Second, you can choose which columns to include or exclude.

When you're ready, click OK.

Remove duplicate options in Microsoft Excel.
Mark Coppock/Digital Trends

Step 3: You'll be presented with a dialog that will indicate how many duplicate values were found and removed and how many unique values remain. Note that the last three columns in our data were removed.

Duplicated data removed in Microsoft Excel.
Mark Coppock/Digital Trends

Note that it is also possible to use VLOOKUP in Excel to find duplicate data.

Getting to grips with these advanced features turns what appears to be a plain grid of numbers into a powerful tool. Want more tricks? Here's how to use the concatenate function in Excel.

Mark Coppock
Former Computing Writer
Mark Coppock is a Freelance Writer at Digital Trends covering primarily laptop and other computing technologies. He has…
ChatGPT’s Chrome extension can now read your tabs, YouTube videos, and highlighted text
ChatGPT now understands what's on your screen, letting you ask about tabs, highlighted text, and YouTube videos directly.
chatgpt-chrome-extension-upgrade-youtube-videos

ChatGPT just got a lot better at understanding what you're actually looking at. OpenAI has rolled out updates to its Chrome extension and desktop app that let ChatGPT read your open tabs, react to highlighted text, and answer questions about YouTube videos. The update arrived shortly after OpenAI shelved its standalone Atlas browser to shift its focus toward tools people already use.

https://twitter.com/ChatGPT/status/2082970812584432115

Read more
Lenovo’s Googlebook lineup could include two laptops, a 2-in-1 tablet, and an AI mouse
Images have emerged online giving us our first look at Lenovo’s upcoming Googlebooks
Googlebook

Google announced Googlebook at I/O in May, but we are still waiting to see what the finished hardware will actually look like. The first devices are expected this fall, and new images published by Android Headlines may have given us an early look at what Lenovo has planned.

Lenovo appears to be preparing at least three Googlebooks, including two traditional laptops and a detachable 2-in-1 tablet. There is also a new wireless AI mouse that seems to have been designed specifically for the platform.

Read more
Shopping for back-to-school? I’d recommend these GaN chargers for saving space and packing more power
From a $9 spare to a $56 desk hub, these chargers cut down on cable clutter so that you can focus on your studies, not how cluttered your desk looks.
Best GaN chargers in 2026 for back to school shopping.

Between a phone, a laptop, a tablet, and perhaps a pair of wireless earbuds that require charging every day or every few days, most students are packing multiple chargers for move-in day. Those big, heavy bricks take up valuable backpack space that could otherwise be free for carrying more items. 

However, GaN chargers fix that problem in two ways. First, they deliver the same amount of power from a much smaller body, thanks to gallium nitride transistors. Furthermore, if you're willing to spend a little more upfront, you can get a high-capacity, multi-device charger capable of powering your entire digital ecosystem from a single wall outlet, something that could be very useful for a dorm room.

Read more