Suppose your boss has requested that the task bars on your Microsoft Project Gantt chart be Green if they haven’t started or when they are in progress, but Red if they are late.
- In the Task window, right click on a column heading and select Insert Column…
- Select Flag 1 from the Field Name drop down and then click OK
- Right click on Flag 1 column heading and select Customized Fields…
- Select Flag 1 from the list and click the Rename button
- Enter Overdue Task and click OK
- Click the Formula… button
- Copy this formula into the space provided:
IIf(Now()>[Finish] And [Actual Finish]=ProjDatevalue("NA"),Yes,No) - Click the OK button
- Select Format > Bar Styles…
- Select the Task line and change the Color to Green
- While the Task line is selected, click the Cut Row button immediately followed by clicking the Paste Row button two times
- Rename the second Task line to Task – Red
- Select the Task – Red line and change the Color to Red
- On the Task – Red line, click in the Show For … Tasks column and change the value to Flag 1
- Click the OK button