Hello Community,
I am attempting to use conditional formatting to change the color of my Gantt bars; however, the conditional format is not being applied to the Gantt bars.
Here is my conditional formatting
You can see below that I specify a change in row color and Gantt bar color based upon values in booSummaryRow.
The problem is that the conditional formatting is being applied to the row color, not the Gantt bar.
The values in booSummaryRow are populated by the following formula:
=IF(COUNT(ANCESTORS(Primary97)) = 0,"X", COUNT(CHILDREN(Primary97)))
If the count of ancestors for the current row = 0 set booSummaryRow to “X”
If the count of ancestors for the current row is > 0 set booSummaryRow to the number (count) of children associated to that row.
As you can see from the above picture,
- When booSummaryRow contains an “X” the Gantt bar color is light gray, not green.
- When the value in booSummaryRow is greater than a 0 the bar light gray, not dark gray
- The conditional formatting does perform as expected when booSummaryRow is equal to 0.
Now here is where it gets weird. If I outdent a group of rows equal to or greater 0 all the way out, so that booSummaryRow contains an “X” the Gantt bars change color as expected.
Trouble shooting steps I tried without success:
Cleared all formatting
1. First I disabled all of my conditional formatting rules.
2. Next I used the Clear Formatting command on the entire sheet
3. Then I re-enabled the conditional formatting
Disabled all other conditional formatting
1. First I disabled all other conditional formatting on the sheet.
2. Then I disabled, one at a time, each of the three conditional formats shows above
Changed the order in which the conditional formatting is applied
1. First I moved “if booSummaryRow is ‘X’” to the third position; moving “if booSummaryRow is 0” to the first position; and moving “if booSummaryRow is greater than 0” to the second position
2. Next I moved “if booSummaryRow is 0” to the first position; moving “if booSummaryRow is ‘X’” to the second position; and moving "if booSummaryRow is greater than 0 to the third position.
None of these steps helped.
Any assistance would be greatly appreciated.
Thank you.
Michael Anderson