Project Management with Excel: Your first Gantt chart

Once you've built a basic schedule, you can greatly improve its usefulness by adding a Gantt chart. This is basically just a bar chart that visually displays your project schedule tasks and the dependencies between them:

clip_image001

Excel 2007 doesn't have full Gantt chart capability out of the box, but there is an easy way to simulate a Gantt chart. Let's start with the schedule we built in yesterday’s post. The first thing we need to do is add a column to our schedule that we'll call Days In, which represents the number of days into the project that each task begins:

clip_image002

To calculate Days In, use this formula in B2: =(NETWORKDAYS(D2,D2,Holidays))-1 and then increment the second "D2" for each row (for example, B3 is =(NETWORKDAYS(D2,D3,Holidays))-1 and B4 is =(NETWORKDAYS(D2,D4,Holidays))-1 ) . You can't simply fill down for this without having to correct the formulas to match the desired pattern. But once you get it set up, it will automatically adjust your chart if you need to modify the Work Days or Start date values anywhere in your schedule.

When you are done creating your Days In column, select the values in the first three columns including the header row but omitting the Project Summary row. On the Insert tab, look under Charts and click Bar and under 2-D Bar, select Stacked Bar:

clip_image003

Your chart initially should look something like this:

clip_image004

Believe it or not, it's actually very close to done. You just need to make a few adjustments.

First, make sure your chart is selected and go to the Format tab. At the upper left is a dropdown box that says Chart Area:

clip_image005

Click it, select Series "Days In" and then click the Format Selection button directly below the box. You'll open a popup box called Format Data Series. Click to the Fill section, select No fill and click Close. There, now it's looking like a Gantt chart:

clip_image006

Only one thing is wrong - it's backwards! No worries. Simply select the chart again, go back to the Chart Area box, and select Vertical (Category) Axis. Click the Format Selection button again and, under Axis Options, check the Categories in reverse order check box and click Close. Voila!

Now select and delete the Legend to the right of your chart and you're done!

Suzanne