# Gantt: Conditional formatting

Improve project and resource tracking in Gantt charts with conditional formatting - automatically highlight delayed tasks, draw focus to upcoming deadlines, and quickly identify bottlenecks or missed deadlines.

### 1. Highlighting task and subtask names

Bring attention to specific tasks or subtasks that may be at risk of missing deadlines. Select 'Datagrid' in the **Impact on** dropdown. In this example, we've highlighted the tasks in red where the progress is less than 50% and the actual start date is later than the planned start date.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FWbneFuzeZGgzW9OiwR2L%2Fimage.png?alt=media&#x26;token=17b17acc-b672-4cf2-bb02-f2878f01fb61" alt=""><figcaption><p>Conditional formatting for tasks and subtasks</p></figcaption></figure>

### 2. Highlighting progress bars

You can draw attention to the progress bars when there is no significant progress, or when there are delays in the planned timeline. Select 'Timeline Bar' in the **Impacts on** dropdown. The images show how the fill, track, and planned progress bars are highlighted in red when the progress is less than 50%.

<div><figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FPbCfjB9tdHPpFiJ1IFUL%2Fimage.png?alt=media&#x26;token=3525d506-f0b0-480c-acca-8b369bb32f90" alt=""><figcaption><p>Fill</p></figcaption></figure> <figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FHaW5NvG2JZyxkZBs5VOq%2F2025-04-03_12h35_44.png?alt=media&#x26;token=3e846680-63e2-499d-9536-61717c3e4a81" alt=""><figcaption><p>Track</p></figcaption></figure> <figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2Fad7gBaDklBZEO5lktJM8%2F2025-04-03_12h41_53.png?alt=media&#x26;token=5d979019-3a70-4dd7-bbf9-d73b87a19bc2" alt=""><figcaption><p>Planned</p></figcaption></figure></div>

### 3. Conditional formatting for milestones

Another way to highlight tasks that are on track or not progressing is by using conditional formatting rules on milestones. Select 'Milestone' in the **Impacts on** dropdown. You can set a custom color and shape for the milestone that satisfies the condition. You also need to select the milestone field from the dropdown.

In this demo, we've used green stars to highlight the milestones for the projects that are on track.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FcK9j5vZeTbevCis4eLd9%2Fimage.png?alt=media&#x26;token=61c53a75-2968-4eb8-980d-6cbd69016000" alt=""><figcaption><p>Gantt milestones</p></figcaption></figure>

### 4. Status flags

Enable status flags to provide stakeholders with a quick visual representation of the overall project health and status of individual tasks without having to analyze the progress/timelines in detail.&#x20;

Select 'Status flag' in the **Impacts on** dropdown. Select the color from the picker and choose an icon. In this example, we've used blue ticks to indicate tasks and subtasks that are close to completion, red warning symbols for blockers, green flags for tasks that are on track, etc.

<figure><img src="https://3132984990-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbOoZhPvC57Z0CNgep4Ib%2Fuploads%2FnR1cGPtUuDtzCVlG48cq%2Fimage.png?alt=media&#x26;token=d368ad3a-e4b0-4432-981e-1b50cb917f30" alt=""><figcaption><p>Status flags</p></figcaption></figure>
