Conditional Formatting question - Text Color - copy/paste

I have a conditional formatting rule for duplicate values:
=$D$7,$C$2:$C$53
D7 is looking for a duplicate from C2-C53 (one instance)
If duplicate exists D7 text turns red.

The problem: When I copy this cell and paste elsewhere the text color (red) does not follow. And yes, I have tried numerous options in paste special.

I have the same rule from D2 through D53.

Thank you in advance
dgd1212Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Glenn RayExcel VBA DeveloperCommented:
First, this is not a formula and cannot be used to find a match:
=$D$7,$C$2:$C$53

I presume that, instead, the conditional formatting formula for cell D7 is more like:
=MATCH($D$7,$C$2:$C$53,0)
or perhaps
=COUNTIF($C$2:$C$53,$D$7)

In any case, if you remove the absolute referencing around $D$7 in whatever formula does exist (i.e., remove the dollar signs so it just says "D7"), you should be able to then copy this formula up/down column D as needed.

Regards,
-Glenn
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dgd1212Author Commented:
Thank you for the solutions
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.