There are different ways to deal with duplicates in Google spreadsheets. But highlighting them is the best way to spot them instantly. Here you'll learn how to color duplicate cells, columns, and rows while ignoring or taking their first occurrences into account. Continue reading
Comments page 2. Total comments: 53
Thank you
You're most welcome, Sangram!
Hello
Formula =COUNTIF($A$2:$A$10,$A2)>1 doesn’t seem to be working.. i put the correct range but it is not highlighting any cells what might be an issue?
Hello Pam,
Make sure the Apply to range contains the correct range.
Also, your spreadsheet locale may require a semicolon instead of comma. Try entering your formula into any cell and Google Sheets will suggest the symbol to use.
If none of these help, please consider sharing an editable copy of your spreadsheet with us (support@apps4gs.com), I'll look into it.
Note. We keep that Google account for file sharing only and don't monitor its Inbox. Please do not email there. Once you share the file, reply to this comment and let me know what cells contain your conditional formatting rule.
Hello.
is it possible to highlight duplicate between multiple sheet ?
for example i want to highlight duplicate sheet1 column A & sheet2 column A
Hello Albert,
You will find the info on how to compare data in 2 different sheets in this article.
Hello,
Is it possible to exclude blanks for duplicates highlights in the same row? In other words, I no need the blank cells to be highlighted.
Hello Raghavi,
Please provide the exact formula you're using that counts blanks as well.
Hello Natalia,
I used =And(countifs(A:A,A1) > 1,A1"") to exclude blanks from highlighting. Now it is working well.
Hello Raghavi,
Happy to hear you've found the formula that works for you!
=countif($D2:$D, $D2)>1, this formula is not working for exact value, its highlighting all the similar in a cell. please help
Hello Namrata,
This formula is used to highlight duplicate cells in one Google Sheets column. If this is not what you need, please describe your task in detail, I'll try to help.
awesome, thank you!
Hi! I've come across this great tutorial while searching for a way to higlight a row when there are at least two "x" in the row. Sadly, I'm already stuck. I've gone all the way to recreate the first example in order to test this out, but google says that the formula that's written here is wrong. In the formula "=COUNTIF($A$2:$A$10,$A2)>1" it doesn't let me put the ",$A2" after the "$A$10". In fact, it doesn't let me put a comma in there at all without showing an error. Does anybody know why that is the case?
Hi Cane,
You can make a copy of the spreadsheet that contains all formula examples I used by clicking the link in the related section at the end of the blog post.
As for Google Sheets not understanding a comma in your formulas, this is dictated by your spreadsheet locale (File > Spreadsheet settings > General > Locale). When you start typing any formula, look at the Google Sheets hint about it. Perhaps, you need to use a semicolon instead.