How to Set Up a Gantt Chart in Excel: 7 Easy Steps (2026)
Project schedules can become confusing when tasks overlap, deadlines move, and nobody can quickly see what happens next. A plain list of activities may show names and dates, yet it rarely reveals timing at a glance. That confusion grows when you manage milestones, dependencies, and several people in one plan.
Here’s the frustrating part: you may spend more time formatting a schedule than reviewing the work itself. A small date change can also force you to adjust multiple visual elements by hand.
The good news is that Excel can create a practical Gantt chart with a stacked bar chart and a few formatting changes. In this guide, I’ll show you how to set up a Gantt chart in Excel in seven clear steps, explain common mistakes, and introduce a more scalable option for larger teams.
How to Set Up a Gantt Chart in Excel
A Gantt chart in Excel uses a stacked bar chart to display each task’s start date, duration, and position across a timeline. You can create one by organizing task details, calculating durations, inserting a bar chart, and formatting the result.
Step 1: Create the Project Schedule
Start with a blank Excel worksheet. Create four columns with these headings:
- Task
- Start Date
- End Date
- Duration
Enter one task per row. For example, a website redesign might include research, wireframes, visual design, development, testing, and launch.
| Task | Start Date | End Date | Duration |
|---|---|---|---|
| Research | January 5, 2026 | January 9, 2026 | 5 |
| Wireframes | January 8, 2026 | January 16, 2026 | 9 |
| Visual design | January 19, 2026 | January 30, 2026 | 12 |
Use real Excel date values rather than typing dates as plain text. Excel needs recognizable dates to position bars correctly along the calendar.
Keep task names short enough to read beside the chart. If a task needs extra context, add a separate Notes column instead of placing long explanations in the task label.
Step 2: Calculate Each Task’s Duration
Duration tells Excel how many calendar days each task occupies. In the first Duration cell, subtract the start date from the end date and add one day:
=C2-B2+1
In this example, column B contains the start date and column C contains the end date. The formula includes both the first and last day.
For example, a task running from January 5 through January 9 lasts five calendar days. Without the +1, Excel returns four days.
Copy the formula down the Duration column. Then change the cell format to Number if Excel displays the result as a date.
If your schedule should count working days only, use:
=NETWORKDAYS(B2,C2)
You can also exclude holidays with:
=NETWORKDAYS(B2,C2,Holidays)
Replace Holidays with the range containing your excluded dates. Choose the calendar-day formula for general planning and the workday formula for team capacity planning.
Step 3: Insert a Stacked Bar Chart
Excel does not include a dedicated Gantt chart button in every version. Instead, you build the visual with a stacked bar chart.
- Select the Start Date and Duration columns, including their headings.
- Open the Insert tab.
- Choose Bar Chart.
- Select Stacked Bar.
Excel will create two series. The first series represents the time before each task begins. The second series represents the task’s duration.
At this stage, the chart may look like a collection of floating bars. That is expected. The next step hides the first series so the remaining bars appear to begin at their correct dates.
Step 4: Add Task Names to the Vertical Axis
If Excel does not automatically show task names, add them manually:
- Right-click the chart and select Select Data.
- Choose the category labels for the vertical axis.
- Select the cells containing your task names.
- Confirm the selection.
The task names should now appear along the left side of the chart. If they appear in the wrong order, right-click the vertical axis and choose Format Axis.
Enable Categories in reverse order. This places the first task at the top, which usually matches how people read a project schedule.
For example, “Research” should generally appear above “Launch” when the schedule progresses from early work to later work.
Step 5: Hide the Start Date Series
The Start Date series positions each task along the horizontal timeline. It should remain in the chart, but it should become invisible.
- Click one of the bars representing the Start Date series.
- Open Format Data Series.
- Choose Fill and Line.
- Set Fill to No Fill.
- Set Border to No Line.
The visible bars should now show each task’s duration in the correct calendar position. The blank space before each bar still exists, but the hidden series makes it invisible.
Think of the hidden series as a spacer. It pushes each task to its start date while allowing the duration bar to remain visible.
Step 6: Adjust the Timeline and Bar Spacing
The horizontal axis may display large serial numbers because Excel stores dates as sequential values. Format the axis so it reads like a calendar.
- Right-click the horizontal axis.
- Select Format Axis.
- Set the number format to a date format such as
mmm d. - Adjust the minimum and maximum bounds if needed.
- Set the major unit to a useful interval, such as seven days.
A weekly interval works well for a one- to three-month project. A daily interval may suit a short launch plan, while a monthly interval fits a longer program.
You can also reduce the gap between bars:
- Right-click any visible duration bar.
- Select Format Data Series.
- Lower the Gap Width percentage.
A lower gap width creates thicker bars. This makes the schedule easier to scan, especially when the chart contains many tasks.
Step 7: Add Milestones, Progress, and Finishing Details
Review the chart before sharing it. Make sure every task has a clear name, valid dates, and a duration that matches the intended schedule.
For milestones, create a task with the same start and end date. Excel may display it as a very thin bar. You can highlight it with a contrasting color or add a label beside it.
You can show progress by adding a Progress column and using a second series. For instance, a task with a duration of ten days and 60% completion could display a darker bar over 60% of its planned length.
Keep the design restrained. Use one color for regular tasks, one accent for milestones, and a separate color for delayed work. Too many colors make the chart harder to interpret.
Add a clear title, remove unnecessary chart elements, and check the print area. A chart that looks clear on your screen may become unreadable when printed or exported.
How the Excel Gantt Chart Works
The chart combines two values for every task: the number representing when work begins and the number representing how long it lasts. The start value creates horizontal spacing, while the duration value creates the colored bar.
Excel stores calendar dates as serial numbers. That means January 5, 2026 has a numeric position on the timeline, allowing the stacked bar chart to place it after January 4 and before January 6.
Here’s why this matters: the chart remains connected to your schedule cells. Change a start date, and the bar moves. Change an end date, and the bar grows or shrinks after the duration formula recalculates.
For example, moving “Visual design” from January 19 to January 21 shifts its bar two days to the right. Extending the end date from January 30 to February 3 lengthens the bar automatically.
How to Make an Excel Gantt Chart Easier to Maintain
A simple chart works well for a small project. Maintenance becomes harder when you add dozens of tasks, shifting deadlines, weekends, dependencies, and multiple workstreams.
Use Consistent Date Rules
Decide whether your plan uses calendar days or business days. Mixing both methods can produce misleading durations.
For example, a task that runs from Friday through Monday covers four calendar days but only two standard working days. Choose the measure that matches how your team actually plans work.
Separate Planning Details from the Visual
Keep owner names, status labels, priority, risks, and notes in separate columns. The chart should show timing clearly without becoming a crowded dashboard.
You might use these additional columns:
- Owner
- Status
- Priority
- Completion percentage
- Dependency
- Notes
Use filters and conditional formatting in the schedule area, while keeping the chart focused on dates and duration.
Use Conditional Formatting for Delays
A delayed task can be easy to miss when every bar has the same color. Add a status column with labels such as On track, At risk, and Delayed.
Apply conditional formatting to the status cells. You can then use a matching color in the chart when manual updates are practical.
For instance, an at-risk design task could appear amber, while a late testing task could appear red. This turns the chart into a review tool rather than a static calendar.
Protect Formula Cells
Accidentally replacing a duration formula can distort the schedule. Protect the formula column after you verify that the calculations work.
You can leave start dates, end dates, status, and owner fields editable while restricting changes to formulas. This reduces accidental edits during weekly updates.
Common Excel Gantt Chart Problems
The Bars Start at the Wrong Dates
This usually happens when Excel treats the dates as text. Select the date cells and apply a date format. If the values remain aligned to the left or fail to change, convert them into real Excel dates.
You can test a date by changing its format to General. A genuine Excel date displays a serial number, while plain text remains a date-looking phrase.
The Tasks Appear in Reverse Order
Excel often places the first category at the bottom of a bar chart. Right-click the vertical axis and enable Categories in reverse order.
This small adjustment makes the visual follow the same top-to-bottom order as your schedule.
The Timeline Shows Numbers Instead of Dates
The axis is probably using Excel’s underlying serial values. Open Format Axis, select Number, and choose a date format such as mmm-yy or d-mmm.
Use shorter formats when the chart covers several months. Long date labels can overlap and reduce readability.
The Chart Becomes Too Crowded
Reduce the number of visible fields and shorten task labels. You can also split a large plan into separate charts for design, development, marketing, or operations.
A weekly review chart may show only active work and upcoming milestones. A full planning view can retain every task for deeper analysis.
Weekend Scheduling Creates Confusion
If your team works Monday through Friday, use NETWORKDAYS or exclude weekends through a custom calendar. Otherwise, a task may appear longer than the time your team can actually spend on it.
For example, a five-calendar-day task spanning Saturday through Wednesday may represent only three standard workdays.
When an Excel Gantt Chart Stops Being Enough
Excel is useful for a small project, a personal plan, or a simple presentation. It becomes less comfortable when many people update the schedule at once.
Consider a product launch with 85 tasks, six owners, four dependencies, and weekly scope changes. Each adjustment may require formula checks, chart formatting, and manual communication.
That creates a cause-and-effect problem: more manual maintenance leads to more opportunities for inconsistent dates, missed updates, and unclear ownership.
You might be wondering: when should you move to a project management platform? A practical signal is repeated manual work. If you spend each review meeting repairing the schedule, a dedicated system may save more time than another formatting technique.
Project Planning Solution: ONES.com
ONES.com combines project management and knowledge management in one platform, with AI support through ONES Assistant. ONES Project is the project management product and can serve as a Jira alternative, while ONES Wiki is the knowledge management product and can serve as a Confluence alternative. They are sold separately.

Value Proposition
For teams that have outgrown manually maintained schedules, ONES Project provides structured planning, sprint management, workflows, reporting, and automation in a central workspace.
It can be deployed in the Cloud, On-Premise, Private Cloud, or an air-gapped environment. The self-hosted version maintains feature parity with the cloud version.
Core Capabilities
- Scattered schedules: ONES Project brings tasks, owners, dates, and statuses into one project workspace, giving your team a shared view of progress.
- Manual task sequencing: Custom workflows help teams define stages, approvals, and transitions, reducing repeated schedule adjustments.
- Limited sprint visibility: Sprint management supports planning, active work review, backlog handling, and iteration tracking.
- Plugin-heavy reporting: Built-in reporting provides project insights without requiring a separate reporting layer for common views.
- Rigid task fields: Custom fields let you capture product area, risk level, release version, work type, or any other planning detail.
- Repeated administrative work: Automation can trigger routine actions when tasks change status, reach a deadline, or meet defined conditions.
- Jira migration concerns: Jira-compatible workflows can help teams preserve familiar delivery patterns while evaluating a Jira alternative.
- Security restrictions: On-Premise, Private Cloud, and air-gapped deployments support teams with strict infrastructure or network requirements.
- Separate project knowledge: ONES Wiki can provide a connected knowledge space for procedures, decisions, and team guidance when purchased separately.
ONES.com offers a free plan for up to 30 seats. That gives a small team room to evaluate the workflow before committing to a larger rollout.
Application Scenarios
Software delivery: A development team can manage backlog items, sprint work, defects, releases, and custom approval stages in ONES Project. Reporting helps a product lead review progress without rebuilding a chart each week.
Restricted environments: An engineering organization with strict network controls can use an air-gapped deployment. The team retains project management capabilities while keeping the platform within its required environment.
Cross-functional launches: Marketing, design, product, and engineering teams can coordinate milestones through shared workflows. ONES Wiki can hold launch guidance separately when a connected knowledge platform is needed.
Common Challenges and Practical Solutions
Challenge: Dates Keep Changing
Solution: Keep a single schedule owner and define a regular update routine. In a platform such as ONES Project, assign task ownership and use status transitions so changes remain visible.
Challenge: People Cannot See Dependencies
Solution: Record which activity must happen before another. For example, development may depend on approved visual designs. Review these relationships before moving a deadline.
Challenge: The Chart Contains Too Much Detail
Solution: Create separate views for executives, project leads, and contributors. A leadership view may show milestones, while a delivery view includes individual tasks and owners.
Challenge: Updates Happen in Several Places
Solution: Choose one planning location as the working record. If you keep an Excel chart for presentation, establish when it is refreshed and who verifies it.
Challenge: Sensitive Work Cannot Use a Public Cloud
Solution: Review deployment requirements before selecting a platform. ONES.com supports On-Premise, Private Cloud, and air-gapped deployments for teams with restricted infrastructure needs.
FAQs
Can I create a Gantt chart in Excel without a template?
Yes. You can build one manually with a task list, start dates, end dates, duration formulas, and a stacked bar chart. Hide the Start Date series, format the horizontal axis as dates, and reverse the task order if needed. Templates can save time, but understanding the underlying setup makes it easier to troubleshoot and customize the chart.
What formula calculates task duration in Excel?
For calendar days, use =EndDate-StartDate+1. If the start date is in B2 and the end date is in C2, use =C2-B2+1. For working days from Monday through Friday, use =NETWORKDAYS(B2,C2). You can add a holiday range to exclude public holidays and planned closures.
Why does my Excel Gantt chart show numbers on the timeline?
Excel stores dates as serial numbers, and the chart may display those underlying values. Right-click the horizontal axis, open Format Axis, select Number, and choose a date format. Formats such as mmm d or d-mmm usually make the timeline easier to read.
How can I show milestones in an Excel schedule?
Create a milestone row with the same start and end date. Its duration will equal one day, producing a thin bar. You can apply a different color, add a label, or use a marker to make it stand out. Keep milestone names specific, such as “Design approval” or “Production release,” so the event has clear meaning.
When should I replace Excel with project management software?
Consider a dedicated platform when multiple people update the schedule, dependencies are difficult to track, reporting takes regular manual work, or stakeholders need different views. Excel can remain useful for small plans and quick presentations. A project platform becomes more valuable when coordination, history, permissions, automation, and repeatable workflows matter.
Conclusion
You can build a useful Excel Gantt chart in seven steps: create the schedule, calculate durations, insert a stacked bar chart, add task labels, hide the start-date series, format the timeline, and refine the design.
The technique works well for small projects and straightforward planning. Use consistent date rules, protect formulas, highlight milestones, and keep the chart focused on timing.
But here’s the truth: a manual chart becomes harder to manage as tasks, owners, dependencies, and updates increase. When schedule maintenance starts consuming your review time, structured project management can provide a clearer path.
Excel gives you a practical starting point. For larger or more controlled workflows, ONES Project can help you manage work through custom workflows, reporting, sprint planning, automation, and flexible deployment options.