JackD
Fri Jan 28 11:07:17 CST 2005
There is a character limit to the length of the formula (I can't recall
exactly, but I think it is ~255 characters) but you can amend your formula
to include 1 and 2 below without any problem with the math. You already have
the milestone check in there, but you are using it to return a value of -1.
Your big problem is going to be fitting the formula in the maximum number of
characters. Start by changing things like "No baseline Set" to "No BL".
If you run out of room for your formula then you can always go to VBA where
the sky is the limit.
See my website for appropriate uses of custom formulas and also how to use
VBA:
http://masamiki.com/project
--
-Jack ... For project information and macro examples visit
http://masamiki.com/project
.
"Steve Scott" <SteveScott@discussions.microsoft.com> wrote in message
news:CD752684-449F-475B-B7F9-D48315CFC6E3@microsoft.com...
> I currently have the following formula:-
>
> IIf([Milestone]=-1,IIf([% Complete]=100,"Complete",IIf([Baseline
> Finish]=ProjDateValue("NA"),"No baseline Set!",IIf([Finish]<Date
> (),"Reforecast",IIf([Number1]>5,"R",IIf([Number1]>0,"A","G"))))),"NM")
>
> Can I extend it further to perform the following checks as well:- (ie how
> big can my formula be!!)
>
>
> 1) Amend the formula sp that it only works on tasks flagged as
milestones.
>
> 2) Using another text field to act as reporting level (say for reporting
> levels 1,2,3,4 and 5) and then apply the above RAG formula but with
differing
> "slippage days" depending upon what Level is in the text field.
>
>
> Thanks in advance
>
> Steve
>
>
>
>
>