January 17, 2021
I am building a Gannt chart following the instructions of a YouTube video posted not long ago. I have posted a link to it intercepting the appropriate time that instructions on the feature I'm having difficulty with occur: https://youtu.be/30lGSyZL3DM?t=4041
Basically, what it is supposed to do is inject a line of code that is duplicated in three conditions.
=NOT(AND(date,>=task_start, date<=task_end)) is placed above the three that contain the clause AND(date>=task_start,date<=task_end). The idea is that one can then delete that clause from the three following conditions that contain it. If you watch the brief part of the video you will see what I'm trying to convey here. The problem seems to come in with the last condition where it is supposed to be changed to simply =TRUE. That is the conditional that determines the starting and end point of the task in the bar chart. How does it work that the following conditional formats can use a clause from one above them???
July 16, 2010
Hi Dixon,
Welcome to our forum!
It's not so much that the format is using the clause from the format above, but rather the conditional format that has 'Stop if True' checked acts as a gatekeeper for the remaining formats.
In other words, if the gatekeeper formatting rule, which actually has no format, evaluates to TRUE then none of the other formats get applied. If however, it's FALSE then the other formatting rules get evaluated. The last rule has no formula to evaluate, it simply gets applied if the gatekeeper formula is FALSE.
While this is a clever trick, I personally don't like it because it requires you to have a detailed understanding of the conditional formatting rule set up and remember the rule contained in the gatekeeper format. It's very difficult to audit rules like this and they can create a lot of confusion to anyone inheriting the file.
I would avoid this type of trick unless you're the only one who will ever use the file.
Mynda
January 17, 2021
Thank you Mynda. I get the gatekeeper thing. But how does that work with deleting lines of code in the following conditions? It seems that the thing that messed up my chart was the last condition where the code was deleted and the substitutuion was simpy "True". Flumoxly your, Dixon
July 16, 2010
The lines of code that are deleted are simply evaluated by the gatekeeper and therefore don't need to be evaluated again in the following conditional formatting rules.
Without seeing your file I can't tell what has gone wrong for you. Are you able to share it here?
Mynda
1 Guest(s)