How to Show Dependencies in an Excel Gantt Chart: 5 Steps
Dependencies are easy to understand on a wall or whiteboard. In Excel, they can disappear inside dates, rows, and colored bars. That makes it difficult to see which task must finish before another can begin.
The problem grows when a deadline moves. One delayed activity may affect several following tasks, yet the chart may show only disconnected bars. You can quickly lose track of the real project sequence.
Here’s the solution: create a task table, add predecessor relationships, calculate task dates, and draw connector lines between related bars. This guide explains five practical steps for showing dependencies in an Excel Gantt chart, including formulas, formatting, and troubleshooting tips.
How to Show Dependencies in an Excel Gantt Chart
To show dependencies in an Excel Gantt chart, create a predecessor column, calculate each task’s start date from its predecessor, build the timeline with stacked bars, and add connector lines between related tasks. Excel does not automatically display dependency arrows in a standard Gantt chart, so you need to combine task formulas, chart formatting, and drawing tools.
Step 1: Create the task planning table
Start with one row for each activity. Use clear column headings so you can connect scheduling information with the visual timeline.
| Column | Purpose |
|---|---|
| Task ID | Unique number for each activity |
| Task name | Short description of the work |
| Predecessor | Task ID that must come first |
| Duration | Number of working or calendar days |
| Start date | Date when the activity begins |
| Finish date | Date when the activity ends |
For example, a website launch plan might include “Confirm requirements,” “Create page designs,” “Build pages,” and “Run quality checks.” Page design depends on requirements, while building depends on approved designs.
Assign every activity a unique ID. If “Create page designs” has ID 2 and depends on task 1, enter 1 in its Predecessor cell. Leave the first activity blank if it has no predecessor.
Step 2: Calculate dates with predecessor formulas
Enter the first task’s start date manually. Then calculate later start dates from the predecessor’s finish date.
Suppose your columns are arranged like this:
- Column A: Task ID
- Column B: Task name
- Column C: Predecessor
- Column D: Duration
- Column E: Start date
- Column F: Finish date
For a simple finish-to-start relationship, the finish-date formula in F2 could be:
=E2+D2-1
For a task that starts after its predecessor finishes, you can use a lookup formula in E3:
=IF(C3="",E$2,INDEX($F$2:$F$20,MATCH(C3,$A$2:$A$20,0))+1)
This formula checks the predecessor ID, finds the matching finish date, and starts the current task on the following day. Adjust the ranges to match your planning table.
If you need working days instead of calendar days, use WORKDAY. For example:
=WORKDAY(INDEX($F$2:$F$20,MATCH(C3,$A$2:$A$20,0)),1)
Then calculate the finish date with:
=WORKDAY(E3,D3-1)
Here’s why: the predecessor column controls the schedule logic, while the date columns control the chart display. If either part is missing, the dependency will be difficult to verify.
Step 3: Build the Gantt chart with a stacked bar chart
To create the visual schedule, select the task names, start dates, and durations. Choose Insert, select Bar Chart, and choose Stacked Bar.
Excel will create two series:
- The start-date series creates invisible spacing before each task bar.
- The duration series creates the visible task bar.
Right-click the start-date series and choose Format Data Series. Set its fill to No Fill and its border to No Line. The remaining duration series now appears as the visible Gantt bar.
Reverse the task order so the first activity appears at the top. Select the vertical axis, open Format Axis, and choose Categories in reverse order.
Next, adjust the horizontal axis. Set its minimum value to the project start date and its maximum value to the expected completion date. Excel stores dates as serial numbers, so axis labels may require date formatting before they appear correctly.
Step 4: Add dependency connectors
Excel’s standard stacked bar chart does not automatically draw predecessor arrows. You can add them manually with connector shapes.
Choose Insert, select Shapes, and use an elbow arrow connector. Draw the connector from the right edge of the predecessor bar to the left edge of the dependent bar.
For example, connect the end of “Confirm requirements” to the beginning of “Create page designs.” If the second task starts several days later, route the connector through the empty timeline space.
Use consistent formatting for every connector:
- Use a thin line that remains visible against the chart background.
- Add an arrowhead pointing toward the dependent activity.
- Keep connectors outside the colored bars when possible.
- Use one color for standard dependencies and another for risk alerts.
The best part? You can make the chart easier to read without changing the schedule itself. The bars communicate timing, while the arrows communicate sequence.
Step 5: Test and maintain the dependency view
Change one predecessor duration and check whether every following activity moves as expected. This simple test can reveal incorrect references, circular relationships, or manually entered dates.
Check these examples before sharing the chart:
- Shorten a predecessor by two days and confirm the dependent task moves earlier.
- Extend a predecessor by three days and confirm the dependent task moves later.
- Change a predecessor ID and verify that the formula follows the new relationship.
- Review tasks with no predecessor to confirm they are genuinely independent.
- Look for arrows that cross unrelated bars or point to the wrong activity.
Keep task IDs stable after creating formulas and connectors. Renumbering activities can break lookup references or make manual arrows point to the wrong rows.
How Dependencies Work in a Gantt Chart
A dependency describes the relationship between two activities. The predecessor comes first, and the successor follows according to a timing rule.
The most common relationship is finish-to-start. A testing task begins after development ends. Other relationship types can represent more flexible scheduling.
| Relationship | Example |
|---|---|
| Finish-to-start | Testing begins after coding finishes |
| Start-to-start | Design review begins when design work starts |
| Finish-to-finish | Two activities must finish at roughly the same time |
| Start-to-finish | A rare relationship where one activity cannot finish until another begins |
Excel handles finish-to-start relationships most naturally with basic formulas. Start-to-start and finish-to-finish relationships require separate formulas that reference the predecessor’s start or finish date.
You might be wondering: should every activity have a dependency? No. Planning activities can run independently, and forcing unnecessary links makes the chart harder to understand.
Formula Examples for Common Scheduling Relationships
Use formulas that match the relationship you want to display. The following examples assume the predecessor ID is in column C, the duration is in column D, the start date is in column E, and the finish date is in column F.
Finish-to-start relationship
For a task that starts one day after its predecessor finishes, use:
=INDEX($F$2:$F$20,MATCH(C3,$A$2:$A$20,0))+1
This works well for a standard sequence such as planning, design, development, and testing.
Start-to-start relationship
If a task may begin when its predecessor begins, reference the predecessor’s start date:
=INDEX($E$2:$E$20,MATCH(C3,$A$2:$A$20,0))
For example, a marketing campaign might begin when product development starts. The two activities overlap, even though their durations differ.
Finish-to-finish relationship
If two activities must end together, calculate the successor’s finish date first, then subtract its duration:
=INDEX($F$2:$F$20,MATCH(C3,$A$2:$A$20,0))
Then calculate the start date using the required duration. This approach works for coordinated approval activities that must close with the same milestone.
Adding a delay or lead time
Sometimes a successor starts several days after its predecessor finishes. Add the delay to the formula:
=INDEX($F$2:$F$20,MATCH(C3,$A$2:$A$20,0))+3
That example adds a three-day gap. A negative value creates an overlap, which can represent work beginning before the predecessor is fully complete.
How to Make Dependency Arrows Easier to Read
Arrows become confusing when many activities overlap. Keep the visual language simple so someone can understand the schedule without studying every line.
Use one connector style for normal relationships. Reserve a second style for critical relationships, such as a red arrow for a dependency that affects the launch date.
Place milestones on separate rows when possible. A diamond-shaped milestone between two task groups gives connectors a clear destination and reduces line crossings.
Another useful technique is grouping related activities. Put discovery tasks together, followed by design, delivery, review, and launch activities. The chart then tells a story from left to right.
Let me explain: the goal is not to draw every possible relationship. The goal is to make the relationships that affect timing immediately visible.
When Excel Is Enough and When You Need a Project Platform
Excel works well for a small plan with a few activities, one scheduler, and limited change. A ten-task campaign calendar may be quick to create and easy to share.
Complex projects become harder when several people update tasks, dependencies change frequently, or you need automatic alerts. Manual connector shapes can shift out of place when rows move or dates change.
| Project condition | Practical choice |
|---|---|
| Small plan with stable dates | Excel may be sufficient |
| Many dependencies and frequent changes | Consider dedicated project management software |
| Multiple teams and shared ownership | Use a platform with permissions and activity history |
| Need for automated reporting | Use built-in dashboards and schedule views |
The cause-and-effect relationship is straightforward: more schedule changes create more manual maintenance. A platform that stores relationships directly can reduce the need to redraw connectors after every adjustment.
Natural Gantt Dependency Solution: ONES.com

Value Proposition
ONES.com brings project management and knowledge management into one platform powered by ONES Assistant. For teams moving beyond manually maintained Excel charts, ONES Project provides a Jira alternative with structured relationships, reporting, and workflow controls.
ONES Project is sold separately from ONES Wiki, so you can choose the project management or knowledge management capability that matches your needs.
Core Capabilities
- Manual chart maintenance: Excel connectors can drift after schedule changes. ONES capability: manage tasks and relationships inside a project workspace. Result: the schedule stays connected to the work rather than relying on separately positioned shapes.
- Unclear task ownership: A chart may show timing without showing responsibility. ONES capability: assign work, set statuses, and define workflow stages. Result: each dependency has a clearer operational owner.
- Limited schedule visibility: A single chart can become difficult to interpret across teams. ONES capability: use built-in reporting and project views. Result: managers can review progress and emerging delays more quickly.
- Rigid planning fields: Simple tables may lack the information needed for different teams. ONES capability: create custom workflows and custom fields. Result: teams can capture approval status, risk, release area, or work type.
- Manual sprint coordination: Rebuilding a chart for every iteration takes time. ONES capability: use sprint management features. Result: iterative teams can organize planned work alongside delivery progress.
- Repetitive updates: Recurring actions often require manual follow-up. ONES capability: configure automation for routine workflow events. Result: status changes and handoffs require less administrative effort.
- Plugin-heavy project setups: Adding multiple extensions can increase maintenance. ONES capability: use native project management features with Jira-compatible workflows. Result: teams can reduce dependence on extra plugins.
- Deployment restrictions: Some organizations cannot place project information in a public cloud. ONES capability: choose Cloud, On-Premise, Private Cloud, or Air-gapped deployment. Result: teams can align project management with their environment requirements.
Application Scenarios
Software release planning: A product team can connect requirements, development tasks, testing, and release activities. Sprint management and automation help the team respond when a blocked task affects later work.
Hardware development: An engineering team can coordinate design reviews, procurement, assembly, and verification. Custom fields can identify component areas, review gates, and risk levels.
Restricted-network delivery: A team working in an air-gapped environment can use a self-hosted deployment while maintaining feature parity with the cloud version. This approach supports controlled access without relying on a manually updated chart.
Common Challenges When Showing Dependencies in Excel
Arrows move after chart changes
Problem: Manually drawn connectors may no longer align after you resize bars, change row heights, or alter the timeline.
Solution: Lock the chart layout after review, keep row heights consistent, and retest connectors after major schedule edits. For frequently changing plans, use a project platform that stores relationships as task properties.
Dates create circular dependencies
Problem: Task A depends on Task B, while Task B also depends on Task A. Each formula waits for the other task, creating an invalid schedule.
Solution: Review predecessor IDs and keep each relationship moving in one direction. Begin with the project milestone and trace activities forward until the final outcome.
Working days and calendar days get mixed
Problem: A formula using simple addition includes weekends, while the team expects working days only.
Solution: Use WORKDAY for weekday scheduling. Add a holiday range when public holidays must be excluded.
Too many arrows reduce clarity
Problem: A dense chart can contain so many lines that the relationships become harder to follow than the original task list.
Solution: Show only meaningful schedule dependencies. Group minor relationships in a supporting planning view and highlight the dependencies that affect milestones or the critical path.
FAQs
Can Excel automatically create dependency arrows?
Standard Excel Gantt charts do not automatically create predecessor arrows between stacked bar segments. You can add connector shapes manually, use a helper series with advanced chart techniques, or use a project management platform with native dependency views. For a small plan, manual connectors may be practical. For a frequently changing schedule, they require regular checking.
What column should I use for dependencies?
Add a Predecessor column that stores the Task ID of the activity that must come first. For example, if task 4 depends on task 2, enter 2 in task 4’s Predecessor cell. A stable ID makes formulas easier to maintain than relying on row positions, especially when activities are sorted or rearranged.
How do I show a dependency between nonadjacent tasks?
Use an elbow connector that travels from the predecessor’s bar to the successor’s bar. Route it through open timeline space and avoid crossing unrelated activities. If the chart becomes crowded, move the related tasks closer together or create a separate dependency view that focuses on milestones and major handoffs.
Why are my Excel dates showing as numbers?
Excel stores dates as serial values for calculation. Select the date cells, open the formatting options, and choose a date format. You may also need to format the horizontal chart axis as a date. If the axis still looks incorrect, check that the start-date series is using actual Excel dates rather than text that only resembles a date.
Should I use a project management tool instead of Excel?
Excel is suitable for small, stable plans with limited collaboration. A project management tool becomes more useful when dependencies change often, several teams share responsibility, or you need reporting and automation. The right choice depends on schedule complexity, update frequency, access requirements, and how much manual chart maintenance your team can handle.
Conclusion
To show dependencies in an Excel Gantt chart, create stable task IDs, add predecessor relationships, calculate dates with formulas, build a stacked bar chart, and draw clear connector arrows.
Test the schedule by changing durations and checking whether dependent tasks move correctly. Use working-day formulas when weekends matter, and keep the visual design simple enough for another person to follow.
Excel can handle a compact plan effectively. When dependencies, teams, reporting needs, or deployment requirements grow, ONES.com and ONES Project offer a more structured way to manage connected work. The key lesson is simple: make the relationship between tasks visible, test it after every major change, and choose a planning method that matches the project’s complexity.