BTW, have you tried any code yet?
The fact that you have partial text within a cell that needs to be shaded, complicates things quite a bit.
I could give you a few tips regarding the process, but I'm not so sure I want to invest the time while I'm vacationing.
I'd loop through the range of cells.
Then within that loop I'd loop through each cell value using Split() on the COMMA.
I'd get the split value (which may be only one value) and then use the Find Method to search for another match in succeeding cells in the range.
If found then... and here's where it gets tricky... use the Characters() Method to pick off the first and last characters in the cell value to assign the color.
Oh yes, I'd FIRST set up a my choice of 9 colors on a separate sheet in a range named Colors.
Of course you will have TWO ranges at any point: the Source range and the Found range. So the Characters Method must be applied to both ranges to color the duplicate values. BTW, using an index for the colors, you must do a FindNext until all duplicates are found, then increment the color index and on to the next value, maybe in the same cell value or maybe in the next cell.
So it ain't easy zd. Mebe take a try at coding it and come back with your questions.
The other issue is that I have no internet access for my laptop, while I do for my iPad, which has no Excel.
Skip,
Just traded in my OLD subtlety...
for a NUance!![[tongue] [tongue] [tongue]](/data/assets/smilies/tongue.gif)