Hello. I'm hoping someone can help me with this challenge. I'll try and explain what I need and how the data is set up below, but let me know if more information is needed.
I'm trying to set up some conditional formatting and I'm not sure what code to enter into VBA to get what I'm trying to accomplish.
At it's basic level, I'm looking at a column that has 'durations'. I need to have the duration highlighted in one of three colors based on a range for each color. For example, if the value is 10 or less then it's green. If it's between 10 and 15 then it's orange and if it's greater than 15 then it's red. That part would be easy, however the challenge is that the ranges are different for the various other criteria I need to look at. I need to look at multiple columns to determine what numbers should be included in those ranges.
For example
The range will be different if the 'rev type' is REV1, the 'stage' is STAGE1 and the 'vertical' is TECHNOLOGY.
The colors to use are set up in 2 tables right now. One table for REV1 and one for REV2. Within each table there might be 4 stages listed along the left. Along the top will be verticals listed and each vertical is split into the 3 ranges.
So essentially if an item has REV1 and the stage is STAGE1 and the Vertical is TECHNOLOGY then look at the duration and if the duration is less than x then it's green if it's between x and y then it's orange and if it's greater than y then it's Red. Each stage and vertical would have a different set of metrics to determine whether the color should be green, orange or red.
I hope that makes sense and I appreciate ANY help that can be provided. Thanks in advance for your help.
Bookmarks