Highlight First Occurrence Across Multiple Columns and Rows

KarenH119

New Member
Joined
Feb 4, 2010
Messages
6
I am having trouble getting my conditional formatting to work. I am trying to highlight the first occurrence of value in a range of D19:I137.

I tried condition formatting duplicate value and it changed all occurrences to the same color. I also tried entering a formula but still can't get it to work.

I would like the first occurrence of a name to be in red and any duplicates in black.
JamesLindaPeggyLisaPaula
KarenGeorgeSaraJamesMike
MikeJamesTomKarenCarrie
TomCarrieMikeSamGeorge

<tbody>
</tbody>

Any suggestions would be great.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
When dealing with BOTH rows and columns, I think you need to define what qualifies as "first".
Do you go across rows first, or down columns first?
For example, if there is the same name in B1 and A2, which one is considered to be the "first"?
 
Upvote 0
D column would be the first and the name would not repeat within the same row.

Maybe...

Select D19:I137 being D19 the active cell
Use this formula in Conditional Formatting
=COUNTIF($D$19:D$137,D19)=1
pick the format you want (Font color --> red)

M.
 
Upvote 0
you also posted your question in Microsoft Tech Forum Here, I guess there is a solution already provided to you.

While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation:
Forum Rules). This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 
Upvote 0

Forum statistics

Threads
1,215,265
Messages
6,123,961
Members
449,135
Latest member
jcschafer209

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