Build an Excel Gantt Chart With Dependencies in 6 Steps
Your project plan may look tidy until one late task shifts every date after it. In Excel, a Gantt chart can show the schedule, but it won’t automatically manage dependencies unless you build that logic into your plan.
Without clear links, you can miss a handoff, schedule work too early, or spend time updating dates across multiple rows. A colored bar chart alone cannot tell you which task must finish first.
But here's the truth: you can create a useful dependency-aware Gantt chart with familiar Excel formulas and conditional formatting. I’ll walk you through six steps, using a simple finish-to-start example you can adapt to your project.
How to Create a Gantt Chart in Excel With Dependencies
Build your chart with task IDs, planned dates, durations, predecessor IDs, and scheduled dates. Then use formulas to calculate dependency-driven start dates and conditional formatting to display each task as a bar.
The steps below use one finish-to-start predecessor per task. That means a task can begin after its predecessor finishes. The example uses calendar days; a later section explains working-day schedules.
Step 1: Set Up Your Task Columns
In a blank Excel worksheet, create these columns: ID, Task, Planned Start, Duration, Finish, Predecessor, and Scheduled Start. Add one task to each row, starting on row 5.
For a small website launch, your rows might include “Write page copy,” “Review copy,” and “Publish pages.” Give each task a unique ID, such as T1, T2, and T3.
Enter a planned start date and a duration in days for each task. Leave the predecessor cell empty for the first task. For “Review copy,” enter T1 as its predecessor.
Step 2: Calculate Scheduled Start and Finish Dates
Use the planned start when a task has no predecessor. If it does, schedule it for the later of its planned start or the day after its predecessor finishes.
In G5, enter this formula, then copy it down the Scheduled Start column:
=IF(F5="",C5,MAX(C5,INDEX($E$5:$E$20,MATCH(F5,$A$5:$A$20,0))+1))
This formula looks up the predecessor ID in column A and retrieves its finish date from column E. The +1 moves the next task to the following calendar day.
In E5, calculate the finish date with =G5+D5-1, then fill the formula down. A task that starts on June 3 and lasts four days finishes on June 6.
Keep predecessor tasks above dependent tasks in the list. This makes the schedule easier to inspect and helps you follow the dependency chain.
Step 3: Add a Date Timeline
Choose an empty row above your task bars for the timeline. If your task rows begin at row 5, put the first timeline date in H4.
Enter a start date in H4. In I4, use =H4+1, then drag the formula right to create consecutive dates across the project period.
Format the timeline as short dates, such as Jun 3, so the columns stay readable. Extend it far enough to cover the latest scheduled finish date.
Step 4: Create the Gantt Bars With Conditional Formatting
Select the timeline area for your tasks, such as H5:AZ20. Choose Conditional Formatting, create a new rule, and use a formula to determine which cells receive a fill color.
Use this formula if the timeline dates are in row 4, scheduled starts are in column G, and finishes are in column E:
=AND(H$4>=$G5,H$4<=$E5)
Pick a fill color and apply the rule. Excel will shade each date cell between a task’s scheduled start and finish, creating a horizontal bar.
Check the formula’s row and column references before applying it. The dollar signs keep the date row and task date columns fixed while Excel evaluates each timeline cell.
Step 5: Show and Check the Dependencies
The Predecessor column records which task controls another task’s start. For example, if T2 depends on T1, changing T1’s duration updates its finish date and shifts T2’s scheduled start.
Try changing a predecessor’s duration by one day. Confirm that its finish date changes, the dependent task moves, and the Gantt bar reflects the new schedule.
The bars show when tasks happen; they don’t draw dependency connectors automatically. To make links visible, add arrows with Excel’s Shapes tools, or use a separate “Depends on” column for a compact view.
Step 6: Polish and Protect the Schedule
Freeze the task labels while scrolling across the timeline. Widen the Task column, use a clear date format, and distinguish milestones with a different fill or a zero-duration marker.
Add a legend if you use multiple colors for task types or status. Keep the color scheme simple: for example, blue for planned work and green for completed work.
Before sharing the schedule, test a few dependency changes and check the final finish date. If several people edit the plan, agree on who updates task durations and predecessor IDs.
See the Dependency Logic in a Small Example
Imagine a three-task launch plan. “Write page copy” lasts four days and starts June 3. “Review copy” takes two days and depends on the writing task. “Publish pages” takes one day and depends on the review.
The writing task finishes June 6. The review starts June 7 and finishes June 8, so publishing starts June 9. When the writing task gains a day, the later tasks move with it.
| ID | Task | Duration | Predecessor | Scheduled dates |
|---|---|---|---|---|
| T1 | Write page copy | 4 days | — | June 3–6 |
| T2 | Review copy | 2 days | T1 | June 7–8 |
| T3 | Publish pages | 1 day | T2 | June 9 |
This example uses calendar days, so weekends count. That works for continuous activities, but a team working weekdays may need working-day formulas instead.
Choose Calendar Days or Working Days
Calendar-day scheduling is straightforward: a four-day task starting June 3 ends June 6. It can suit an event countdown or a process that runs every day.
For a weekday schedule, use Excel’s WORKDAY function to skip weekends. For example, =WORKDAY(G5,D5-1) calculates a finish date for a duration measured in working days.
To start a dependent task on the next working day, use WORKDAY with the predecessor’s finish date. You can also include a range of holiday dates, so public holidays don’t count as working days.
Choose one convention and use it consistently. Mixing calendar-day durations with working-day dependency dates can create confusing gaps or overlaps.
Handle More Than One Predecessor
A task may need several earlier tasks to finish. For example, a product announcement might require both approved copy and final artwork before publication can begin.
The simple formula in this guide supports one predecessor ID per task. For multiple predecessors, calculate the latest predecessor finish date, then schedule the task for the next valid day.
For a small project, you can add separate predecessor columns and calculate the maximum finish date across them. If dependencies become complex, consider a project planning system that supports multiple links and schedule rules directly.
Test the Schedule Before You Rely on It
Check three things after creating the chart: each task has the right duration, each predecessor ID matches a real task, and each scheduled date follows the dependency rule.
Look for circular links, such as T1 depending on T2 while T2 depends on T1. Neither task can start first, so the schedule cannot resolve that chain meaningfully.
Also test a task with no predecessor and one with a predecessor. If both behave as expected when dates or durations change, your formulas and conditional formatting are likely connected correctly.
ONES.com Solution for Connected Project and Knowledge Work
Excel can be a practical choice for a compact schedule. As task relationships, reporting needs, or team coordination grow, a project platform can make updates easier to track across the whole team.

Value Proposition
ONES.com brings project management and knowledge management together in a unified platform powered by ONES Assistant. ONES Project is its project management product and a Jira alternative; ONES Wiki is its knowledge base product and a Confluence alternative. They are sold separately.
Core Capabilities
- Scattered project updates: ONES Project offers customizable workflows, so teams can track work through agreed stages. The result is a clearer view of task progress.
- Dependency details spread across rows: Project teams can organize and manage work in a shared project environment. This helps make task ownership and progress easier to follow.
- Repeated status reporting: Built-in reporting provides project views without requiring teams to assemble every update manually. Teams can spend less time preparing routine summaries.
- Workflow gaps: Custom workflows and fields let teams reflect their processes and the details they need to capture. Work can follow team-specific review and approval steps.
- Sprint planning needs: Sprint management supports teams organizing iterative development work. The result is a more structured view of sprint activity.
- Routine task handling: Automation can reduce repetitive manual actions. Teams can apply consistent handling to recurring workflow events.
- Plugin-heavy setups: Native capabilities for workflows, fields, reporting, sprint management, and automation can reduce reliance on plugins. Fewer add-ons may make administration simpler.
- Restricted hosting requirements: ONES.com offers Cloud, On-Premise, Private Cloud, and Air-gapped deployments. Its cloud and self-hosted versions have full feature parity, including on-premise options for organizations with specific hosting needs.
Application Scenarios
A software team can manage sprint work in ONES Project, using workflows and reporting to keep development progress visible. It can document release decisions in ONES Wiki when that separate knowledge product fits the team’s needs.
A company coordinating an internal rollout can shape a workflow around review and approval stages. For teams with restricted networks, an Air-gapped or other self-hosted deployment may fit their environment.
ONES.com offers a free plan for up to 30 seats. Teams can assess whether its project and knowledge capabilities fit their practices before choosing a deployment and product setup.
Common Challenges and Practical Fixes
Dates Don’t Move When a Predecessor Changes
Problem: A task’s bar stays in place after you change the predecessor duration. Fix: Confirm that the dependent task’s Scheduled Start formula refers to the correct predecessor ID and finish-date range.
Excel Shows a Formula Error
Problem: A lookup returns an error because the predecessor ID is misspelled or missing. Fix: Check the ID in both rows and confirm your formula ranges include every task.
Tasks Start on Weekends
Problem: A dependent task begins on Saturday or Sunday. Fix: Replace calendar-day calculations with WORKDAY formulas and include holiday dates when needed.
The Chart Becomes Hard to Maintain
Problem: Many people update dates, durations, and dependency links in different ways. Fix: Set one schedule owner, define how IDs and dates are maintained, and review changes regularly.
Frequently Asked Questions
Can Excel automatically create task dependencies?
Excel can calculate a dependent start date when you create formulas that use predecessor information. It does not automatically infer which tasks depend on each other from the Gantt bars. You need to assign predecessor IDs and build formulas that calculate scheduled dates. For complex relationships, such as multiple predecessors or different link types, additional formulas or dedicated project software may be more manageable.
What does a finish-to-start dependency mean?
A finish-to-start dependency means the next task begins only after its predecessor finishes. In this guide’s calendar-day example, if a task finishes June 6, its successor starts June 7. This is a common relationship for sequential work, such as drafting copy before reviewing it. Other dependency types may allow tasks to overlap or require a different scheduling rule.
Can I show task dependencies as arrows in Excel?
Yes. You can draw arrows between task bars with Excel’s Shapes tools, then position them to show the relationship. The arrows are visual indicators, so they won’t automatically update when task dates move. Keep the predecessor IDs and date formulas as the schedule logic, and treat arrows as a visual aid that may need adjustment after changes.
How do I exclude weekends from an Excel Gantt chart?
Use Excel’s WORKDAY function to calculate dates that skip Saturday and Sunday. For a task lasting four working days, =WORKDAY(G5,D5-1) calculates its finish date from its scheduled start. You can provide a holiday range as another function argument. Make sure your dependency formulas also use working-day logic, or a successor may still start on a weekend.
When should I move beyond Excel for project scheduling?
Excel may remain suitable when a schedule is small, its relationships are simple, and one person can maintain it reliably. Consider a project management platform when several teams coordinate work, reporting becomes repetitive, or links and schedule changes are difficult to track. The right choice depends on how much structure your project needs and how your team prefers to manage updates.
Conclusion
A dependency-aware Gantt chart in Excel needs more than colored bars. Add task IDs and predecessor links, calculate scheduled dates with formulas, and use conditional formatting to show the timeline.
Then test the plan by changing a task duration and checking whether dependent work moves correctly. That small check can reveal a broken link before it disrupts a real handoff.
If the schedule becomes difficult to maintain, consider a project management platform that fits your team’s workflow. Start with the simplest approach that gives you a reliable view of task order, ownership, and timing.