In Excel Gantt Charts part of our project management series, we have discussed about how using Conditional Formatting and Formulas we can make a gantt chart like this:

But when you have large project plans, gantt charts like above can get pretty intense and hard to read. So a better approach is to group various tasks in project plan – like this:

In this article, we will learn how you can make such a grouping in a regular gantt chart.
For this tutorial, we will choose a familiar project – Project Peanut Butter Jelly Sandwich. (If you dont know what a PBJ is, you should find-out, prepare and eat one before reading any further. I am serious…)
Step 1: Make the regular project plan gantt chart in the following format
We will not talk about making a regular gantt chart. Here is an excellent tutorial on making excel gantt charts (and one more).
Once you are done, the chart should look like this:

Step 2: Add a new column and define groups of activities
This is very simple. Just add a new column (preferably to the left of activities) and define groups of project activities there. Like this,

Step 3: Select the entire gantt chart and add “subtotals”
To do this, just go to Data Ribbon (or menu) and select “Subtotals”.

Once you are inside the subtotals dialog, select “Start” and “End” columns to add subtotals.
In order to get the correct grouping in the gantt chart, we need minimum of start and maximum of end in each group. But this is not possible with subtotals dialog. So we just select “minimum” as the subtotal type.

Once you press OK, Excel will insert new rows and add SUBTOTAL formulas automatically.
Step 4: Change the SUBTOTAL formulas
Since both Start and End subtotals are pointing to minimum, we need to change the formulas for End so that they show Maximum. Just do that by editing the subtotal formulas manually and changing total type to “4” (MAX) for column End.
While we are at it, you can also change the labels from “Min of <group>” to “<group>”.
Step 5: Modify the conditional formatting so that groups are shown in a different color
In the conditional formatting add another condition (like when activity is blank) so that we can show those rows in a different color. [here are some tutorials on conditional formatting]
Now our Project Plan for Peanut butter sandwich is ready with groups.

Download the Gantt chart template with grouped activities
Download a copy of this example – Excel 2007 | Excel 2003 [mirror]
Get a copy of my project management template set – It has 7 gantt chart templates and 17 other project management templates.
Do you group tasks in your project plans ?
Grouping activities can be very useful to monitor project progress. In large projects usually there will be hundreds of activities. It can be a nightmare to know which ones are delayed, which ones need attention. By grouping you can present overall picture while allowing drill-down to items that need attention.
Do you group tasks in your plans? What is your experience like?
More resources on Project Management using Excel:
I suggest reading my 7 part series on project management using excel. Starting with Excel Gantt Charts to Project Dashboards.
Also, read the excel conditional formatting tips article and primer on excel subtotal formula.













11 Responses to “FREE Calendar & Planner Excel Template for 2025”
Hi,
I downloaded this 2025 Calendar template. I checked the custom tab. Is it possible to change the weekend Fri & Sat.
Thanks
It is. Just use the option for fri & sat weekend (should be 7).
Activities of some dates are not getting displayed on "Any month" and "printable calendar" sheets.
e.g. Activity of 24 Apr 25.
Can you check again? The date in "planner" sheet should be a proper date. When I tested with 24-apr-2025, it works.
Love this calendar... I have highlight planner dates enabled but all dates are blue, is it possible to customize the color based on the type assigned to each date?
What would be the right way to add more Holidays in the Customizations?
Inserting rows in the Holiday List causes the blank cells in the calendar to turn Blue.
This is amazing!!! The best I've seen so far!! Is it possible to update it to consider a column for the final date? That way, if an event lasts more than one day, it repeats in the calendar
How do we change/insert the customization "Icon Options" ?
You can adjust these from the settings tab.
Is there anyway this can turn into an academic calendar (ie. start month is July and runs all the way through June of next year)?
Is there a way to make it something that is more than a day without having to add it to every day of that week.