How to Make a Gantt Chart in Excel Online: 7 Easy Steps
Project timelines can become confusing fast. Tasks overlap, deadlines shift, and a simple list rarely shows what needs attention first.
That confusion gets worse when you need to share progress with teammates. A crowded calendar may hide dependencies, while manually coloring cells takes time and becomes difficult to maintain.
But here's the truth: you can create a useful Gantt chart in Excel Online with a task list, start dates, durations, and a stacked bar chart. Follow the seven steps below, and you can build a practical timeline without specialized project software.
How to Make a Gantt Chart in Excel Online in 7 Steps
A Gantt chart in Excel Online uses a stacked bar chart. The first series creates invisible spacing before each task begins, while the second series displays the task duration.
-
Create the task schedule. Open Excel Online and create columns for task names, start dates, end dates, and duration.
-
Calculate task duration. Subtract each start date from its end date with a formula such as
=C2-B2+1. -
Add an offset column. Calculate how many days pass between the project start date and each task’s start date.
-
Insert a stacked bar chart. Select the task names, offset values, and duration values, then choose a stacked bar chart.
-
Hide the offset series. Remove the fill and border from the offset bars so only the task durations remain visible.
-
Format the chart. Reverse the task order, adjust the date axis, choose readable colors, and reduce unnecessary chart elements.
-
Review and share the timeline. Check dates, overlapping work, and long tasks before sharing the workbook with your team.
Step 1: Build a clear task schedule
Start with a simple worksheet containing one row per task. Keep the first version focused on the information needed to position work on a timeline.
| Task | Start Date | End Date | Duration | Offset |
|---|---|---|---|---|
| Plan content | 06/03/2025 | 06/05/2025 | 3 | 0 |
| Write draft | 06/06/2025 | 06/12/2025 | 7 | 3 |
| Review draft | 06/13/2025 | 06/16/2025 | 4 | 10 |
Place the earliest project date in the first row. This makes the offset calculation easier and gives the chart a consistent starting point.
Use real calendar dates rather than typing labels such as “Monday” or “Week 2.” Excel Online needs date values to position tasks accurately.
Step 2: Calculate the duration for every task
In the Duration column, subtract the start date from the end date. Add one if the task includes both its first and last day.
For example, if the start date is in column B and the end date is in column C, enter this formula in the first duration cell:
=C2-B2+1
Copy the formula down the column. A task running from June 3 through June 5 lasts three calendar days, not two.
If your team measures working days only, use a working-day formula instead:
=NETWORKDAYS(B2,C2)
This approach excludes weekends. You can also add a holiday range when your schedule includes public holidays or planned closures.
Step 3: Calculate the offset before each task begins
The offset tells Excel how far each task sits from the project’s first day. Without it, every bar begins at the chart’s left edge.
If the earliest project date is in B2, enter this formula in the first Offset cell:
=B2-$B$2
The dollar signs keep the first project date fixed when you copy the formula downward. A task starting on the project’s first day has an offset of zero.
For example, a task beginning three days later receives an offset of three. Its visible duration bar then starts three days after the chart’s zero point.
Step 4: Insert the stacked bar chart
Select the Task, Offset, and Duration columns. Then choose Insert, select Chart, and change the chart type to Stacked Bar.
Excel Online may place task names on the vertical axis and numeric values on the horizontal axis. That is the correct starting structure.
If the chart shows dates or task labels incorrectly, check the selected range. The task column should provide category labels, while Offset and Duration should provide the two numeric series.
Here's why: a stacked bar chart places the duration series directly after the offset series. Removing the visual appearance of the offset makes the duration look like a task bar positioned on a calendar.
Step 5: Make the offset bars invisible
Click one of the offset bars and open the formatting options. Set its fill to No fill and its border to No line.
The offset values still control each task’s position, but they no longer appear on the finished chart. The remaining colored bars represent the actual work periods.
If selecting the offset series is difficult, click the chart, open the series list, and choose the series associated with the Offset column.
The result should resemble a timeline rather than two visible bars for every task.
Step 6: Format the timeline for readability
Excel often lists the first task at the bottom of a bar chart. Reverse the category order so the first task appears at the top.
Open the vertical axis settings and select the option that reverses category order. You may also need to move the horizontal axis to the top of the chart.
Next, adjust the horizontal axis. Set its minimum value close to zero and choose a major unit that matches your project length. A weekly unit works well for a two-month plan, while a daily unit suits a short launch.
Use one strong color for active work. If you need more detail, use a second color for milestones or urgent tasks. Avoid assigning a different color to every row because the chart becomes harder to scan.
Step 7: Review the finished chart
Compare the chart with the task schedule before sharing it. Check whether each bar begins and ends on the intended dates.
Look for tasks that overlap unexpectedly. For example, if design review begins before the design task ends, confirm whether that overlap reflects real parallel work.
Also inspect very long bars. A task lasting 20 days may need smaller stages, such as planning, production, review, and approval.
The best part? Once the formulas and chart are connected, changing a start date or end date can update the timeline automatically.
How the Excel Online Gantt Chart Works
A Gantt chart combines task names with time-based bars. Each bar shows when work begins, how long it continues, and where it sits in relation to other activities.
Excel Online does not provide a dedicated Gantt chart button in the same way some project platforms do. The stacked bar method creates the same visual effect with standard chart features.
The three values behind the chart
Task name identifies the work. Examples include “Approve campaign,” “Prepare materials,” and “Test checkout.”
Offset positions the task from the project start. It is invisible in the final view but essential to the chart’s structure.
Duration controls the length of the visible bar. A value of five produces a bar that spans five calendar days or five working days, depending on your formula.
Why the chart uses stacked bars
A regular bar chart starts every bar at the same position. That makes it unsuitable for showing different start dates.
A stacked bar chart places one value before another. The invisible offset pushes the visible duration into the correct calendar position.
Think of the offset as empty space before a task begins. The duration is the colored block that follows it.
Practical Examples for Different Project Types
The same technique works for many projects, although the level of detail should match the work. A small event may need ten tasks, while a product launch may need several task groups.
Example: Website launch
A website launch might include planning, page design, content creation, development, testing, and approval.
Content creation and development may overlap. Testing should begin after a working version exists. These relationships become easier to discuss when the activities appear on one horizontal timeline.
Example: Marketing campaign
A campaign chart could show audience research, creative production, internal review, publishing, and performance monitoring.
Monitoring may continue for several weeks after launch. Displaying it as a longer bar reminds the team that campaign work continues beyond publication day.
Example: Team onboarding
An onboarding timeline might include account setup, orientation, training, practice work, and a manager check-in.
Some tasks can happen on the same day. The chart makes those parallel activities visible without requiring a separate calendar view.
How to Improve Accuracy and Readability
A technically correct chart can still be difficult to use. Small formatting choices determine whether someone can understand the plan in a few seconds.
Use consistent date conventions
Choose one date format and apply it across the worksheet. Mixing month-first and day-first formats can create serious scheduling mistakes.
For a team working across regions, use a format such as 2025-06-03. It is easier to interpret than a short numeric format.
Break large tasks into useful stages
A bar lasting several weeks may hide important checkpoints. Divide it when different people own different outcomes.
For example, replace “Launch website” with “Approve design,” “Build pages,” “Complete testing,” and “Publish site.” Each stage gives you a clearer progress signal.
Separate milestones from tasks
A milestone has no meaningful duration. Examples include approval received, contract signed, or product released.
You can represent a milestone with a one-day duration or add a separate marker. Keep the method consistent so the chart remains understandable.
Keep the visible chart focused
Remove decorative elements that do not help decision-making. A clear title, readable task labels, useful dates, and a simple legend are usually enough.
If the chart becomes too wide, group tasks by phase or create separate views for planning, production, and delivery.
Excel Online Limitations to Consider
Excel Online works well for a lightweight timeline, especially when one person maintains the schedule. It becomes less convenient when the plan requires dependencies, approvals, workload balancing, or detailed progress reporting.
For example, changing one task may require you to review several related rows manually. The chart shows timing, but it does not automatically explain which activity should move next.
Collaboration can also become difficult when several people edit dates at once. Clear ownership and a simple change routine reduce that risk.
You might be wondering: when should you move beyond a worksheet chart? Consider another approach when your project has frequent date changes, many dependencies, multiple teams, or regular status reporting.
Project Timeline Solution: ONES.com

Value Proposition
ONES.com combines project management and knowledge management in one platform. ONES Project provides project planning capabilities, while ONES Wiki supports shared knowledge and team guidance; they are sold separately.
It can suit teams that have outgrown manually maintained timelines and need a Jira alternative with native project workflows, reporting, and deployment flexibility.
Core Capabilities
1. Manual timeline updates become easier to manage
Pain: Changing dates in a worksheet can require repeated formula checks and chart adjustments.
ONES capability: ONES Project connects tasks, schedules, sprints, and project views within a structured workspace.
Result: Your team can manage changing work in one environment instead of rebuilding a visual timeline after every major adjustment.
2. Dependencies are difficult to track visually
Pain: A bar chart may show overlap without explaining which task blocks another.
ONES capability: Jira-compatible workflows and structured task relationships help teams manage work progression more consistently.
Result: Team members can see the work context behind a date rather than relying only on colored bars.
3. Custom processes do not fit a basic chart
Pain: Approval-heavy projects often need states such as draft, review, revision, and approved.
ONES capability: Custom workflows and custom fields let teams reflect their own process.
Result: The project view can capture operational details that a simple Excel chart usually leaves outside the timeline.
4. Progress reporting takes manual effort
Pain: A chart shows planned timing, but preparing status summaries can require separate calculations.
ONES capability: Built-in reporting provides project visibility without requiring every update to be assembled manually.
Result: Managers can review progress, risks, and delivery status more consistently.
5. Repetitive work consumes planning time
Pain: Recurring actions such as reminders, status changes, and routine assignments are easy to overlook.
ONES capability: Automation supports repeatable project actions.
Result: The team spends less time maintaining routine steps and more time completing planned work.
6. Sprint-based work needs more than calendar bars
Pain: A Gantt chart can show dates, but agile teams also need sprint planning and backlog coordination.
ONES capability: ONES Project includes sprint management alongside broader project planning.
Result: Teams can combine iterative delivery with milestone-oriented planning.
7. Plugin-heavy setups create maintenance overhead
Pain: Adding several extensions to cover planning, reporting, and workflow needs can increase administration.
ONES capability: Core project capabilities are available natively, including workflows, fields, reporting, automation, and sprints.
Result: Teams may reduce dependence on multiple add-ons while keeping their process visible in one platform.
8. Deployment requirements vary across teams
Pain: Some organizations cannot place project information in a standard cloud environment.
ONES capability: ONES.com supports Cloud, On-Premise, Private Cloud, and Air-gapped deployments, with feature parity between cloud and self-hosted versions.
Result: Teams can choose an environment that fits their security and infrastructure requirements.
Application Scenarios
Software release planning: A development team can combine sprint work, release milestones, testing stages, and approval workflows. Reporting gives managers a clearer view than a manually colored timeline.
Marketing campaign delivery: A marketing team can coordinate creative production, review cycles, publishing, and post-launch activities. Custom fields can capture campaign owner, channel, or approval status.
Restricted-network project management: A team with strict network controls can use an On-Premise or Air-gapped deployment while maintaining project workflows and reporting capabilities.
Common Challenges and Practical Fixes
Challenge: The bars show the wrong dates
Cause: Excel may treat dates as text instead of date values.
Fix: Re-enter the dates using a consistent format, apply date formatting, and test the subtraction formula. A valid date should produce a numeric duration.
Challenge: The first task appears at the bottom
Cause: Bar charts commonly reverse category order.
Fix: Reverse the vertical category axis so the schedule reads from the first task at the top to the last task at the bottom.
Challenge: The chart becomes too crowded
Cause: Too many tasks or labels are visible at the same time.
Fix: Group minor activities, split the plan into phases, or create separate charts for different workstreams.
Challenge: Weekend work creates confusion
Cause: Calendar-day formulas include weekends by default.
Fix: Use NETWORKDAYS when the project follows a Monday-to-Friday schedule. Decide how holidays should be treated before building the chart.
Challenge: The chart becomes outdated
Cause: People change dates without a regular review routine.
Fix: Assign one timeline owner and schedule a short review at least once per week. Record major changes in a notes column so the team understands why dates moved.
FAQs
Can I create a Gantt chart in Excel Online without a template?
Yes. You can build one manually with task names, start dates, end dates, duration formulas, offset formulas, and a stacked bar chart. Templates can save time, but the manual method gives you more control over formulas, labels, colors, and project structure.
What formula calculates task duration?
For calendar days, subtract the start date from the end date and add one: =C2-B2+1. For weekdays, use =NETWORKDAYS(B2,C2). The correct formula depends on whether weekends count as planned workdays.
Why do I need an offset column?
The offset column pushes each visible duration bar to the correct starting position. It records the number of days between the overall project start and the individual task start. You hide the offset visually after inserting the stacked bar chart.
Can Excel Online show task dependencies?
It can show timing patterns, but a standard chart does not automatically manage dependencies. You can add a predecessor column and review relationships manually. For complex dependency chains, a project management platform may provide clearer controls and automatic updates.
How often should I update the timeline?
Update it whenever a key date changes, a task finishes, or a dependency shifts. For active projects, a weekly review is a practical minimum. During launches or urgent delivery periods, review the timeline more frequently.
When should I use a project management platform instead?
Consider a dedicated platform when your team needs structured dependencies, sprint planning, custom workflows, automated actions, reporting, approval stages, or multiple deployment options. A worksheet chart remains useful for simple plans, but complex coordination benefits from connected project controls.
Conclusion
You can create a useful Gantt chart in Excel Online by combining task dates, duration formulas, offsets, and a stacked bar chart. The seven-step method gives you a practical visual timeline for small and moderately complex projects.
Start with accurate dates, use working-day formulas when appropriate, hide the offset series, and review the chart regularly. Break long activities into meaningful stages so the schedule supports real decisions.
But here's the truth: a chart can reveal timing problems without solving every coordination problem. If your team needs dependencies, workflows, reporting, automation, sprint planning, or controlled deployment, ONES.com offers a broader project management environment through ONES Project.
Choose the simplest approach that matches your project. For a short schedule, Excel Online may be enough. As work becomes more connected, a structured project platform can help keep plans, progress, and team decisions aligned.