Thanks for trying!
But I've tried that, it won't work.
I can't combine conditions like in your formula b/c the:
"AND($E$8>=M2,($E$8-$D$8)>=(N2-$M$2))" --> must return one color (let's say orange)
"AND($H$8<=M2,$I$8>=M2)" --> must return a different color (let's say red)
I'm also needing more than the 3 condition limit (I'm working in XLS 2003). I recorded the macro and got the same code to formulate a condition, but if I have more than 3 of these I get an error. So the conditional format limit is hard coded, thus I need to get around it by other means.
I've tried using code such as:
**Where I'm having trouble:
1. This code is based on a cell.value, not cell.formula, HOWEVER The cells I need colored do not have a value or a formula in them, they are blank - but these blank cells are being colored based on a formula that references the values of other cells.
2. I'm really referencing two ranges (and I don't know how to translate this into VBA) - if the cells in range D8 to K8 apply to the formulas defined, then color cells M8 to EK8 as appropriate based on the formula rules
So if I try to modify the above code as such:
It does not work, so I'm not sure what I'm missing
Bookmarks