Lesson 46 of 92 · Free Excel Course
Excel
Project Management in Excel: Build a Gantt Chart and Project Tracker (Free Template)
Manage a project in Excel: task list with working days, a Gantt chart two ways (conditional formatting and stacked bar) and a status tracker. Free template.
A project plan only has to answer three questions: what needs doing, when, and how far along it is. In this project you'll build a project tracker in Excel that answers all three. You'll list the tasks with owners and dates, let Excel work out the durations and working days, draw a Gantt chart two ways, and add a status summary that flags overdue work and shows how much of the project is really done. The download has the finished tracker, a blank template for your own project, and a practice sheet.
The project tracker we'll build
The example is a three-week website launch, from Monday 1/4/2027 to Friday 1/22/2027. If you made the work breakdown structure in the diagrams lesson, its work packages become these tasks.
| A | B | C | D | E | F | G | H | I | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Task | Owner | Start | End | Days | Work days | % done | Status | Flag |
| 2 | Set goals and budget | Ana | 1/4/2027 | 1/5/2027 | 2 | 2 | 100% | Done | |
| 3 | Pick domain and hosting | Ben | 1/5/2027 | 1/6/2027 | 2 | 2 | 100% | Done | |
| 4 | Wireframes | Chloe | 1/6/2027 | 1/8/2027 | 3 | 3 | 90% | In progress | Overdue |
| 5 | Logo and mockups | Chloe | 1/7/2027 | 1/13/2027 | 7 | 5 | 60% | In progress | |
| 6 | Write content | Ana | 1/11/2027 | 1/15/2027 | 5 | 5 | 40% | In progress | |
| 7 | Build pages | Ben | 1/13/2027 | 1/19/2027 | 7 | 5 | 0% | Not started | |
| 8 | Test on phones | Dev | 1/19/2027 | 1/20/2027 | 2 | 2 | 0% | Not started | |
| 9 | Go live and announce | Ana | 1/21/2027 | 1/22/2027 | 2 | 2 | 0% | Not started | |
| 10 | |||||||||
| 11 | Status date | 1/13/2027 |
You type the task, owner, start, end, % done and status. Excel calculates the rest. The status date in C11 is the day you're reporting on. It's a fixed date here so your answers match the file; in your own tracker you can type =TODAY() instead.
Step 1: tasks, dates and durations
- Type the headings in row 1 and your tasks in column A, one per row, in the order they happen.
- Type each task's start date in column C and end date in column D. See dates and times if Excel won't treat them as dates.
- Calendar days: in E2 type
=D2-C2+1and fill down. The +1 counts both the start and end day, so a task that starts and finishes on Monday lasts 1 day, not 0. Logo and mockups (Thursday 1/7 to Wednesday 1/13) is 7 days. - Working days: in F2 type
=NETWORKDAYS(C2,D2)and fill down. NETWORKDAYS counts Monday to Friday, start and end included, so Logo and mockups is 5 work days. - To skip holidays, list them in a range and add it as a third argument, for example a list in Lists!C2:C12:
=NETWORKDAYS(C2,D2,Lists!$C$2:$C$12). Martin Luther King Jr. Day (Monday 1/18/2027) would take Build pages from 5 to 4 work days.
Which duration should you use? Use calendar days when work carries on through weekends, or for the stacked bar chart, whose date axis includes weekends. Use working days to plan effort and for the % complete maths below.
Going the other way. If you know the start and how many working days a task needs, =WORKDAY(C2,F2-1) gives the end date. WORKDAY doesn't count the start day, hence the −1: =WORKDAY(C5,5-1) returns 1/13/2027.
Step 2: a status drop-down
Typing "In Progress" in one row and "in progress " in another breaks every count. A drop-down stops that:
- Type the statuses on a sheet named Lists: Not started, In progress, Done, On hold (A2:A5).
- Select H2:H9, go to Data > Data Validation, choose List under Allow, and in Source type
=Lists!$A$2:$A$5. - Click OK. Each status cell now has an arrow.
The steps are the same on a Mac and in Excel for the web. More in drop-down lists.
Step 3: a Gantt chart with conditional formatting
The quickest Gantt chart lives in the cells next to your tasks. Each column is one working day, and a rule colours the days each task runs.
- In C12 type
=MIN(C2:C9), the first day of the timeline (1/4/2027). - In K1 type
=C12. In L1 type=WORKDAY(K1,1)and fill right to Y1. That's 15 weekdays, with weekends skipped. Format row 1 asm/dand make columns K:Y narrow. - In J2 type
=A2and fill down, so the task names sit next to the grid. - Bars: select K2:Y9, go to Home > Conditional Formatting > New Rule > Use a formula to determine which cells to format, and type
=AND(K$1>=$C2,K$1<=$D2). Click Format, choose a blue fill, and click OK twice. In plain words: colour this cell if its date is on or after the task's start and on or before its end.K$1locks the date row;$C2and$D2lock the start and end columns. - Done part: with K2:Y9 still selected, add a second rule,
=AND(K$1>=$C2,NETWORKDAYS($C2,K$1)<=$F2*$G2), with a green fill. NETWORKDAYS counts how many work days into the task this column is; if that's within work days × % done, the day is complete. - Go to Home > Conditional Formatting > Manage Rules, choose This Worksheet, and use the arrows to put the green rule above the blue one. Rules higher in the list win.
- Today line: select K1:Y9 and add
=K$1=$C$11with a light yellow fill, placed last, so it only shows where there's no bar.
| J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Gantt | 1/4 | 1/5 | 1/6 | 1/7 | 1/8 | 1/11 | 1/12 | 1/13 | 1/14 | 1/15 | 1/18 | 1/19 | 1/20 | 1/21 | 1/22 |
| 2 | Set goals and budget | |||||||||||||||
| 3 | Pick domain and hosting | |||||||||||||||
| 4 | Wireframes | |||||||||||||||
| 5 | Logo and mockups | |||||||||||||||
| 6 | Write content | |||||||||||||||
| 7 | Build pages | |||||||||||||||
| 8 | Test on phones | |||||||||||||||
| 9 | Go live and announce |
On a Mac, in the New Rule box change Style to Classic, then choose Use a formula to determine which cells to format. In Excel for the web, New Rule opens a pane on the right: choose Formula as the rule type, type the formula and click Done. The practice file has all three rules saved. Find more on rules in conditional formatting.
Step 4: a Gantt chart with a stacked bar chart
This is Microsoft's method: a stacked bar chart where the first part of each bar (the start date) is invisible, so the visible part floats from start to end.
- Select A1:A9, hold Ctrl (Cmd on a Mac) and select C1:C9 and E1:E9: task, start and calendar days.
- Go to Insert > Insert Column or Bar Chart > Stacked Bar. (Not 100% Stacked Bar.)
- Click any of the blue Start bars to select that series, then go to Format > Shape Fill > No Fill. Only the duration bars remain.
- The first task is at the bottom. Right-click the task labels, choose Format Axis, and tick Categories in reverse order. The dates jump to the top of the chart; to keep them at the bottom, in the same pane set Horizontal axis crosses to At maximum category.
- There's empty space before the first bar because Excel picked its own starting point for the date axis, earlier than your first task. Right-click the dates, choose Format Axis, and under Bounds type
46391in Minimum and46410in Maximum. Those are the serial numbers for 1/4/2027 and 1/23/2027. Find yours by typing=C12and=MAX(D2:D9)+1in two cells formatted as General. - Delete the legend, click the title and type "Website launch".
On a Mac, Ctrl-click the axis and choose Format Axis. Excel for the web can insert the stacked bar chart, but if you can't find an axis option there, finish the chart in the desktop app. Bounds you type are fixed, so update them if the project dates move. See charts and graphs for chart basics.
Step 5: the status tracker
Under the task list, a few formulas sum up the whole project:
| A | B | |
|---|---|---|
| 14 | Status | Tasks |
| 15 | Not started | 3 |
| 16 | In progress | 3 |
| 17 | Done | 2 |
| 18 | On hold | 0 |
| 19 | Total | 8 |
| 20 | ||
| 21 | Overdue tasks | 1 |
| 22 | Project done (weighted) | 45% |
| 23 | Simple average (misleading) | 48.8% |
- Count by status: in B15 type
=COUNTIF($H$2:$H$9,A15)and fill down to B18. Total in B19 with=SUM(B15:B18). More in COUNTIF, SUMIF and AVERAGEIF. - Overdue flag: in I2 type
=IF(AND(D2<$C$11,G2<1),"Overdue","")and fill down. A task is overdue when its end date is before the status date and it isn't 100% done. Count them with=COUNTIF(I2:I9,"Overdue"). To turn those rows red, select A2:I9 and add the rule=$I2="Overdue". - % of project done: in B22 type
=SUMPRODUCT(F2:F9,G2:G9)/SUM(F2:F9). SUMPRODUCT multiplies each task's work days by its % done and adds them up: 11.7 of 26 work days = 45%.
Why not just average the % column? =AVERAGE(G2:G9) gives 48.8%, because the two finished tasks are short. Weighting by duration means a 5-day task counts more than a 2-day one, which is closer to the truth.
To chart it, select A14:B18 and choose Insert > Insert Column or Bar Chart > Clustered Column:
| Status | Tasks |
|---|---|
| Not started | 3 |
| In progress | 3 |
| Done | 2 |
| On hold | 0 |
Use the template for your own project
The download's Blank template sheet has room for 20 tasks and a 30-working-day timeline, with all the formulas, rules and the status drop-down in place. Type your tasks, owners, dates and % done, then put your status date in C23 and the first day of the timeline (a weekday) in C24. Bars, the today line, overdue flags and totals fill in by themselves. For a longer project, copy column AN to the right and extend each rule's range in Manage Rules.
Excel works well for a project like this. Microsoft's own advice is that spreadsheets struggle once tasks depend on each other, people are shared across projects, or the schedule needs to recalculate itself, and that's where project-management software such as Microsoft Project comes in.
Try it yourself
Download the practice workbook. On the Practice sheet, the tasks are typed and the yellow cells are yours:
- Days and work days in E2:F9 (Logo and mockups: 7 and 5), and the WORKDAY check (1/13/2027).
- The timeline start in C12, the dates in K1:Y1 and the task names in J2:J9.
- The blue bar rule, the green done rule and the yellow today rule on the grid.
- The overdue flags, status counts and the weighted % done (45%).
- The stacked bar Gantt chart, with axis bounds 46391 and 46410.
Compare with the Answers sheet, then try the Blank template with a project of your own.
Common mistakes
- Duration without +1.
=D2-C2is a day short. Use=D2-C2+1, or NETWORKDAYS for working days. - Missing
$signs in the rule. WithoutK$1and$C2, the rule drifts and bars appear in the wrong place. - Rules in the wrong order. If the blue rule is on top, you'll never see green. Fix it in Manage Rules.
- Typing dates as text. "Jan 4" typed with an apostrophe or imported as text won't compare with dates. Check that it's right-aligned.
- Forgetting the axis minimum. The chart starts before the project does, leaving a block of empty space before the first bar.
- Using TODAY in a report you send. The figures change every day. Use a fixed status date for a snapshot.
- Averaging % complete. Weight by duration with SUMPRODUCT.
You've built a complete project tracker: durations, a Gantt chart two ways, overdue flags and a progress summary. Before this, you tracked stock in Project: inventory. Next, add tick boxes and simple data-entry forms in Forms and checkboxes.
Frequently asked questions
Does Excel have a Gantt chart?
Not as a chart type, but you can build one two ways. Use a stacked bar chart with the start dates made invisible (Microsoft's own method), or a grid of date cells coloured by a conditional formatting rule such as `=AND(K$1>=$C2,K$1<=$D2)`. This lesson builds both, and the free template has the rules ready.
How do I calculate the duration of a task in Excel?
For calendar days, including the start and end day, use `=D2-C2+1`. Without the +1, a task that starts and ends on the same day shows 0. For working days only (Monday to Friday), use `=NETWORKDAYS(C2,D2)`, and add a list of holidays as a third argument to skip those too. To find an end date from a start date and a number of working days, use `=WORKDAY(C2,F2-1)`.
Why does my Excel Gantt chart have a big empty gap before the bars?
Excel sets the date axis bounds itself, and its automatic minimum usually falls before your first task. Right-click the date axis, choose Format Axis, and under Bounds type your first date's serial number in Minimum. To find it, type `=C2` in a cell and format it as General: 1/4/2027 is 46391.
How do I show percent complete on a Gantt chart in Excel?
In a conditional-formatting Gantt, add a second rule with a different colour, such as `=AND(K$1>=$C2,NETWORKDAYS($C2,K$1)<=$F2*$G2)`, and move it above the bar rule in Manage Rules. It colours the first part of each bar in proportion to the task's % done.
How do I highlight overdue tasks in Excel?
Add a flag column, such as `=IF(AND(D2<$C$11,G2<1),"Overdue","")`, where C11 holds the status date, then a conditional formatting rule `=$I2="Overdue"` with a red fill on the task rows. Use a fixed status date when you report, or `=TODAY()` for a live tracker.
Is Excel good enough for project management?
For a small project with one owner or a small team, yes: a task list, a Gantt view and a status summary cover most needs. Once you have many dependent tasks, shared people across projects or a team updating at the same time, Microsoft notes that spreadsheets struggle, and dedicated software such as Microsoft Project recalculates the schedule for you.