Hi Andrew,
I apologize - I am still quite lost here! This is how I have my setup:
For Flag1 value fields:
Value: Yes Description: IIf([Text1]='Green',"Yes")
Value: No Description: Iif([Text1]<>'Green',"No")
For Flag2 value fields:
Value: Yes Description: Iif([Text1]<>'Yellow',"Yes")
Value: No Description: Iif([Text1]<>'Yellow',"No")
For Flag3 value fields:
Value: Yes Description: Iif([Text1]<>'Red',"Yes")
Value: No Description: Iif([Text1]<>'Red',"No")
All the values in the Flag1 column are showing 'Yes' even though the
majority of items in the Text1 column are red. Flag2 and Flag3 columns are
incorrect as well. I have set up my bar styles as follows:
Task Green bar Show for Flag1 Tasks Row 1 From Start to Finish
Task Yellow bar Show for Flag2 Tasks Row 1 From Start to Finish
Task Red bar Show for Flag3 Tasks Row1 From Start to Finish
The bars will show green for the major task and red for the subtasks,
whether they are behind schedule or not.
I'm not following you on the "IIf( expression, truepart, falsepart ).....
IIF(text1>X, Yes, No)....an extra flag field (Y/N/N, N/Y/N, N/N/Y)"
instructions. Could you be a little more specific?
Again, I apologize for not understanding this. I'm sure it's something that
is quite easy, but since I'm not very familiar with formulas and how to make
the appropriate settings, I'm kind of in the dark here!
Thank you so much for all of your help - I sincerely appreciate it!
Nancy
Andrew Lavinsky said:
Sounds like you're almost there.....the only remaining bit is to automate
the flag fields....all you have to do there is use an if/then statement w/
the same formula you're using in the text1 field:
IIf( expression, truepart, falsepart )..... IIF(text1>X, Yes, No)....or just
plug in the same formula from text1 into the flag field. Since you want
3 permutations, and the flag fields only allow 2, you will need to use a
combination of 2 (or more) flag fields to achieve your goal (i.e. Y/Y, Y/N,
N/Y, N/N). In your case, you have used 3, which simplifies things, but perhaps
uses an extra flag field (Y/N/N, N/Y/N, N/N/Y).
I would then update the bar styles to take that into account. On the Gantt
Bar Styles, I would create a new entry and delineate it as Normal, Flag1,
Not Flag2 (or whatever combination you want to use to capture the right colors)
-A