Conditional Formatting Alternative for duplicate values?

mattxu2006

New Member
Joined
Mar 25, 2011
Messages
37
Hello Gentlepeople
occasionally I want a deeper view into duplicate values.
I want to see not only what is duplicate, yes or no, but also which duplicates tie out.

I apply the conditional format for unique values to make the cells look normal and then the next rule is to apply the color scale to the same range. This gives all the duplicates with the same value the same color while differentiating between duplicates.

Is there an another way to do this with fewer steps?

Thanks
Matt
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Just thought I would also pop in a solution I had from a few years back for finding duplicate rows. In the example below, my duplicates were in column A

Code:
=IF(COUNTIF($A$1:$A2,A2)>1,"I'm a duplicate with row A"&MATCH(A2,$A$2:A2,0),"Original")

It will mark the first "find" as original and any others as a duplicate (with the row number of the first match)

ApplesOriginal
ApplesI'm a duplicate with row A1
PearOriginal
ApplesI'm a duplicate with row A1
PearI'm a duplicate with row A2
ApplesI'm a duplicate with row A1
 
Upvote 0
Thanks bugmonsta,
While this does pretty much do what I asked I am looking to reduce steps.

I also want to keep color coding.
 
Upvote 0
Hi Again,

Have you had a look at this post on Mr Excel - JLGWhiz created some code that has 20 different colours in it that may work for you?
 
Upvote 0

Forum statistics

Threads
1,216,122
Messages
6,128,963
Members
449,480
Latest member
yesitisasport

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top