Free Project Tracker with Gantt Chart (Excel, Google Sheets)
Project tracker with a Gantt chart drawn by conditional formatting. WORKDAY skips weekends and holidays; late and out-of-order tasks are flagged.
On this page
There’s no chart object in this Gantt chart. The bars are cells painted by conditional formatting, which means they move the moment you change a start date or a duration, and you can read the rule to see exactly why a bar is where it is. The task table on the left does the date arithmetic; the grid on the right only reads it.
Download project-tracker-gantt.xlsx. The rule that paints the light blue planned part of each bar, applied to M6:BB25, is:
=AND(ISNUMBER($E6),ISNUMBER($G6),M$5>=$E6,M$5<=$G6,M$3=1)
Row 5 holds one date per column, E is the task’s start and G its end. A cell is painted when its date falls between the two and row 3 marks it as a workday. The $ signs pin the dates to rows 3 and 5 and the task dates to columns E and G, so one rule covers the whole grid.
Row 3 is a small helper, =IF(AND(WEEKDAY(M5,2)<6,COUNTIF(Holidays!$A$2:$A$20,M5)=0),1,0), because Google Sheets conditional formatting can’t refer to another sheet. The first version of this file put the Holidays lookup inside the color rules; after importing it into Google Sheets, only the milestone and the As of column were colored, and every bar was missing. With the lookup moved into row 3, the bars appear.
One bar, read from right to left
Take “Write product copy” in row 8. Its bar is dark blue on 4, 5, 6 and 9 November and light blue on 10 and 11 November, with 7 and 8 November grey because they’re a weekend. Here’s where each piece comes from.
The light blue stretch ends on the End date in G8, 11 November. End counts workdays from the start:
=IF(OR(E8="",F8=""),"",IF(F8=0,E8,WORKDAY(E8,F8-1,Holidays!$A$2:$A$20)))
Start is 4 November and Workdays is 6. The -1 is there because Workdays includes the start day: a task that starts Wednesday and lasts one workday ends Wednesday, not Thursday. WORKDAY steps over weekends and over anything in the Holidays sheet.
The dark blue part shows how much is done. Done through, in L8, converts % done into a date:
=IF(OR(E8="",F8="",H8=""),"",IF(ROUND(F8*H8,0)<1,E8-1,WORKDAY(E8,ROUND(F8*H8,0)-1,Holidays!$A$2:$A$20)))
70% of 6 workdays is 4.2, rounded to 4, so the done part runs four workdays: 4 to 9 November. A task at 0% gets the day before its start, so no dark cells appear. The dark rule is the same as the light one with L instead of G, and it sits above it in the rule list.
Status in I8 says Late: % done is under 100% and the As of date in C3 (17 November) is after the end date. The other statuses are Done at 100%, Not started before the start date, and In progress in between. Replace C3 with =TODAY() once you’re tracking a live project.
Holidays push the end date
“Print-ready files” in row 12 can’t start until Revisions (task 6) ends on Wednesday 25 November. Earliest start in J12 is the next workday after that:
=IF(D12="","",IF(COUNTIF($A$6:$A$25,D12)=0,"ID not found",WORKDAY(INDEX($G$6:$G$25,MATCH(D12,$A$6:$A$25,0)),1,Holidays!$A$2:$A$20)))
The answer is Monday 30 November, not Thursday 26th, because 26 and 27 November are on the Holidays sheet and the 28th and 29th are a weekend. With two workdays the task ends 1 December. Enter holidays as real dates. In the Google Sheets test, one holiday typed as the text 2026-11-26 made every End date return #VALUE! (“WORKDAY expects number values”), and the error carried into Earliest start and into Status for the two tasks already under way. Excel for Mac 16.115 and LibreOffice Calc accepted the same text as a date and kept the original End values, so a file that looks fine in Excel or LibreOffice can break in Google Sheets. Dates stored as text shows how to convert one, and working days excluding holidays covers WORKDAY and NETWORKDAYS in more depth.
A start date that ignores its dependency
The template doesn’t move start dates for you. You type every Start, and Earliest start only tells you when it could begin. Check in column K compares the two:
=IF(NOT(ISNUMBER(J11)),"",IF(E11<J11,"Starts before "&D11&" ends",""))
In the sample, Revisions (row 11) starts 20 November, the same day Client review ends, so K11 reads “Starts before 5 ends” and turns yellow. Either move the start to 23 November or accept the overlap on purpose. I left this manual because real schedules overlap all the time, and a formula that silently shifted every downstream date would hide that decision. A Depends on value that doesn’t exist (task 9 in an 8-task plan) shows “ID not found” in Earliest start. Any other problem, such as the text holiday above, shows its own error instead of being reported as a missing ID.
Milestones and the rule order
“Files to printer” has 0 workdays. End equals Start (2 December), and a separate rule paints that single cell purple. The grid has five rules, and they’re listed in this order: milestone, done, planned, As of column, day off. Google Sheets stops at the first rule that matches a cell, so the order decides which color wins. That’s why the As of column (orange) covers a bar that crosses 17 November, and why weekends inside a bar are grey rather than blue. The Google Sheets screenshot above shows that order after the xlsx import. If a rule seems to do nothing after you edit it, conditional formatting formula not working covers the usual $ mistakes.
Moving the timeline
The grid starts on the Monday of the week that contains C2 and runs 42 days (six weeks). Row 5’s first cell is =$C$2-WEEKDAY($C$2,3); each next cell adds one day. Change C2 to scroll the chart forward. Labels in row 4 sit only above Mondays and are built with CHOOSE instead of a date format, so they read “2 Nov” in any language setting.
Twenty task rows are formatted (6 to 25). The formulas in G and I to L only need copying down if you go past row 25, and the conditional-format range M6:BB25 has to be extended to match. For a longer project, copy column BB to the right; the rules apply to whatever range you set them to.