Excel Formulas to Create Gantt Chart with Time Schedule!!
Tags: excelformula, conditionalformattin, excelformulas
Published: 2021-03-18 11:26:33

---
title: Excel Formulas to Create Gantt Chart with Time Schedule!!
published: true
date: 2021-03-18 11:20:49 UTC
tags: ExcelFormula,Conditionalformattin,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-create-gantt-chart-with-time-schedule/
---

A conditional format  **changes the appearance of cells** based on certain criteria. If the condition is true, the cell range is formatted otherwise it is not formatted. In this short tutorial, we will show the simple steps to **create the Gantt chart based on the time schedule in Excel**. Let’s get into this article!! Get an official version of ** MS Excel**  from the following link: [https://www.microsoft.com/en-in/microsoft-365/excel](https://www.microsoft.com/en-in/microsoft-365/excel)

[![Gantt chart with time schedule](https://geekexcel.com/wp-content/uploads/2021/03/Gantt-chart-with-time-shedule.png)](https://geekexcel.com/excel-formulas-to-create-gantt-chart-with-time-schedule/gantt-chart-with-time-shedule/#main)<figcaption id="caption-attachment-22518">Gantt chart with time schedule</figcaption>

## General Formula:

- You can use the below formula to build a Gantt chart with time schedule.

**=[IF](https://geekexcel.com/use-if-function-in-microsoft-excel-365-simple-steps/)(start<end,[AND](https://geekexcel.com/how-to-use-logical-function-and-in-excel-365/)(A$1>=start,time<=end),[OR](https://geekexcel.com/use-or-function-in-microsoft-excel-365-in-easy-ways/)(A$1>=start,A$1<end))**

## Syntax Explanations:

- **IF** – This function will help to return one value for a [**TRUE**](https://geekexcel.com/use-true-function-in-microsoft-excel-365-simple-methods/)result, and another for a [**FALSE**](https://geekexcel.com/use-false-function-in-microsoft-excel-365-simple-methods/)result. Read more on the **[IF function](https://geekexcel.com/use-if-function-in-microsoft-excel-365-simple-steps/)**.
- **AND** – The **[AND function](https://geekexcel.com/how-to-use-logical-function-and-in-excel-365/)** checks Multiple Conditions and returns [**TRUE **](https://geekexcel.com/use-true-function-in-microsoft-excel-365-simple-methods/)if all the conditions are evaluated as true otherwise returns **[FALSE](https://geekexcel.com/use-false-function-in-microsoft-excel-365-simple-methods/)**.
- **OR** – In Excel, the [**OR Function**](https://geekexcel.com/use-or-function-in-microsoft-excel-365-in-easy-ways/) in Excel is a logical function to test multiple conditions at the same time.
- **Absolute Reference ($)** – The [**Absolute reference**](https://geekexcel.com/use-absolute-reference-in-excel-office-365-with-examples/) is an actual fixed location in a worksheet.
- **Comma symbol (,)** – It is a separator that helps to separate a list of values.
- **Parenthesis ()** – The main purpose of this symbol is to group the elements.

## Example:

Refer to the below example image.

- First, we will enter the input values in **Column B** to **Column C**.
- From these input data, we need to create the Gantt chart in  **Column D**  to **Column AB**.

![Input Ranges](https://geekexcel.com/wp-content/uploads/2021/03/Input-Ranges-21.png)<figcaption id="caption-attachment-22516">Input Ranges</figcaption>

- So apply the above-given formula to the conditional formatting option.
- To know  **how to apply conditional formatting**  in Excel, just **refer to this article<u>:</u>[ How to Apply the Formula with Conditional Formatting In Excel?](https://geekexcel.com/how-to-apply-formula-with-conditional-formatting/)**
- Finally, it will highlight the cells based on our input and display the result as per the below image.

![Result](https://geekexcel.com/wp-content/uploads/2021/03/Result-24.png)<figcaption id="caption-attachment-22517">Result</figcaption>

## Wrap-Up:

In this tutorial, we have described the simple formula used to **create the Gantt chart based on a given time schedule in Excel**. Hope you like it. If you have any issue regarding this article or any unresolved **query** , please comment in the **comment** box below. We will assist you. To learn more, check out **[Geek Excel](https://geekexcel.com/) **and [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!!**

### Read Ahead:

- **[Excel Formulas to Build Gantt Chart by Week ~ Easy Tutorial!!](https://geekexcel.com/excel-formulas-to-build-gantt-chart-by-week-easy-tutorial/)**
- **[Excel Formulas to build a Gantt Chart with Conditional Formatting!!](https://geekexcel.com/excel-formulas-to-build-a-gantt-chart-conditional-formatting/)**