G
Ginger
First, thanks again for the help and clues that have pushed me along. I
think I’m getting close. : )
I’m still having two error results appearing:
1) If a task is equal (i.e., 40% complete and should be 40%) it says RED. I
have tried a “-.01†on the end, but it seems to cause other errors.
2) When a task is set to 100% complete, it displays RED – even if, for
example, it’s only at 80% of the duration.
I’d want both of these to say GREEN or just be blank.
Text1 (Displays the percentage that should be complete at the current date,
assuming straight-line effort. Displays with a percent sign)
Left(str(IIf([Current Date]<[Start],"0",IIf([Current
Date]>[Finish],"1",ProjDateDiff([Start],[Current
Date])/[Duration]))*100),4)+"%"
I’m using the next two to get the same result without the percent sign,
because I couldn’t get the formula to work with that in it.
Text3
[% Complete]
Text4
Left(str(IIf([Current Date]<[Start],"0",IIf([Current
Date]>[Finish],"1",ProjDateDiff([Start],[Current Date])/[Duration]))*100),4)
Text5
IIf([Text3]>[Text4]*100,"GREEN","RED")
Thanks again, in advance, for your help.
think I’m getting close. : )
I’m still having two error results appearing:
1) If a task is equal (i.e., 40% complete and should be 40%) it says RED. I
have tried a “-.01†on the end, but it seems to cause other errors.
2) When a task is set to 100% complete, it displays RED – even if, for
example, it’s only at 80% of the duration.
I’d want both of these to say GREEN or just be blank.
Text1 (Displays the percentage that should be complete at the current date,
assuming straight-line effort. Displays with a percent sign)
Left(str(IIf([Current Date]<[Start],"0",IIf([Current
Date]>[Finish],"1",ProjDateDiff([Start],[Current
Date])/[Duration]))*100),4)+"%"
I’m using the next two to get the same result without the percent sign,
because I couldn’t get the formula to work with that in it.
Text3
[% Complete]
Text4
Left(str(IIf([Current Date]<[Start],"0",IIf([Current
Date]>[Finish],"1",ProjDateDiff([Start],[Current Date])/[Duration]))*100),4)
Text5
IIf([Text3]>[Text4]*100,"GREEN","RED")
Thanks again, in advance, for your help.