Build a Gantt Chart in Excel With Time: 6 Fast, Simple Steps
A Gantt chart can turn a schedule into a visual timeline, but Excel does not create one with a single click. The setup gets confusing when your tasks begin at different times, durations use clock values, or the chart axis shows decimals instead of hours.
That can make a simple workday plan look inaccurate. A task starting at 9:00 might appear in the wrong place, and overlapping activities can be hard to spot. But here's the truth: you can build a clear time-based Gantt chart with a task list, a few formulas, and a stacked bar chart.
In this guide, I’ll walk you through six practical steps. You’ll learn how to set up start and finish times, calculate durations, format the timeline, and fix common chart problems. You can use the same method for a one-day shift or a longer project schedule.
How to make a Gantt chart in Excel with time
Use a stacked bar chart with one series for each task’s start time and another for its duration. Then hide the start-time bars so only the task durations remain visible along the timeline.
Here’s a small example for a workday. Enter each time as a real Excel time value, not as text.
| Task | Start | Finish | Duration |
|---|---|---|---|
| Team briefing | 9:00 AM | 9:30 AM | 0:30 |
| Design review | 9:30 AM | 11:00 AM | 1:30 |
| Prototype build | 11:00 AM | 1:00 PM | 2:00 |
| Quality check | 1:30 PM | 2:30 PM | 1:00 |
-
Set up columns for task, start, finish, and duration. Put task names in column A, start times in column B, finish times in column C, and durations in column D.
Enter times consistently, such as
9:00 AMand1:30 PM. Select the time cells and apply a time format so Excel recognizes them as values. -
Calculate each task’s duration. In the first duration cell, enter
=C2-B2, then copy the formula down the column.Format duration cells with a custom format such as
[h]:mm. The brackets let durations display as total hours if a task lasts longer than 24 hours. -
Insert a stacked bar chart. Select the task names, start times, and durations. Choose Insert, then select a stacked bar chart from the bar chart options.
If Excel places the tasks in the legend instead of along the vertical axis, use the chart’s Select Data option and switch the row and column orientation.
-
Use start time as the offset. The first bar series represents when each task begins. Select that series and set its fill and border to no fill.
This makes the duration bars appear at their correct positions. The invisible start-time series still creates the offset that places each task along the timeline.
-
Set the time axis and task order. Format the horizontal axis with a time number format, such as
h:mm AM/PM. For a workday chart, set the minimum and maximum bounds to match the schedule.For example, a schedule from 9:00 AM to 5:00 PM can use those times as its axis bounds. If the task order looks upside down, reverse the category order in the vertical-axis settings.
-
Label and review the chart. Add a clear title, use readable task names, and choose a distinct color for the duration bars. Check that each bar begins and ends at the expected time.
In the example above, the quality check starts at 1:30 PM. Its bar should begin half an hour after the prototype build ends at 1:00 PM.
Choose the right time scale for your schedule
A one-day plan and a multi-day project need different axis settings. For a single day, an axis running from 8:00 AM to 5:00 PM makes short task gaps easy to see.
For a project spanning several days, enter full date-and-time values, such as 6/12/2025 9:00 AM. This gives Excel enough information to place tasks across dates and hours.
Here's why: Excel stores times as fractions of a day. A time-only chart uses those fractions, while a schedule with dates uses larger serial values that include the calendar date.
If your chart compresses tasks into a tiny area, check whether your axis bounds match the scale of your entries. A full-day axis can make a two-hour schedule look almost flat.
Make the chart easier to read
Start with the information a viewer needs most: task names, start times, duration, and dependencies. For example, “Review design” is more useful than a vague label like “Task 2.”
Use one main color for regular tasks and a second color for milestones or urgent work. Keep the palette restrained so a busy afternoon does not become difficult to scan.
You can add labels by selecting the visible duration bars and choosing Add Data Labels. Labels work best when they show a short duration or task detail without crowding nearby bars.
The best part? Small adjustments often make a bigger difference than extra decoration. Widen the chart, shorten long task names, and keep the time labels consistent.
Handle overlapping tasks and nonworking hours
Overlapping bars can be useful when two activities happen at once. For example, a designer could revise a mockup while a teammate prepares review notes.
If overlap is unplanned, compare each task’s start and finish times. A simple formula such as =C2>B3 can help you check whether one task ends after the next begins.
Breaks and nonworking hours need extra care. A basic stacked bar chart displays elapsed time, so a task that crosses lunch may appear to include the break.
For a shift schedule, you can split a task into separate rows around the break. For a longer project, show planned working periods as separate blocks when elapsed time would be misleading.
Fix common Excel Gantt chart problems
If bars begin at midnight or appear in unexpected positions, Excel may be treating your entries as text. Re-enter a time in a standard format, then check whether the cell displays a numeric time value when formatted as General.
If the duration appears as a decimal, apply a time format such as [h]:mm. If a negative duration appears, check that the finish time comes after the start time on the same date.
When a schedule runs past midnight, include dates with the times. For example, a shift beginning at 10:00 PM and ending at 2:00 AM needs the next day’s date for its finish value.
If task labels are hard to read, increase the chart height or reduce the number of visible tasks. A chart with 40 tightly packed rows may need filtering or separate views.
Project tracking beyond a time-based chart: ONES.com
Excel works well for a compact timeline, especially when you need to visualize a single shift or a small set of activities. ONES.com brings project management and knowledge management together in a unified platform, with ONES Project for project management and ONES Wiki for knowledge management. The products are sold separately.

ONES Project may suit teams that need more structure around project work than a chart can provide. It is a Jira alternative with Jira-compatible workflows, built-in reporting, custom workflows and fields, sprint management, and automation.
Core capabilities
- Tasks scattered across separate planning views: ONES Project supports project work tracking. Teams can organize activities in one project environment and follow progress more consistently.
- Processes that do not match a standard template: Custom workflows let teams shape task stages around their work. This can make handoffs clearer.
- Task details that need more context: Custom fields let teams capture relevant information. A team could track a responsible group, priority, or planned release.
- Limited visibility into progress: Built-in reporting helps teams review project activity. That can make status discussions more focused.
- Recurring sprint planning needs: Sprint management supports teams that plan and review work in iterations. It gives recurring cycles a defined structure.
- Repetitive task updates: Automation can handle selected routine actions. Teams can reduce manual steps where configured rules fit their process.
- Separate project and internal knowledge spaces: ONES.com combines project and knowledge management in one platform. Teams can choose ONES Project, ONES Wiki, or both, depending on their needs.
- Deployment constraints: ONES.com offers Cloud, On-Premise, Private Cloud, and Air-gapped deployments. Its self-hosted versions have feature parity with the cloud version.
Application scenarios
A product team could use a Gantt chart to map a short release-day schedule, then manage broader sprint work in ONES Project. Workflow stages and reporting can help the team follow ownership and progress beyond that single-day view.
A company with restricted network requirements could consider an Air-gapped deployment for project management. A team that relies on internal guidance could use ONES Wiki separately or alongside ONES Project, depending on its setup.
ONES.com does not replace the need to choose a suitable planning view for every schedule. It offers a broader project-management environment when work involves multiple projects, structured workflows, or ongoing team coordination.
Common challenges and practical fixes
Excel shows the wrong start time
Problem: The bar begins at midnight or at an unexpected point. Fix: Confirm the start value is recognized as a time, then format the horizontal axis with a time display and appropriate bounds.
Durations show as decimals
Problem: A 90-minute task appears as a fraction. Fix: Format the duration cells as [h]:mm. This displays elapsed hours and minutes more clearly.
Tasks crossing midnight look incorrect
Problem: A finish time such as 2:00 AM appears earlier than a 10:00 PM start. Fix: Add the correct date to both values, including the next day for the finish time.
The chart becomes crowded
Problem: Task names and bars overlap when many activities share the timeline. Fix: Increase chart height, shorten labels, or create separate charts for different teams or phases.
FAQs about time-based Gantt charts in Excel
Can Excel show hours and minutes on a Gantt chart?
Yes. Enter start and finish times as recognized Excel time values, then use a stacked bar chart. Format the horizontal axis to display hours and minutes, such as h:mm AM/PM. Set the axis bounds to the schedule’s working period so short tasks remain visible. For tasks that cross midnight, include dates with the times to keep the timeline in order.
How do I calculate task duration in Excel?
Subtract the start time from the finish time. If the start is in B2 and the finish is in C2, enter =C2-B2 in the duration cell. Apply a custom format such as [h]:mm to display elapsed hours and minutes. If a task crosses midnight, use full date-and-time values so the result stays positive and accurate.
Why does my Excel Gantt chart show decimal values?
Excel stores times as fractions of a day, so a chart axis may display those underlying values. Format the horizontal axis as time to show clock labels instead. You may also need to adjust the axis bounds to your schedule. If the task bars still look misplaced, check that your start and finish entries are time values rather than text.
Can I show tasks that happen at the same time?
Yes. A Gantt chart can display overlapping tasks as bars that occupy the same part of the timeline. This can show parallel work, such as drafting a presentation while another person reviews its figures. If the overlap is accidental, compare the relevant start and finish values and confirm that each task has the intended schedule.
Conclusion
You can build a time-based Gantt chart in Excel by calculating each task’s duration, plotting start times as offsets, and formatting the axis to match your schedule. The six steps above work for a short daily plan and can be adapted for date-and-time timelines.
When a chart looks wrong, check the time values and axis scale first. When the schedule becomes crowded or needs broader project coordination, consider a more structured project environment.
A clear timeline can make a confusing day easier to manage. Start with a few real tasks, verify each bar’s position, and refine the chart as your schedule grows.