Julie,
Here's what I have so far...
Switch([% Complete]=100,"b",[% Complete]<50,"r",[%
Complete]<75,"y",[Start]<[Date1],"g")
The "blue" bit works, as do the "red"&"yellow", except now I have
to
qualify
them.
If it's less than 50% complete and the finish date is less than
today
[date1] then red.
If it's greater than 75% but less than 100% then Yellow, if it
hasn't
started - less than [date1] then green.
I know there's a few gaps but once I get the basic syntax right I
can
amend
to fit the requirement.
Thanks for your help - a virtual ice cream will be your reward !
:
Hi Dave,
Why don't you post the formula you have so far and we'll see if we
can
give you the missing pieces.
Julie
Thanks Julie,
This gets me 75% of the way there.
I've set up a text field that has grafical indicators, and have
entered a
basic 'function' that changes the colour based on the % complete
[
either
blue for 100 else green ]
What I now need to do is expand the formula to include 2 other
status,
and
add in another field to test on [ end date - so if the task is
75%
complete
and the end date = <[today+5] "Y".
:
Hi Dave,
If you search this newsgroup for "Stop Light Reports" or "RAG"
you'll
find multiple examples of custom formulas and how to set up the
graphical indicators in the custom formulas.
You might also check out fellow MVP, Mike Glen's series of
articles
on
MS Project at:
http://project.mvps.org/mike's_tutorials.htm
Article 15 steps through graphical indicators.
Take a look at those and see if they help. If not, let us know
and
we'll jump in.
I hope this helps. Let us know how you get along.
Julie
Anybody know a site that can give examples of the code
required
for
the above ?
Primarily I'm looking to report on tasks via a custom field
using a
grafical
indicator [ BRAG ].
I've set the field to display a colour based on a value, now
I
want
to
add a
formula that dictates what that value is i.e. - If %complete
=
100,
then
value = b, If end > today then value = r, if end date >
today-3
& &
Complete
50, then value = y, else value = g.
Any ideas please !