# 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="/files/AF7Zsa5qETt1Tn8z9HL2" 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="/files/GbEasLovemAYKH73hmnu" alt=""><figcaption><p>Fill</p></figcaption></figure> <figure><img src="/files/3tosc0x0MIWLenFusoSt" alt=""><figcaption><p>Track</p></figcaption></figure> <figure><img src="/files/uf3gQmV4RTmOjmVlTwik" 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="/files/Jjv30zfX4SqgjU8DIEHm" 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="/files/KqKunHB8Yc9BLvws20hw" alt=""><figcaption><p>Status flags</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.inforiver.com/analytics+/gantt-chart/gantt-conditional-formatting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
