How to Highlight Duplicates in Google Sheets
Google Sheets has no find duplicates button. One conditional formatting rule and a single COUNTIF formula will shade every value that appears more than once.

To highlight duplicates in Google Sheets, select the column you want to check, then click Format and Conditional formatting. Set the Format cells if dropdown to Custom formula is, enter =COUNTIF($A$2:$A$1000,$A2)>1, pick a fill color under Formatting style, and click Done.
Google Sheets has no single button labeled "find duplicates". What it has is conditional formatting, and one COUNTIF formula turns that into a duplicate finder that updates itself as you type.
The formula counts how many times each value appears in a range. If the count is greater than one, the cell takes the color you chose. Nothing is deleted or moved, so this is safe to try on live data.
How to highlight duplicates in Google Sheets in one rule
1. Select the cells you want to check. For a single column of data, click the column letter at the top.
2. Click Format, then Conditional formatting. A toolbar opens on the right side of the screen.
3. Stay on the Single color option. Under Format cells if, open the dropdown and choose Custom formula is.
4. In the Value or formula box, enter =COUNTIF($A$2:$A$1000,$A2)>1, changing the column letter and row numbers to match your own data.
5. Under Formatting style, choose a fill color, then click Done.
Every value that appears two or more times in that range is now shaded. Google's own documentation demonstrates the same pattern, written as =COUNTIF($A$1:$A$100,A1)>1.
The dollar signs are doing real work here. $A$2:$A$1000 pins the range so it does not drift from cell to cell, while $A2 locks the column but lets the row number move down as the rule is applied.
Highlight only the repeats, not the first entry
The rule above colors every copy, including the original. If you would rather see only the second and later appearances, change the end of the range so it grows as it moves down the column:
=COUNTIF($A$2:$A2,$A2)>1
The first time a value appears the running count is one, so it stays unshaded. Every repeat after that is colored, which makes a list far easier to clean up by hand.
Highlight the whole row, not just one cell
Select the full block of data, say A2:D1000, then use a rule that always looks back at the key column:
=COUNTIF($A$2:$A$1000,$A2)>1
Because the column letter is locked with a dollar sign, every cell in the row is tested against column A, so the entire row takes the color whenever a value in column A repeats.
To treat a row as a duplicate only when every column matches, use COUNTIFS and list each column in turn:
=COUNTIFS($A$2:$A$1000,$A2,$B$2:$B$1000,$B2,$C$2:$C$1000,$C2)>1
What this rule does not do
It does not delete anything. To actually remove repeated rows, select your data and click Data, then Data cleanup, then Remove duplicates. Google notes that selecting a single cell inside a range removes duplicates for the whole range, and its help page does not describe a way to reverse the action, so work on a copy if the data matters.
It does not count for you. A value that appears twice and a value that appears twenty times get exactly the same color. If you need the number itself, put =COUNTIF($A$2:$A$1000,$A2) in a spare column, without the greater-than test.
It does not care about capital letters. Google's documentation states plainly that COUNTIF is not case sensitive, so "Apple" and "apple" count as the same value. The Remove duplicates tool works the same way: Google says cells with identical values but different letter cases, formatting or formulas are treated as duplicates.
Common questions
Can the formula check a different sheet? Not directly. Google's documentation says these formulas can only reference the same sheet, and points to the INDIRECT function when you need to reach another one.
Does this work on a file I brought over from Excel? Yes. The rule lives in the Sheets file rather than the original format, so apply it once you convert the workbook to Google Sheets.
Can I match partial text? COUNTIF accepts wildcards: ? stands for any single character and * for any run of characters. Put a tilde in front when you want to search for one of those symbols literally.
If the option isn't there
You need edit access to the file. Conditional formatting changes the sheet itself, so it will not be available on a document that has been shared with you for viewing only.
If the toolbar opens but nothing changes color, check that the range listed in the rule actually covers the cells you selected. Then check the order of your rules. Google states that rules are evaluated in the order listed and that the first one found to be true defines the format, so an earlier rule can quietly mask this one. Drag the rules to reorder them, or click Add new rule to start fresh.
For the other conditions available in that same toolbar, from date ranges to color scales, see our guide to Google Sheets conditional formatting.

By 

