Home › Forums › Discussion › Gantt Chart Bar color based on task name › Reply To: Gantt Chart Bar color based on task name
As Larry says, create a special bar style with “Show For…” = Flag1 (or some other custom flag field.) Then use a formula to populate the flag field based on the task name. e.g. Flag1=InStr(1,[Name],”Cut”) automatically sets Flag1 to “Yes” if the task name contains “Cut” (not case-sensitive). You would need a distinct Flag field (maximum of 20) for each distinct bar style you want to set.