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…
A hidden network of nudifying tools was found lurking inside harmless looking AI apps
Hundreds of AI apps were found playing innocent while hiding nudifying tools that generates explicit deepfakes.
ai-apps-hiding-nudifying-tools

An AI pet portrait maker or workout app that looks harmless could be hiding nudifying tools. According to a Wired investigation, hundreds of apps on Google's Play Store and Apple's App Store were found disguising themselves as pet photo editor, language tutor, workout coaches and other mundane apps.

Under the right conditions, those ordinary-looking apps quietly switched over to a hidden interface that generated sexually abusive deepfakes. Researchers from AI Forensics uncovered the network, which includes 400+ connected apps and domains.

Read more
Everything You Need in Your First Laptop Without the Luxury Price Tag 
The Dell 15 makes its case that budget laptops do not have to feel cheap, or sluggish.
everything you need in your first laptop without the luxury price tag dell 15 dc15250 stylish narrow bezels

The PC market has never been more diverse, and utterly punishing on the wallet, thanks to the AI boom and resultant price inflation we are seeing in 2026. Most people shopping for a pocket-friendly laptop don’t necessarily care about core counts, clock speeds, or refresh rates. They want something that opens Chrome quickly, plays Netflix without stuttering, and survives a few years of assignments.

For a long time, that was too much to ask. I’ve tested plenty of budget laptops that felt tired out of the box, with plastic that flexed under my palms and fans that roared every time I opened a few tabs. Most of them felt noticeably slower within a year.

Read more
OpenAI is merging Chat and Work into one ChatGPT experience
Following Anthropic's lead, OpenAI is bringing its Chat and Work capabilities together.
Using ChatGPT on a phone.

OpenAI is making a few changes to how ChatGPT handles conversations and more complicated work. The company is now planning to merge the Chat and Work tabs into a single experience, allowing users to ask questions and get things done without having to switch between different tabs. The change will initially be available to select users before a wider rollout.

For the unaware, Anthropic made a similar change to Claude back in September, when it merged the Chat and Cowork functions into one screen.

Read more