ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Highlight duplicate entries (https://www.excelbanter.com/excel-programming/369125-highlight-duplicate-entries.html)

Gordon[_2_]

Highlight duplicate entries
 
Hi...

Looking for a way to highlight duplicates in a column either by conditional
formatting or code. Thanks in advance

Jim Thomlinson

Highlight duplicate entries
 
You can do this with conditional formatting and a countif formula, something
like this...Select all of column A for example. Select Formatting -
Conditional foramtting. Change Cell Value to Formula and add this formula.
Apply your format and that should do it...

=COUNTIF(A:A, A1)1
--
HTH...

Jim Thomlinson


"Gordon" wrote:

Hi...

Looking for a way to highlight duplicates in a column either by conditional
formatting or code. Thanks in advance



All times are GMT +1. The time now is 06:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com