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.

OAK 1
OAK 1
OAK 2
OAK 3
OAK 3
OAK 4
OAK 5
OAK 5

<tbody>
</tbody>

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

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Select columns A to D

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

Format: Grey color
 
Upvote 0

Forum statistics

Threads
1,215,064
Messages
6,122,939
Members
449,094
Latest member
teemeren

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