Google Sheets: How to Highlight and Remove Duplicates

Conditional formatting makes it very easy to highlight duplicates in Google Sheets.

Advertisement
By Aman Rashid | Updated: 2 November 2020 19:55 IST
Highlights
  • Google Sheets lets you easily find and remove duplicate entries
  • You can highlight duplicates through conditional formatting
  • You can also highlight duplicates in between columns as well
Google Sheets: How to Highlight and Remove Duplicates

All it takes is a few clicks to remove duplicates in Google Sheets

While working in Google Sheets, you may come across large spreadsheets where you have to deal with many duplicate entries. We understand the pain of dealing with duplicates and how difficult it would get if you were to highlight and remove entries one by one. However, with the help of conditional formatting, highlighting and removing duplicates becomes pretty easy. Follow this guide as we tell you how to find and remove duplicate entries in Google Sheets.

Google Sheets: How to highlight duplicates in a single column

Before knowing how to remove duplicate entries from Google Sheets, let's learn how to highlight duplicates in a single column. Follow these steps.

  1. Open your spreadsheet in Google Sheets and select a column.
  2. For instance, select column A > Format > Conditional formatting.
  3. Under Format rules, open the drop-down list and select Custom formula is.
  4. Enter the Value for the custom formula, =countif(A1:A,A1)>1.
  5. Below Format rules, you can find Formatting styles, which lets you set a different colour for highlighted duplicates. To do that, hit the Fill colour icon and select your preferred shade.
  6. Once you're finished, hit Done to highlight the duplicates in a single column.
  7. Similarly, if you have to do it for column C, the formula becomes, =countif(C1:C,C1)>1 and you do it so on for other columns as well.

Besides, there's a way to find duplicates in the middle of the columns too. To learn, follow these steps.

  1. Let's assume you wish to highlight duplicates between cells C5 to C14.
  2. In that case, go to Format and select Conditional Formatting.
  3. Under Apply to range, enter the data range, C5:C14.
  4. Next, under Format rules, open the drop-down list and select Custom formula is.
  5. Enter the Value for the custom formula, =countif(C5:C,C5)>1.
  6. Set a different colour for the highlighted duplicates by following the earlier steps if you wish to. Once you're finished, hit Done.
  7. Set a different colour for the highlighted duplicates by following the earlier steps if you wish to. Once you're finished, hit Done.

Google Sheets: How to highlight duplicates across multiple columns

Just in case if you want to highlight duplicates across multiple columns and rows, follow these steps.

Advertisement
  1. Open your spreadsheet in Google Sheets and select multiple columns.
  2. For instance, select columns from B to E > click Format > click Conditional formatting.
  3. Under Format rules, open the drop-down list and select Custom formula is.
  4. Enter the Value for the custom formula, =countif(B1:E,B1)>1.
  5. Set a different colour for the highlighted duplicates by following the earlier steps if you wish to. Once you're finished, hit Done.
  6. Similarly, if you want to select the duplicates for column M to P, then you replace B1 with M1 and E with P. The new formula becomes, =countif(M1:P,M1)>1.
  7. Besides, if you want to highlight duplicates for all the columns from A to Z, simply repeat the earlier steps and enter the Value for the custom formula, =countif(A1:Z,A1)>1.

Google Sheets: Remove duplicates from a spreadsheet

After you're done highlighting duplicate entries in your spreadsheet, the next step is to delete them. Follow these steps.

  1. Select a column from where you want to remove the duplicates.
  2. Click Data > Remove duplicates.
  3. You will now see a pop-up. Tick the box next to Data has header now > click Remove duplicates > click Done.
  4. You can repeat the steps for other columns as well.

This is how you can highlight and remove duplicates in Google Sheets.

Advertisement

For more tutorials, visit our How to section.


Are iPhone 12 mini, HomePod mini the Perfect Apple Devices for India? We discussed this on Orbital, our weekly technology podcast, which you can subscribe to via Apple Podcasts, Google Podcasts, or RSS, download the episode, or just hit the play button below.

Affiliate links may be automatically generated - see our ethics statement for details.
 

For the latest tech news and reviews, follow Gadgets 360 on X, Facebook, WhatsApp, Threads and Google News. For the latest videos on gadgets and tech, subscribe to our YouTube channel. If you want to know everything about top influencers, follow our in-house Who'sThat360 on Instagram and YouTube.

Advertisement

Related Stories

Popular Mobile Brands
  1. Oppo Reno 14 5G Series Teased to Launch in India Soon
  2. Poco F7 5G to Be Equipped With a Snapdragon 8s Gen 4 SoC
  3. Samsung Galaxy M36 5G India Launch Date and Key Features Revealed
  4. Nothing Phone 3 to Get New Glyph Matrix Interface on the Rear Panel
  5. Vodafone Idea to Bring Direct-to-Device Satellite Connectivity to India
  6. Realme Buds Air 7 Pro Review: Eye-Catching Design, Thumping Bass
  1. Fast Radio Bursts Reveal Universe’s Missing Matter Hidden in Cosmic Intergalactic Fog
  2. Apollo Astronauts Found Orange Glass Beads on the Moon, Scientists Now Know Why
  3. World’s Oldest Tailored Dress Found in Egyptian Tomb Dates Back Over 5,000 Years
  4. Ancient Footprints in White Sands Confirm Humans Reached America 23,000 Years Ago
  5. Humanoid Robot Achieves Controlled Flight Using Jet Propulsion and AI Systems
  6. Curiosity Rover Reaches Uyuni Quad, Begins New Mars Mapping and Surface Analysis Campaign
  7. NASA to Gather Reentry Imagery of European Commercial Capsule Using High-Altitude Aircraft
  8. ESA's Proba-3 Unveils First-Ever Artificial Solar Eclipse Images from Precision Satellite Formation
  9. My Hero Academia Final Season OTT Release Date Revealed: Everything You Need to Know
  10. NASA Study Reveals Correlation Between Earth’s Magnetic Field and Atmospheric Oxygen
Gadgets 360 is available in
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2025. All rights reserved.