|Microsoft Excel 2002
There are many ways to create a Gantt chart. For example, Microsoft Project, a task-planning program, makes it easy to track and chart project timelines with a built-in Gantt chart view. Another option is to use Excel. Excel does not contain a built-in Gantt chart format; however, you can create a Gantt chart in Excel by customizing the stacked bar chart type.
This article shows you how to create a Gantt chart like the following example.
Step 1: Enter the sample data
- Open a new worksheet in Excel and enter the following values in cells A1 through D6:
Note The values in columns C and D (Completed and Remaining) represent numbers of days.
- Select cell B2 and format with the date format you want to use for the chart by clicking Cells on the Format menu, and then clicking the Number tab. Click Date in the Category list, and select the format you want to use in the Type list.
Step 2: Create a stacked bar chart
- Select cells A1:D6 and click Chart Wizard.
- In step 1, click Bar under Chart Type, and then click the Stacked Bar sub-type (you can see the name of each chart sub-type at the bottom of the dialog box).
- Click Next, Next, and then Finish.
Step 3: Make the chart look like a Gantt chart
- Double-click the first series in the chart. This is the series for Start Date. If default colors are set in Excel 2002, this series is blue.
- On the Patterns tab of the Format Data Series dialog box, click None for Border and None for Area, and then click OK.
- Double-click the category (x) axis, which in a bar chart is the vertical axis. (In a bar chart, the traditional x and y axes are reversed.) Click the Scale tab, and select the Categories in reverse order check box.
- Click the Font tab, click 8 under Size, and then click OK.
- Double-click the value (y) axis, which in a bar chart is the horizontal axis. After completing the last step, this axis should be located at the top of the chart plot area. Click the Scale tab and type the following values in the appropriate boxes:
Major unit: 61
Minor unit: 1
These values are serial numbers that represent the dates to be used for the value (y) axis. The minimum value 36739 represents the date August 1, 2000. The maximum value 37441 represents the date July 4, 2002. The major unit of 61 represents about two months, while the minor unit represents one day. To see the serial number for a date, enter the date in a cell, and then format that cell with the General number format.
- Also on the Scale tab, select the Category (X) axis crosses at maximum value check box.
- Click the Alignment tab, and under Orientation, type 45 in the Degrees box.
- Click the Font tab, and under Font style, click Bold. Under Size, click 8, and then click OK.
- Right-click the legend, and click Format Legend on the shortcut menu.
- Click the Placement tab, and click Bottom.
- Within the legend, click Start Date so that it is selected, and then press DELETE.
After completing these steps, you should have a chart that looks similar to the example. You may need to resize the chart using the mouse to see all of the labels present in the chart. Additional formatting can be added as needed.