Unique IDs to change conditional format

MFish

Board Regular
Joined
May 9, 2019
Messages
76
Hi,

I'd like to setup a conditional format that will change accordingly to certain Unique ID's.

[TABLE="width: 500"]
<tbody>[TR]
[TD]OAK 1
[/TD]
[/TR]
[TR]
[TD]OAK 1
[/TD]
[/TR]
[TR]
[TD]OAK 2
[/TD]
[/TR]
[TR]
[TD]OAK 3
[/TD]
[/TR]
[TR]
[TD]OAK 3
[/TD]
[/TR]
[TR]
[TD]OAK 4
[/TD]
[/TR]
[TR]
[TD]OAK 5
[/TD]
[/TR]
[TR]
[TD]OAK 5
[/TD]
[/TR]
</tbody>[/TABLE]

The conditional format I'd like to run will highlight the cell range A1:D1 when the unique ID is found. In this case, the Unique ID is represented in column A:A. I'd like to know if there is a way to highlight every other unique ID with a different color, and/or, White to Grey to White to Grey. I'll be adding to this list and it auto-sorts on entry so the Unique ID will mend to the next one in line and will share the same color as it was beforehand, above.

All OAK 1 would be Grey
All OAK 2 would be White
All OAK 3 would be Grey
so on and so forth...
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Select columns A to D

Formula:
=MOD(VALUE(TRIM(RIGHT($A2,2))),2)

Format: Grey color
 
Upvote 0

Forum statistics

Threads
1,225,734
Messages
6,186,714
Members
453,369
Latest member
positivemind

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