I've searched and seached, and haven't found the solution I'm looking for. I have 5 conditions, and as you know Excel only allows 3 conditional formats. I have little VBA experience, so I can't seem to create this on my own.
I'm trying to fill the color of a cell based on the value in different cells. Said differently, if the value in cell A1 = cell A42 then fill color green, if A1 = cell B42 then fill color red, and so on for 5 different reference points. The default would be to fill color black. Does anyone have some sample VBA code that will do something like this?
I'm trying to fill the color of a cell based on the value in different cells. Said differently, if the value in cell A1 = cell A42 then fill color green, if A1 = cell B42 then fill color red, and so on for 5 different reference points. The default would be to fill color black. Does anyone have some sample VBA code that will do something like this?