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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Microsoft Project - Query

Status
Not open for further replies.

Cachorrita

Technical User
Jul 29, 2013
1
GB
I can't write code to save my life so I'm trying to do the following: I have a very basic Programme plan with a Baseline Finish date and Forecast Finish Date [Date1]. I have put in a RAG column and this formula (which I found on a website but works like a dream):

IIf([Date1]>99999,"None",DateDiff("d",[Baseline Finish],[Date1]))

Which has successfully calculated my RAG based on criteria I've entered into the Graphical Indicators field as follows:

equals - None - green circle
is less than or equal to - 6 - green circle
is less than or equal to - 13 - yellow circle
is greater than or equal to - 14 - red circle

HOWEVER, in addition to the formula above I want it so that if there is no date in the [Date1] Field but the [% Complete] is 100, then the RAG will be "Complete". The graphical indicator for this will be blue ie equals - Complete - Blue Circle.

Could anybody have a go at writing my code so that it includes this? I've had a go but my brain is melting.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top