Fix Microsoft Project Gantt Bars That Do Not Match Task Durations
Question details
Determine why Gantt bars do not appear to match task durations, including overnight and multiday work.

- Product
- Microsoft Project
- Device & OS
- not provided
- Scenario
- Tasks are automatically scheduled in a custom Gantt chart using work imported from Excel and assigned resources, with a continuous 24-hour calendar intended for the schedule.
- Observed behavior
- Gantt bars do not appear to represent some task durations or overnight and multiday schedules accurately.
Identify an affected task and its expected start and finish dates and times. Have the source Excel workbook and the names of any assigned resources available for comparison.
Check Task Dates and Scheduling Calendars
Use this approach to verify whether Project is calculating the affected tasks with the intended working time.
A task's duration depends on working time, while its assigned resources may use different calendars. Work and duration are not necessarily the same value.
In File > Options > General, choose a Date format that includes time. In Gantt Chart view, compare the affected task's Start, Finish, Duration, and Task Mode fields with the expected values.
Open Project > Project Information and inspect the Calendar setting. If work is intended to run continuously, confirm that the selected calendar provides the intended 24-hour working time.
Double-click the affected task and open Task Information > Advanced to check its calendar and whether scheduling ignores resource calendars. Review each assigned resource's calendar in Resource Sheet and check its working time under Project > Change Working Time.
Add or inspect the Predecessors and Successors columns in Gantt Chart view. Remove unintended links to or from summary tasks and use appropriate links between individual tasks instead.

Inspect Gantt Bar Styles and the Timescale
Use this check when the task dates and calendars are correct but the bars still look misleading.
Test the Excel Import in a New Project File
Use a small test to isolate whether the issue comes from the import mapping or the existing project file.
Review Project Source Data with WPS Spreadsheets
WPS Office is a free, lightweight alternative for reviewing the Excel data used in your Project import. Its familiar interface and Office format compatibility make it easy to move between office workflows. It does not fix Microsoft Project scheduling or Gantt bar settings.

Frequently Asked Questions
Why does an overnight task appear longer than its duration?
The bar spans the task's Start and Finish dates, while Duration reflects working time. Check the project, task, and assigned resource calendars for nonworking periods under Project > Change Working Time.
How can I see the start and finish times in Project?
Go to File > Options > General and select a Date format that includes time. Then inspect the Start and Finish columns in Gantt Chart view.
Can assigned resources change a task's scheduled finish?
Yes. Resource availability and working calendars can affect scheduling. Check the assignment and resource calendar, then inspect Task Information > Advanced for the task calendar settings.
What should I check if imported Excel tasks have unexpected durations?
Review the import map when opening the workbook through File > Open. Confirm that the correct columns map to Start, Finish, Duration, Work, and resources, and check the source date, time, and duration units.
Where can I change which dates a Gantt bar displays?
In Gantt Chart view, open Format > Bar Styles and inspect the From and To fields for the relevant bar style. Make sure they refer to the intended task fields.




