How to highlight duplicates in Google Sheets

If you’ve added the same data more than once by mistake on your spreadsheet or you’re simply looking to find multiple cells that contain the same word, number, or formula, Google Sheets has a simple way to highlight them.

Let’s take a look at how to highlight duplicates in Google Sheets.

Recommended Videos

Difficulty

Easy

Duration

5 minutes

What You Need

  • A computer, laptop, tablet, or phone with access to Google Sheets

Using the Conditional formatting tool

Step 1: Click the cells that you want to include within the search for duplicates. You can choose a column, specific cells, and rows. For demonstration purposes, I have highlighted the A column.

Image used with permission by copyright holder

Step 2: Click the Format tab and then select Conditional formatting.

Image used with permission by copyright holder

Step 3: Within the Conditional format rules section, the Apply to range field will already be filled via the column you’ve selected. In my case, that’s column A. You can change it yourself as well via this field manually.

Image used with permission by copyright holder

Step 4: Click the Format cells if menu and select Custom formula.

Image used with permission by copyright holder

Step 5: Within the Value or formula box, enter =countif(A:A,A1)>1. If you’ve not selected the column, but have instead selected the cells starting from, say, either A1 or A2, then the aforementioned formula should still be used.

Image used with permission by copyright holder

Step 6: Click Done. The duplicates will be highlighted in the A column.

Google Sheets also provides further customization options for highlighting duplicates such as making them bold or changing their color.

Image used with permission by copyright holder

Step 7: If you don’t want to see the duplicates highlighted anymore, click the Remove rule button via the trash icon.

Image used with permission by copyright holder

Deleting duplicates in Google Sheets

If you find any duplicates within your spreadsheet, it may be a part of your data and thus doesn’t need to be deleted. But in case you do need to remove it, Google allows you to perform this function with the Remove duplicates tool.

Step 1: Click the column where it contains duplicates. I’ve clicked column A.

Step 2: Click the Data tab > Data cleanup > Remove duplicates.

Image used with permission by copyright holder

Step 3: Select the Remove duplicates button. If you’ve applied the highlight duplicates formula for other columns such as column B and want to remove them as well, then click the Expand to A:B option and then select the Remove duplicates button.

Image used with permission by copyright holder

If you're a new Google Sheets user, we have more helpful tips and tricks in our guides on how to search and how to merge cells in Google Sheets.

Editors' Recommendations

Former Digital Trends Contributor
Zak Islam was a freelance writer at Digital Trends covering the latest news in the technology world, particularly the…
How to delete Google Chrome on Windows and Mac

Google Chrome is a user-friendly web browser that is packed with useful features and intuitive controls. It’s also the default browser for pretty much any Chrome-branded product you purchase. Even if you prefer Safari or Firefox, we bet Chrome has one or two things you would dig. But what if you've added Google Chrome to your Windows or macOS machine, and you’ve decided you don’t like the dang thing?

Read more
How to right-click on a Chromebook

Welcome to the world of Chromebooks! These budget-friendly laptops are a great middle-ground between mobile devices like smartphones and tablets, and more robust laptops and desktop PCs. There’s a bit of a learning curve to these Google-powered machines though, even down to how you’ll operate trackpad clicks. For instance, we’re sure you’re familiar with how to perform a right-click in Windows or macOS. You can also right-click on a Chromebook, but probably not the way you’re used to.

Read more
How to leave a Discord server on PC, Mac, and mobile

There’s nothing like the community feel of immersive gameplay as experienced through a Discord server. There may come a time though when you’ve decided you need to remove yourself from a specific server. Perhaps you’re not a fan of how players are treating each other. Or maybe you’re not playing that particular game anymore.

Read more