20 May
Posted by Chandoo in Excel Tips, business, hacks, ideas, technology, visualization

One of the most frequent tasks for any manager is “planning”, be it putting together a hiring schedule or designing a jumbo jet, it all starts with a simple project plan and gantt chart is simple and intuitive representation of the same. But how to make a gantt chart in excel without writing too many formulas or adding conditional formats? Do not worry! with the simple trick we are going to learn today, you will be able to “gantt in 60 seconds”
For our example purposes, we will look at a fictitious project plan shown below:

Even though you can use this trick to pretty much any data format, it works better when the project plan is structured around how I represented it above.
Now lets build a gantt chart in 60 seconds, get your stopwatches out and get, set …. GO!
Select the data part of your plan (ie all the cells except header row in the above table) and click on chart icon in excel. Select “bar chart” as chart type and “stacked bar 2d” as sub-type (2nd left on the top row) as shown here.

Click finish. At this point your gantt chart should look like this:

Now we will convert this stacked bar graph to a gantt chart by using chart formatting options.
Click ok, now out gantt chart should look like this:
btw, what is the time on that stop clock, 34 seconds, well, thats just fine, we have got plenty of time to spruce this up.
Select “none” for “border” and “area” options in the “patterns” tab. This will make sure that the first series is invisible, so we see second data series floating on the chart, thus making it look almost like a gantt chart.

Go to “data labels” tab and check “category name” option. This will make sure our gantt chart will show labels (but on the now invisible first data series)

Click ok, at this point our gantt chart should look like this:
At this point our gantt chart should look something like this:
If you still have few seconds left, you can tweak the chart format to make it look better. I had 3 more seconds left, so I tried this
Bonus tips for enthusiastic excel experimenters:
1. Adjust the grid line format to make them more subtle
2. Select a particular task’s data point and change its color to emphasize progress / stalled statuses
3. Enhance this to add another column with no. of resources (or difficulty etc.), add this to the stacked chart and make it invisible just like series 1, but show the data labels.
4. You get the picture… so start gantting…
Also read:
Learn how to create project plans / gantt charts using conditional formatting
Create art grade excel charts with these 73 designer templates
Other uber cool excel tricks to make your colleagues zealous and your boss happy
5 Responses
Sastry
May 21st, 2008 at 12:31 pm
1Very interesting and very useful… am toying with this now… man, u always have something really useful.. great…
one question - i usually have “dates” on my project schedules (on the X-Axis, i mean)… instead of “days”… Getting that, is looking a bit tricky from my initial trials… Will let u know if i figure some way… if u have any thoughts, add in…
Cheers
Sastry
May 21st, 2008 at 1:11 pm
2OK, i figured a way… the two columns will just have to be “Start DATE” and “number of DAYS”… Almost solves it off… Figuring a way to include EST / EFT etc.
Chandoo
May 21st, 2008 at 7:04 pm
3@Sastry .. thanks for the comments, yeah, I figured many of us actually have dates on the plans. It could be little tricky working with dates but as you proved in the next comment, you can do that by merely replacing the 2 columns with startDate and no. of days.
It would be great if you can share your way when you figureout how to get the EST / EFT et al in the gantt…
Paste like a Pro - 17 excel pasting tricks you should know | Pointy Haired Dilbert - Chandoo.org
July 2nd, 2008 at 9:31 pm
4[...] quotes to your workbook with one click, Master your ifs and buts - learn these 6 tips on if(), Project plan in 60 seconds, your time starts now!, Honey! I shrunk the bar charts and much more Tags: cool, excel, howto, learn, microsoft, [...]
CM
August 3rd, 2008 at 4:48 pm
5“Gantt in 60 seconds” Hehehe, I saw what you did there…
RSS feed for comments on this post · TrackBack URI
Leave a reply
Welcome :)
Quick Facts
I am Chandoo, when I started this blog in 2004, the purpose was to post snapshots from hell to share my b-school life with world.
Today this blog has over 600 articles in topics like Excel, Business, Advertising, Technology, Photography and Life in Indian B-schools.
Interested? Know more or mail me at: chandoo [dot] d [at] gmail [dot] com
Recent Comments
Categories
Recently PHD wrote
Monthly Archives
Category-wise Archives
Blogroll
PHD Link Love
Hungry for Spam
Disclaimer
Add PHD to your news reader
Tag Cloud
advertising b-school blogging business chennai company cost engineering Excel Tips experience food Friends fun game Humor idea ideas IIM images India Indore information learning management marketing MBA microsoft money movie office photos presentation product project service story technology tips train travel tricks tv visualization web weekendPointy Haired Dilbert - Chandoo.org is proudly powered by WordPress - BloggingPro theme by: Design Disease