Microsoft Excel Logo

Whether you obtain data from an external source or have someone performing data entry, mistakes can happen. If you’re concerned that you may have duplicate data in Microsoft Excel, you can find out quickly with conditional formatting.

You might have details for customers, locations, vendors, or something similar where duplicate data can be inconvenient. But maybe you have data like product, order, or payment identifiers where duplicates can be detrimental. Here’s how to find that duplicate data fast in your Excel sheet.

Highlight Duplicate Data in Excel

Setting up conditional formatting rules can sometimes get complicated. Fortunately, locating duplicates in your Excel sheet using the feature isn’t one of those situations. You can actually accomplish this task in just a few clicks.

Start by selecting the cells you want to review for duplicates. If your entire spreadsheet is in question, you can select it instead by clicking the triangle in the upper left corner of the sheet.

Go to the Home tab and the Styles section of the ribbon. Click “Conditional Formatting,” move to “Highlight Cell Rules,” and choose “Duplicate Values” in the pop-out menu.

When the Duplicate Values window displays, you should immediately see your duplicates highlighted with the default formatting applied. However, you can change this if you wish.

Conditional formatting defaults for duplicates

Confirm that “Duplicate” displays in the first drop-down box. Then, click the second drop-down box to select a different format. Click “OK” to apply the format to your duplicate data.

Pick a format style from the list

If you prefer a format that isn’t listed, click “Custom Format” in the drop-down box to pick a font, border, or fill style in the subsequent pop-up window. Click “OK.”

Create a Custom Format

You’ll see the Custom Format applied to the cell immediately. If you like it, click “OK” to apply it.

Custom Conditional Formatting in Excel

Once you have your duplicate data highlighted using conditional formatting, you can make the corrections or adjustments you need to. And once you do, the formatting will disappear as long as it’s not duplicated elsewhere in your cell selection.

Duplicates formatting and corrected in Excel

Wondering what other ways conditional formatting can help you find data entry mistakes? Check out how to highlight blank cells or errors with it in Excel.

Profile Photo for Sandy Writtenhouse Sandy Writtenhouse
With her B.S. in Information Technology, Sandy worked for many years in the IT industry as a Project Manager, Department Manager, and PMO Lead. She learned how technology can enrich both professional and personal lives by using the right tools. And, she has shared those suggestions and how-tos on many websites over time. With thousands of articles under her belt, Sandy strives to help others use technology to their advantage.
Read Full Bio »