I've set a formula to monitor variance between baseline and scheduled finish. I know that there is a simple finish variance column for this kind of thing, but in my organization we've got certain deviations thresholds so default field set will not work. Please take a look at this
Switch(Not [Baseline Finish]=[Scheduled Finish];Iif((DateDiff("d";[Baseline Finish];[Scheduled Finish])>14) OR (DateDiff("d";[Baseline Finish];[Scheduled Finish])<-14);DateDiff("d";[Baseline Finish];[Scheduled Finish]);"");([Baseline Finish]=[Scheduled Finish] And [% Complete]=100) Or ([Baseline Finish]=[Scheduled Finish] And [% Complete]=0);"")
What is achieved here is that in a text30 field the variance data is only displayed if it meets certain threshold parameters (e.g. -14 and +14 days). The need for this is that i do have a set of flags that trigger to YES/NO depending on text30 column data (e.g. red arrow if deviation is >60 or green arrow if deviation is >15<31 etc). And then based on those flags the custom milestone icons are displayed on gantt. Question is how can i simplify the a/m formula?
Thank you.