Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RAG Rating help

Status
Not open for further replies.

jedathoss

IS-IT--Management
May 20, 2024
1
GB
Hi, I am trying to get a RAG rating working on MS Project. I have been searching around and have found the following formula which I have got to partially work:

IIf([Baseline Finish]-[Finish]>=5,"Green",IIf([Baseline Finish]-[Finish]>=0,"Amber",IIf([Baseline Finish]-[Finish]<0,"Red",IIf([% Complete]=100,"Black")))

problem is the above only shows Amber and Red indicators. I think i need an "And" clause in there for if the baseline start is after todays date but not sure how to go about that to enable green indicators to show for future tasks.

Absolutely no idea why complete tasks aren't being indicated correctly.

any help very gratefully recieved,

thanks
 
Try this...

IIF([% Complete]=100,"Black",
IIF([Baseline Finish]-[Finish]>=5,"Green",
IIF([Baseline Finish]-[Finish]=0,"Amber","Red")))

Skip,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
"The most incomprehensible thing about the universe is that it is comprehensible" A. Einstein

You Matter...
unless you multiply yourself by the speed of light squared, then...
You Energy!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top