Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to create Gantt chart in Excel?

When you need to display your timeline of the project management in Excel, the Gantt chart can help you. Most of users may be known that the Gantt chart is a horizontal bar chart which is often used in project management applications, and from it you can view the timelines of each project managements visually and intuitively (see the following screenshot). And here, I will talk about how to create a Gantt chart in Excel.

doc-gantt-chart1

Create a Gantt chart in Excel


arrow blue right bubble Create a Gantt chart in Excel


You can create a Gantt chart with following steps:

First, create your own task data range.

1. Create the task data range which include the task name, start date and days duration as follows:

doc-gantt-chart1

Second, insert a bar chart and add the data series.

2. Insert a bar chart by clicking Insert > Bar > Stacked Bar, and a blank chart will be inserted, see screenshots:

doc-gantt-chart3
-1
doc-gantt-chart4

3. Then you need to add the data series to the chart, please select the blank chart and right click, then choose Select Data from the context menu, see screenshot:

doc-gantt-chart1

4. In the Select Data Source dialog, click Add button under Legend Entries(Series), and then an Edit Series dialog will appear:

(1.) Click doc-button-1 button under Series name to select the Start Date cell, B1 in this case.

(2.) Click doc-button-1button under Series values to highlight your date cells (from cell B2 to cell B7 in this example), see screenshots:

doc-gantt-chart3
-1
doc-gantt-chart4

5. Click OK to return to the Select Data Source dialog, then please repeat the step4 to continue adding Duration data series to the chart, and the Started Date and Duration data series are inserted into the chart, you will get the following screenshot:

doc-gantt-chart1

6. Go on in this Select Data Source dialog box, please click Edit button under Horizontal(Category) Axis Labels, and then in the Axis Label dialog, click doc-button-1 button to select your task name cells, see screenshots:

doc-gantt-chart3
-1
doc-gantt-chart4

7. Then click OK > OK to close the dialogs, and your data series have been added to the chart successfully. The Start Date are blue and the Durations are red as following screenshot shown:

doc-gantt-chart1

Third, format your bar chart.

8. The tasks in your created bar chart are in reverse order, to flip them, please select the task names and right click, then choose Format Axis, see screenshot:

doc-gantt-chart1

9. In the Format Axis dialog box, click Axis Options and check Categories in reverse order, and the task names have been revered, see screenshot:

doc-gantt-chart1

10. Then close this dialog, next, you need to hide the Start Date bar, select one blue bar and right click, then choose Format Data Series.

doc-gantt-chart1

11. In the Format Data Series dialog, click Fill from the left pane, and select No fill option, then go on clicking Border Color, and select No line option, see screenshot:

doc-gantt-chart1

12. Then close this dialog, and your bar chart becomes as this:

doc-gantt-chart1

13. In following steps, you need to remove the empty white space at the start of your Gantt chart.

(1.) Select the first Start Date cell in your data range, right click and choose Format Cells, in the Format Cell dialog, click Number tab, and select General in the left pane, remember or write down the numbers under Sample, in this example, it is 41642. Then close this dialog.

doc-gantt-chart1

(2.) Then select the dates above the bar in the chart, and right click to choose Format Axis, and in the Format Axis dialog box:

A: Click Axis Options from the left pane, and in the Minimum option, check Fixed and input the numbers that you are recorded just now;

B: In the Major unit option, select Fixed and adjust the time duration as your need.

doc-gantt-chart3
-1
doc-gantt-chart4

(3.) And then close the dialog, your Gantt chart has been created as follows:

doc-gantt-chart1

(4.) At last, you can delete the Start Date and Duration legend on the right of your chart by selecting it and pressing Delete key. And your Gantt chart is completely finished.

doc-gantt-chart1


Related articles:

How to create simple Pareto chart in Excel?

How to create pie of pie or bar of pie chart in Excel?

How to add a scrollbar to chart in Excel?

How to create dynamic interactive chart in Excel?


Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Fa · 8 months ago
    請問如何刪除頁頂上個Gantt Chart字樣? 謝謝
  • To post as a guest, your comment is unpublished.
    Joanne · 2 years ago
    This is great. How can I add a moving line for today's date? I attempted to follow instructions for adding one to a line graph, but ran into a snag with the bar chart.

    thanks.
  • To post as a guest, your comment is unpublished.
    Rjaiv · 5 years ago
    Fantastic tutorial & demonstration