Google Sheets
0 Guide

How to Highlight Duplicates in Google Sheets

This is an Arcade

Learn how to highlight duplicates in Google Sheets using conditional formatting. This guide walks you through using the COUNTIF formula to flag repeated values.

1. Open your Google Sheet and select the range

Launch Google Sheets and highlight the cells where you want to check for duplicates (e.g., a single column or a full table).‍

2. Open the Conditional Formatting panel

Click Format in the top menu, then choose Conditional formatting to open the sidebar on the right.

3. Choose “Custom formula is”

Under the Format cells if dropdown, scroll to the bottom and select Custom formula is.

4. Use the COUNTIF formula

Use the COUNTIF formula. For example, to check Column B for duplicates, we'll use =COUNTIF(B$2:B$41, B2) > 1. This flags any value that appears more than once within the selected range.

5. Set a highlight color

Choose a fill color under Formatting style to visually mark duplicates, then click Done.

6. Review highlighted duplicates

All duplicate values in your selected range should now be highlighted automatically.

Google Sheets
0 Guide

Ready to create quick,
interactive product demos?

Sign up
– it's free
{ "@context": "https://schema.org", "@type": "HowTo", "name": "How to Highlight Duplicates in Google Sheets", "description": "Learn how to highlight duplicates in Google Sheets using conditional formatting. This guide walks you through using the COUNTIF formula to flag repeated values.", "step": [ { "@type": "HowToStep", "name": "Open your Google Sheet and select the range", "text": "Launch Google Sheets and highlight the cells where you want to check for duplicates (e.g., a single column or a full table)." }, { "@type": "HowToStep", "name": "Open the Conditional Formatting panel", "text": "Click Format in the top menu, then choose Conditional formatting to open the sidebar on the right." }, { "@type": "HowToStep", "name": "Choose “Custom formula is”", "text": "Under the Format cells if dropdown, scroll to the bottom and select Custom formula is." }, { "@type": "HowToStep", "name": "Use the COUNTIF formula", "text": "Use the COUNTIF formula. For example, to check Column B for duplicates, we'll use =COUNTIF(B$2:B$41, B2) > 1. This flags any value that appears more than once within the selected range." }, { "@type": "HowToStep", "name": "Set a highlight color", "text": "Choose a fill color under Formatting style to visually mark duplicates, then click Done." }, { "@type": "HowToStep", "name": "Review highlighted duplicates", "text": "All duplicate values in your selected range should now be highlighted automatically." } ] }