How to Make a Gantt Chart in Excel in 2027: A Step-by-Step Guide
Excel has no Gantt chart button, yet you can still build a proper one in about fifteen minutes. This Gantt chart Excel guide shows you the two methods that work: the stacked bar chart method, which looks like a real project timeline, and the conditional formatting method, which is simpler and easier to keep up to date. You also get a worked example, free template options, Mac notes, and an honest answer on when Excel stops being enough.
Table of Contents
Key Takeaways
- Excel has no built-in Gantt chart type, so you build one from a stacked bar chart or from conditional formatting.
- The stacked bar method needs three columns: Task, Start Date and Duration, where Duration equals End Date minus Start Date.
- Hide the start-date bars with No Fill, reverse the category order, and set the date axis bounds so the bars sit on the calendar.
- The conditional formatting method is the easiest option for a simple plan: a date grid across the top, one row per task, and a formula that fills the cells between the start and end dates.
- Free Microsoft templates exist: in Excel, go to File, then New, and search for Gantt to find the Gantt project planner and related templates.
- Excel Gantt charts suit small projects with fewer than 20 tasks. For dependencies, shared ownership and automatic alerts, use dedicated project management software.
What Is a Gantt Chart in Excel?
A Gantt chart is a horizontal bar chart that shows project tasks against a calendar. Each task gets one bar. The bar starts on the task start date, ends on the task end date, and its length shows how long the task takes. Read down the left side for the task list, read across the top for the dates, and you can see at a glance what is happening now, what is late, and what comes next.
A Gantt chart in Excel is the same idea built inside a spreadsheet. The task list lives in cells, the dates live in cells, and the chart draws the bars from those cells. Change a date and the bar moves. That is the whole appeal: your plan and your picture of the plan are the same file, and anyone with Excel can open it.
People use Excel Gantt charts for website launches, office moves, event planning, product releases, renovation work and study plans. If the project has a start date, an end date and a list of tasks in between, a Gantt chart fits it.
Does Excel Have a Gantt Chart?
No. Excel has no chart type called Gantt chart, and Microsoft says so plainly on its own support page: Though Excel doesn’t have a predefined Gantt chart type, you can create one using these free Gantt chart templates. That is the only honest starting point, and it shapes everything below.
You have three routes. The first is the stacked bar chart method, which turns an ordinary bar chart into a timeline by hiding the first series of bars. The second is the conditional formatting method, which colours cells in a date grid so the bars appear as filled cells. The third is a template, which does the setup for you. This guide covers all three, in that order, so you can pick the one that fits your project.
Gantt Chart Excel: The Two Methods at a Glance
| Method | Best for | Effort | Weakness |
|---|---|---|---|
| Stacked bar chart | A polished timeline to show a client or a manager | 15 to 20 minutes the first time | Fiddly axis settings, harder to edit later |
| Conditional formatting | A simple plan you update every week | 10 minutes, and easy to change | Looks plainer, no true chart object |
| Microsoft template | Starting fast with no setup | 2 minutes to open and fill in | Fixed layout, may not match your project |
If you only need a plan you can maintain, start with conditional formatting. If you need a timeline that looks professional in a meeting, build the stacked bar chart. If you need something today, open a template. The rest of this guide walks through each one.
How to Make a Gantt Chart in Excel: The Stacked Bar Method
This is the classic method, and it is the one most tutorials teach. You build a small data table, insert a stacked bar chart, then hide the first set of bars so only the task durations show. Follow the steps in order and the chart comes out right the first time.
Step 1: Build your data table
Open a blank workbook and set up four columns: Task, Start Date, End Date and Duration. Use real Excel dates, not text that looks like a date, or the chart will not work. Here is the worked example this guide uses, a small website redesign running through January and February 2027.
| Task | Start Date | End Date | Duration (days) |
|---|---|---|---|
| Content audit | 5 Jan 2027 | 9 Jan 2027 | 4 |
| Wireframes | 12 Jan 2027 | 20 Jan 2027 | 8 |
| Design mockups | 21 Jan 2027 | 2 Feb 2027 | 12 |
| Development | 3 Feb 2027 | 19 Feb 2027 | 16 |
| Content upload | 15 Feb 2027 | 23 Feb 2027 | 8 |
| Testing | 22 Feb 2027 | 26 Feb 2027 | 4 |
| Launch | 1 Mar 2027 | 1 Mar 2027 | 1 |
Add two optional columns if you want them: Owner, so everyone can see who does what, and Percent Complete, which you will use later for progress bars. Keep the table tidy. Every task gets one row, and the dates stay in date format.
Step 2: Calculate the duration
In the Duration column, enter a formula that subtracts the start date from the end date. If your start date is in B2 and your end date is in C2, the formula is =C2-B2. Fill it down the column. That gives the number of days each task spans.
Some people add 1 to count both end days, with =C2-B2+1. A task running 5 January to 9 January is then 5 days instead of 4. Either version works as long as you use the same one for every task. Pick one, stay consistent, and move on.
Step 3: Insert a stacked bar chart
Select the Start Date and Duration columns, including their headers. Go to the Insert tab, click Bar Chart, and choose Stacked Bar, the 2D stacked bar option. Excel draws a basic chart with two coloured segments for each task: one for the start date and one for the duration.
Do not worry that it looks wrong at this stage. The bars start at the left edge and run too far. The next steps fix that.
Step 4: Add the task names to the chart
Right-click the chart and choose Select Data. Under Horizontal Axis Labels, click Edit and select your Task column. The task names now appear down the left side of the chart, one per bar. Click OK to close the dialog.
Step 5: Hide the start-date bars
This is the step that turns a bar chart into a Gantt chart. Click on the start-date portion of any bar, the first coloured segment, so Excel selects that whole series. Right-click and choose Format Data Series. Set the Fill to No Fill and the Border to No Line. The start-date bars vanish, leaving only the duration bars floating at the right position on the timeline.
Step 6: Reverse the task order
By default Excel puts the first task at the bottom. To fix it, right-click the vertical axis with the task names and choose Format Axis. Under Axis Options, tick Categories in reverse order. Your first task now sits at the top, and the list reads in project order.
Step 7: Fix the date axis bounds
The chart still has empty space before the first bar, because the date axis starts at zero. Fix it with serial numbers. Excel stores every date as a number, and you can see that number by changing a date cell to General format. Note the serial number of your first start date, then right-click the horizontal date axis, choose Format Axis, and set the Minimum bound to that number. Set the Maximum bound to the serial number of your last end date plus a few days of breathing room. The bars now fill the chart properly.
Step 8: Style the chart
Now make it readable. Delete the legend, since the chart needs no key. Set the Gap Width to about 30 to 40 percent in Format Data Series so the bars are thick enough to read but not touching. Add vertical gridlines at weekly intervals so the eye can follow a bar to its date. Colour the bars by phase if it helps, for example blue for planning, green for build, orange for testing. Add data labels if you want the end dates printed on the bars.
Save the file. You now have a working Gantt chart in Excel, built from a table you can edit. Change a start date or a duration and the bar moves with it.
How Do I Add Milestones to a Gantt Chart in Excel?
A milestone is a task with no duration, a single date that marks something important: a launch, a sign-off, a delivery. In the worked example above, the Launch row has a duration of 1 day, which gives it a short bar. For a true milestone marker, use a diamond instead.
The simplest way is to add a milestone column to your table with the milestone dates, then add that column as a new chart series and change its chart type to a scatter plot with diamond markers. That takes a few extra clicks, and it is worth doing only if milestones matter to your audience.
The quicker way is to draw a shape. Go to Insert, then Shapes, pick the diamond, and place it on the chart at the right date. Add a text label next to it. It is manual, but for one or two milestones it is faster than building a scatter series, and it prints exactly where you put it.
How Do I Show Progress on a Gantt Chart in Excel?
A plain Gantt chart shows the plan. A progress Gantt chart shows the plan and how far along each task is. The clean way to do it is to split the Duration column into two columns: Days Complete and Days Remaining.
Days Complete equals Duration multiplied by Percent Complete. If a task lasts 10 days and is 50 percent complete, Days Complete is 5 and Days Remaining is 5. Add both columns to the chart as stacked series, colour Days Complete dark and Days Remaining light, and each bar now shows a dark completed section and a pale section still to do. Update the Percent Complete column each week and the chart tells the truth about the project.
Can I Make a Gantt Chart in Excel for Mac?
Yes. The steps are the same on Excel for Mac, with small differences in menu labels. Insert, then Charts, then Bar, then Stacked Bar. Format Data Series works the same way, and Categories in reverse order sits in the same Format Axis pane. The keyboard shortcuts differ, and some dialog boxes look slightly different, but no step is missing on the Mac version.
One warning: if you share the file with Windows users, check the chart once on Windows before you send it. Fonts and axis spacing can shift between versions, and a chart that looks perfect on a Mac can arrive with overlapping labels on a PC.
What Is the Easiest Way to Make a Gantt Chart in Excel?
The conditional formatting method is the easiest way, and for a simple plan it is the method we recommend. There is no chart object to fight with, and editing the plan is as simple as changing a date.
The conditional formatting method, step by step
- List your tasks down the left. One task per row, starting in column A.
- Put dates across the top. One date per column, starting in row 1, running from your project start date to your end date. Use one column per day for short projects, or one column per week for long ones.
- Write the start and end dates for each task. Put them in two helper columns next to the task name, or keep them in a separate table on the same sheet.
- Select the date grid. Highlight the whole block of date cells.
- Add a conditional formatting rule. Go to Home, then Conditional Formatting, then New Rule, then Use a formula to determine which cells to format. Enter a formula like =AND(C$1>=$B2, C$1<=$C2), where C$1 is the date at the top of the column and $B2 and $C2 are the task start and end dates. Pick a fill colour and click OK.
- Watch the bars appear. Every cell whose date falls inside a task date range fills with colour. The result is a Gantt chart made of cells.
This method has real advantages. It prints cleanly, it is easy to colour by owner or phase with extra rules, and anyone can update it without touching a chart. Its weakness is looks: it is a grid of coloured cells, not a smooth chart, and it does not suit a client presentation. For a team plan that changes weekly, that trade is worth making.
Is There a Free Gantt Chart Template for Excel?
Yes, and for many people a template is the right answer. Microsoft ships several free Gantt chart templates with Excel. In Excel for Microsoft 365 on Windows, open Excel, choose File, then New, and search for Gantt in the template search box. The results include the Gantt project planner, the Gantt project tracker, the Agile Gantt chart and the Simple Gantt chart. Pick the closest match, open it, and replace the sample tasks with your own.
You can also find templates on Microsoft Create, Microsoft’s template gallery, where you can search for project plan templates and download an Excel workbook. Availability varies by Excel version, account and region, so if a template does not appear in your copy of Excel, check Microsoft Create in a browser instead.
A word of caution from Microsoft’s own guidance: a template may be free or may come from a third party with its own terms, so check that any download is from Microsoft or another source you trust, and confirm it is an Excel workbook before opening it. The well-known Vertex42 Gantt chart template is a solid third-party option if Microsoft’s own templates do not fit.
Templates suit a one-off plan. If you build Gantt charts often, learn the stacked bar method once and reuse your own file. Your own template will match your projects better than any downloaded one.
When Should I Stop Using Excel for Project Schedules?
Excel Gantt charts work well for small projects, and the usual rule is fewer than 20 tasks with one person keeping the plan up to date. Past that point, the manual work grows faster than the project, and a dedicated tool earns its place.
Switch when you need any of these: automatic dependencies, where moving one task moves the tasks that depend on it; real-time collaboration, where several people edit the same plan; automatic alerts when a date slips; workload views that show who is overloaded; or a history of what changed and when. Excel does none of those without manual work or macros, and macros bring their own problems.
Our guide to the best project management tools compares the software that handles these jobs, including tools with free plans. Cloud-based productivity apps are the other option when the team needs to work on the plan together from different places. And if the goal is to automate the routine parts of a project, our guide to AI business process automation explains what can be handed to software and what still needs a person.
That said, do not rush to buy software for a ten-task plan. Excel is free if you already have it, everyone on the team can open the file, and a Gantt chart you built yourself is one you understand. Start in Excel, and move to a dedicated tool when the project outgrows it, not before.
Excel Gantt Chart Mistakes to Avoid
- Typing dates as text. If a date is text, the chart cannot place it. Enter real dates and check the cell format if a bar lands in the wrong place.
- Mixing duration formulas. Use =C2-B2 for every task, or =C2-B2+1 for every task. Mixing the two shifts some bars by a day.
- Forgetting to reverse the category order. Without it, the first task sits at the bottom and the chart reads backwards.
- Leaving the date axis bounds on automatic. The chart starts at zero and the bars shrink to a corner. Set the bounds to your project dates.
- Building a 60-task chart in Excel. It will be unreadable and unmaintainable. Split the project into phases, or move to project management software.
- Never updating the plan. A Gantt chart is a living document. Update the dates and the percent complete every week, or it becomes wall decoration.
Frequently Asked Questions
Does Excel have a Gantt chart?
No, Excel has no built-in Gantt chart type. Microsoft confirms this on its support page and points users to free Gantt chart templates instead. You can build one yourself with a stacked bar chart or with conditional formatting, following the steps in this guide.
How do I calculate duration in Excel?
Subtract the start date from the end date with a formula like =C2-B2, where C2 is the end date and B2 is the start date. Add 1, with =C2-B2+1, if you want to count both end days. Use the same formula for every task.
Can I make a Gantt chart in Excel for free?
Yes, if you already have Excel. Both methods in this guide use built-in Excel features, and Microsoft’s Gantt chart templates are free. You do not need an add-in or a paid tool to make one.
What is the difference between a Gantt chart and a timeline?
A timeline shows events in order along a line, usually one event per point. A Gantt chart shows tasks as bars with start dates, end dates and durations, so you can see overlaps, gaps and how long each task takes. A timeline answers when did it happen, a Gantt chart answers what is happening, for how long, and what overlaps.
How do I add a today line to a Gantt chart in Excel?
Add a column with today’s date, using =TODAY(), then add that column as a new chart series and change its chart type to a scatter plot with a vertical line, or simply draw a vertical line shape on the chart and move it each day. The shape is quicker for a chart you print; the scatter series updates itself.
Is Excel or Google Sheets better for Gantt charts?
Excel has the stronger charting tools and the better templates, and the stacked bar method works more smoothly there. Google Sheets suits a plan that several people edit at once, since sharing and real-time editing are built in, but its Gantt chart options are more limited. Pick Excel for presentation, Sheets for collaboration.
At Digital Discoverist, we test software the way people actually use it, and the Excel Gantt chart is a good example of that: a simple tool, used well, beats an expensive tool used badly. For the full method in Microsoft’s own words, see Microsoft’s guide to presenting data in a Gantt chart in Excel, and for a second worked example, see the Smartsheet guide to making a Gantt chart in Excel.
3 thoughts on “How to Make a Gantt Chart in Excel in 2027: A Step-by-Step Guide”