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

How to highlight duplicates in Google Sheets

Add as a preferred source on Google
A MacBook owner using Google Sheets.
Image used with permission by copyright holder

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.

Selecting a column in Google Sheets in order to use it to highlight duplicate data.
Image used with permission by copyright holder

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

The Conditional formatting tab in Google Sheets.
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.

The Apply to range box in Google Sheets for highlighting duplicate data.
Image used with permission by copyright holder

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

The Format cells if drop-down menu in Google Sheets and the Custom formula is option within that menu.
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.

Entering a custom formula that will highlight duplicate data in Google Sheets’ Custom formula is box.
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.

The Formatting style section for customizing the appearance of how highlighted duplicate data appears.
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.

The trash icon button for removing highlighted duplicate data in Google Sheets.
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.

The Remove duplicates tool in Google Sheets.
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.

The Remove duplicates button in Google Sheets.
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. Learn how to search in Google Sheets so you don't misplace any data. For data management, learn and how to merge cells in Google Sheets.

Zak Islam
Former Contributor
Zak covers the latest news in the technology world, particularly the computing field. A fan of anything pertaining to tech…
US banks want to block AI agents from moving your money. Well, at least that’s one good move.
Letting a chatbot handle your finances sounds convenient until someone asks who pays for its mistakes.
ai-agents-on-phone

AI agents want to handle more of your life, including your money, but US banks are drawing a line when these AI assistants try to move funds on your behalf. Charles Schwab and JPMorgan Chase are now restricting outside AI agents from taking financial actions, citing security risks and unanswered questions about who takes responsibility when things go wrong.

Charles Schwab CEO Rick Wurster told Bloomberg that Schwab is actively blocking unauthorized AI agents, including Meta's Muse, from moving client money. JPMorgan Chase CEO Jamie Dimon made a similar call this week, so this isn't just one bank being cautious.

Read more
MapQuest can now show you the cameras keeping an eye on your commute
MapQuest is back, and now it’s exposing who’s watching your neighbourhood
Surveillance cameras

MapQuest has introduced a new surveillance layer that lets users see the reported locations of outdoor surveillance cameras and automated licence plate readers, including those operated by Flock Safety. The feature gives drivers and residents a clearer picture of the surveillance infrastructure around their neighbourhoods, at a time when law enforcement's use of these cameras is under growing scrutiny.

The new layer can be enabled through MapQuest’s Map Options menu, alongside existing options for traffic and incidents. It covers cameras from multiple manufacturers, including Motorola Solutions, Genetec, Axis Communications, Axon, Leonardo, Neology, Rekor, PlateSmart, Ubicquia and Verkada. The company has promoted the feature with the tagline “The Roads Have Eyes!”

Read more
OpenAI’s agent ran out of crypto while completing a task, so it stole from another wallet
When its test crypto ran dry, this AI agent went wallet shopping without asking first.
open ai logo on mac

Imagine asking your assistant to finish a task, only to find out it paid for it with someone else's money. That's basically what happened, according to OpenAI's incident report. The incident happened on June 26 and involved an internal research model from the GPT-5.6 Sol family.

Apparently, the AI agent ran out of cryptocurrency while trying to finish a coding task. So it completed the task in a way nobody approved.

Read more