Guide · 2026-12-05

How to Build a Gantt Chart in Excel From Scratch: 7 Steps

Building a Gantt chart in Excel can take longer than expected, especially when dates, task names, and bar positions refuse to line up. A cluttered chart can also make a simple schedule harder to understand than a task list.

But here's the truth: Excel can create a clear project timeline with a stacked bar chart and a few formatting changes. You don’t need a specialized template to get started. I’ll walk you through seven steps, from arranging task dates to adjusting the chart’s appearance. You’ll also learn how to handle common snags, such as tasks appearing in the wrong order or bars shifting when dates change. By the end, you’ll have a practical Gantt chart you can update as your project moves forward.

Build a Gantt Chart in Excel in 7 Steps

A Gantt chart in Excel uses a stacked bar chart to show when each task starts and how long it lasts. The first bar series sets each task’s position on the timeline; the second shows its duration.

Here’s why: Excel doesn’t include a dedicated Gantt chart type, so you create the effect by hiding the start-date series. Follow these steps using a blank worksheet.

1. Create a task schedule

Set up four columns: Task, Start Date, End Date, and Duration. Add one task per row, with real Excel dates in the date columns.

For example, a website project might include “Write copy,” “Design homepage,” and “Build pages.” Add each task’s planned start and finish dates.

2. Calculate each task’s duration

In the first Duration cell, enter =C2-B2+1 if column B contains the start date and column C contains the end date. The extra day counts both the first and last date.

Copy the formula down the column. If you prefer elapsed days that exclude the start date, remove +1. Choose one convention and use it consistently.

3. Insert a stacked bar chart

Select the task names, start dates, and durations. If the columns aren’t next to one another, select the first range, then hold Ctrl on Windows or Command on Mac while selecting the other ranges.

Choose Insert, then Bar Chart, then Stacked Bar. Excel creates two series: one for the start dates and another for task duration.

4. Hide the start-date bars

Click a start-date bar in the chart. Open Format Data Series, then set Fill to No Fill and Border to No Line.

The start-date series still positions each task along the timeline, but its bars become invisible. The visible duration bars now appear to begin on their actual start dates.

5. Put the first task at the top

Click the vertical task axis and open Format Axis. Turn on Categories in reverse order so the first task appears at the top of the chart.

Excel may move the date axis to the top when you reverse categories. If that happens, set the horizontal axis to cross at the maximum category.

6. Set the timeline range

Click the horizontal date axis and open Format Axis. Adjust the minimum and maximum bounds to cover your project, then choose a major unit that keeps the dates readable.

For a short project, weekly intervals may work well. For a longer plan, monthly intervals can reduce clutter. If Excel shows unexpected serial numbers, change the axis number format to a date style.

7. Add labels and check the schedule

Give the chart a clear title, such as “Website Launch Schedule.” Add data labels only if they improve readability; crowded labels can make task bars harder to scan.

Compare every bar with its task dates. Change one start date in the worksheet and confirm that the corresponding bar moves. That quick test helps catch a chart linked to the wrong cells.

Prepare Dates and Tasks Before You Chart Them

A chart is only as useful as the schedule behind it. Give every task a clear name, a start date, and an end date before you insert the chart.

Let me explain: “Prepare launch” is hard to track, while “Approve launch email” gives the team a specific result. For a small product launch, you might list “Draft email,” “Review email,” and “Schedule email” as separate tasks.

Use actual date values rather than typed labels that merely look like dates. If Excel treats a date as text, the chart may sort it incorrectly or skip it.

Make the Timeline Easier to Read

Keep the chart focused on the work people need to follow. Use a readable date scale, concise task names, and a limited set of bar colors.

For example, a two-week campaign plan may need daily intervals, while a six-month rollout may be clearer with monthly intervals. A color can highlight a workstream, but too many colors create a legend people must constantly decode.

The best part? You can format duration bars by selecting a series or individual bars. That lets you highlight a critical task without changing the entire chart.

Keep the Schedule Current as Work Changes

When a task moves, update its start or end date in the worksheet. The chart should recalculate its position or length if the series still points to the correct cells.

For instance, if a review takes two extra days, change its end date. Then check whether later tasks should also move, especially when one task depends on another.

Excel charts show dates and durations, but they don’t automatically enforce project dependencies. Add a separate predecessor column if your team needs to track which tasks must finish first.

Know When an Excel Gantt Chart Is Enough

Excel works well for a straightforward plan that one person or a small team updates occasionally. A short event plan with ten tasks can be easy to maintain in a single worksheet.

As schedules grow, keeping task owners, dependencies, approvals, and progress aligned can take more effort. If several people make changes, agree on who updates the schedule and how often.

You might be wondering: when should you move beyond a chart? Consider a project management platform when you need shared task ownership, custom workflows, reporting, or updates across multiple teams.

ONES.com for Project Work That Outgrows a Chart

ONES.com brings project management and knowledge management into one platform, powered by ONES Assistant. ONES Project handles project work, while ONES Wiki provides a knowledge base; the products are sold separately.

ONES.com product screenshot

An Excel Gantt chart can make dates visible. When planning also requires ownership, repeatable workflows, and shared project knowledge, a project platform can support more of the day-to-day process.

Core capabilities

Application scenarios

A product team coordinating a release can manage sprint work in ONES Project, use custom fields for release details, and review progress through built-in reporting. The schedule becomes part of a broader project workflow.

A team working in a restricted network can consider an Air-gapped deployment. Its project and knowledge workflows can be managed in an environment suited to that deployment requirement.

A team that already relies on Jira-compatible workflows can evaluate ONES Project as a Jira alternative. It may help reduce dependence on plugins when the needed capabilities are available natively.

Common Challenges When Building a Gantt Chart

Bars start at the wrong dates

Problem: The duration bars begin at the same point, even though tasks have different start dates.

Solution: Confirm that the start-date series is included in the stacked bar chart. Hide its fill and border only after verifying that the series uses the correct date cells.

Tasks appear in reverse order

Problem: The first task appears at the bottom, making the chart harder to scan.

Solution: Turn on Categories in reverse order in the vertical axis settings. Check the horizontal axis afterward, since Excel may reposition it.

Dates display as numbers

Problem: The timeline shows numbers instead of calendar dates.

Solution: Change the horizontal axis number format to a date format. Also confirm that the start and end entries are recognized as dates in Excel.

Changing one date disrupts the chart

Problem: A bar disappears or moves unexpectedly after an update.

Solution: Review the chart’s series ranges and confirm that the duration formula uses the correct start and end cells. Keep the schedule range consistent as you add tasks.

Frequently Asked Questions

Can Excel create a Gantt chart automatically?

Excel doesn’t provide a dedicated Gantt chart type in its standard chart options. You can create the same visual effect with a stacked bar chart by using start dates as an invisible series and durations as visible bars. This approach gives you control over the timeline, though you’ll need to format and maintain the chart yourself.

Should duration include the start date?

That depends on how you want to count days. The formula =EndDate-StartDate+1 counts both the start and end dates, so a task running Monday through Wednesday lasts three calendar days. Without the extra one, the result represents elapsed days between the dates. Pick the convention that suits your schedule.

How do I show task dependencies in Excel?

Add a predecessor column to identify the task that must finish before another begins. The Gantt chart itself won’t enforce that relationship, so you’ll need to adjust dates when a predecessor changes. For a small plan, a clearly labeled column may be enough. A complex schedule can require more structured project management.

Can I use working days instead of calendar days?

You can calculate working-day durations with a formula such as =NETWORKDAYS(B2,C2), which excludes weekends by default. However, a standard date-axis chart still spans calendar dates, including weekends. That means the bar’s visual length may not match the working-day count exactly. Decide whether your chart should communicate calendar time or working effort.

Conclusion

You can build a useful Excel Gantt chart by preparing task dates, calculating durations, inserting a stacked bar chart, and hiding the start-date series. Reversing the task order and setting a sensible date range make the result easier to read.

When schedules change, update the dates and check the chart’s series ranges. Excel is a practical choice for a simple timeline; when coordinating work needs more structure, ONES.com offers project and knowledge management options to explore.