A family of Microsoft relational database management systems designed for ease of use.
philcuddy,
I'm not a big fan of the Switch statement, nor am I a fan of complex formulas but I think the following formula will do what you want:
IIf([% Complete]=0 And [Scheduled Start]<[Current Date] Or [% Complete]<100 And [Scheduled Finish]<[Current Date],"overdue",IIf([% Complete]<100 And [Scheduled Start]<[Current Date],"in progress",IIf([% Complete]=0 And ([Scheduled Start]>=[Current Date] And [Scheduled Start]<=[Current Date]+7),"due soon","")))
However, I question your logic. First, just because a task hasn't started and it was scheduled to start before the current date, I wouldn't necessarily consider that task as overdue. It could be a fixed duration task wherein the resource won't actually start on it until a couple of days in. Second, in Project, formulas only apply to the current task line. Unless you specifically select to use formulas for calculation of task and group summary rows (this is an option on the Custom Fields window), nothing will be show for summary lines.
Just for reference, have you looked at the Status field? It already does what you want although the criteria is slightly different.
John