Guide · 2026-11-20

Create a Gantt Chart in Excel: Add Time, Dates, and Tasks

When a project has several tasks, dates, and deadlines, a plain list can hide delays and overlaps. You may know what needs doing but still struggle to see when each task starts, how long it lasts, or what comes next.

That confusion gets worse when dates change. A manually colored calendar can quickly become inaccurate, leaving you with a chart that looks helpful but no longer reflects the plan. But here's the truth: Excel can turn task names, start dates, and durations into a clear Gantt chart using a stacked bar chart.

Here’s how to set up the task schedule, build the chart, format its timeline, and update it when plans shift. I’ll also cover date-only schedules and work that needs start and finish times.

How to create a Gantt chart in Excel with dates and task durations

Excel does not provide a dedicated Gantt chart type. You can create the same visual effect with a stacked bar chart: one series positions each task on the timeline, and another shows its duration.

Here’s why: the first series acts like invisible spacing before the visible task bar. Once you hide that series, the colored bars appear to begin on their actual start dates.

  1. 1. List each task and its dates

    In a blank Excel worksheet, create four columns: Task, Start Date, End Date, and Duration. Add one task per row, and enter real Excel dates rather than text that only looks like a date.

    For example, a small website launch plan might include “Draft page copy,” “Build landing page,” and “Review and publish.” Give each task a start date and an end date.

  2. 2. Calculate the duration

    For a schedule measured in whole calendar days, enter this formula in the first Duration cell:

    =C2-B2+1

    This assumes the start date is in column B and the end date is in column C. The +1 counts both the first and last day, so a task beginning and ending on March 2 lasts one day.

    Copy the formula down the column. If your plan counts elapsed time instead, use =C2-B2 and leave out +1. Pick one convention and use it throughout the chart.

  3. 3. Select the chart inputs

    Select the Task, Start Date, and Duration columns, including their headings. If the columns are not beside one another, select the first range, then hold Ctrl on Windows or Command on Mac while selecting the other ranges.

    Check that the task names will become the category labels. The dates and durations should be the two chart series; End Date is useful for calculating the duration but usually does not need to appear as a series.

  4. 4. Insert a stacked bar chart

    Choose Insert, open the bar chart options, and select Stacked Bar. Avoid 100% Stacked Bar: that chart compares proportions rather than showing the task’s actual duration.

    If Excel assigns the rows and columns incorrectly, use Chart Design and choose Switch Row/Column. The task names should appear down the side, with date and duration values along the horizontal axis.

  5. 5. Hide the start-date series

    Click a bar representing the Start Date series, then open Format Data Series. Set its fill and border to No Fill and No Line.

    The visible Duration bars should now begin at different positions, reflecting their start dates. If the whole chart disappears or the bars remain aligned at zero, check that you selected the stacked bar type and included Start Date as the first series.

  6. 6. Put the first task at the top

    Click the task labels along the vertical axis and open Format Axis. Turn on Categories in reverse order so the first task appears at the top of the chart.

    Excel may move the date axis to the top after you reverse the categories. In the axis settings, adjust where the horizontal axis crosses the task categories if you prefer dates along the bottom.

  7. 7. Set the visible date range and scale

    Select the horizontal axis and set its minimum and maximum bounds to match the project window. For example, a project running March 2 through March 20 will be easier to read when the chart starts near March 2 instead of showing several empty weeks.

    Excel stores dates as serial numbers, so the axis settings may display numeric bounds. Enter the date values if Excel accepts them; otherwise, use the corresponding date serials. Set the number format to a readable date style, such as Mar 2.

    Choose a major unit that suits the plan. Daily intervals suit short projects, while weekly intervals make a three-month schedule less crowded.

  8. 8. Add labels and check the finished chart

    Give the chart a descriptive title, such as Website Launch Schedule. Add data labels only if they make the durations easier to read; too many labels can clutter a chart with many short tasks.

    Compare several bars against their start and end dates. Confirm that a one-day task appears as one day, tasks with overlapping dates appear side by side vertically, and the full project period fits across the timeline.

Set up task dates and durations before charting

A Gantt chart is only as clear as the task schedule behind it. Keep tasks specific enough to have meaningful start and finish dates. “Prepare launch” is hard to schedule, while “Approve landing page copy” gives you a concrete milestone.

For instance, a short schedule might have copy approval from March 2 to March 4, page development from March 5 to March 11, and review from March 10 to March 12. The overlap makes it clear that review begins before development ends.

TaskStart DateEnd DateDuration
Approve landing page copyMar 2Mar 43 days
Build landing pageMar 5Mar 117 days
Review and publishMar 10Mar 123 days

Use milestones for events that happen on a specific date, such as a client approval or launch. You can represent a milestone as a one-day task or use a separate marker series if you need it to stand out.

Format the timeline so people can read it quickly

The timeline should make the project’s important dates easy to spot. Set the minimum axis date close to the first task and the maximum close to the final deadline. A chart with a large empty margin can make short tasks look insignificant.

Use major units that match the planning horizon. A two-week schedule often benefits from daily labels; a six-month plan may be clearer with monthly labels. You can also add vertical gridlines to help readers compare task bars with dates.

The best part? A few restrained formatting choices can make a chart much easier to scan. Use one color for regular tasks, another for critical milestones, and a distinct accent for the current date if you update the plan regularly.

Show work hours as well as calendar dates

If the schedule needs start and finish times, enter full date-and-time values in the Start and End columns. Excel stores time as a fraction of a day, so a duration formula such as =C2-B2 returns a fraction when the task lasts only a few hours.

For example, a task running from 9:00 a.m. to 1:00 p.m. has a duration of four hours, or one-sixth of a day. Format the axis to display dates and times, such as Mar 2 9:00 AM, and adjust the chart bounds so the time detail remains visible.

Let me explain one important limitation: a date axis does not automatically exclude evenings, weekends, or holidays. If a task takes eight working hours across two days, the bar may visually span the overnight gap.

For work-hour planning, consider creating a schedule around working days or using a separate calendar view for shift-level detail. The Gantt chart works well for sequencing tasks, while a daily calendar can show exact appointments and availability.

Keep the chart accurate when your schedule changes

When a task moves, update its start or end date and check that the duration formula recalculates. If the chart does not change, confirm that the chart range includes all task rows and that Excel calculation is set to automatic.

For a growing project, convert the task range into an Excel Table. Select the range and use Insert → Table. This can make it easier to extend formulas and maintain consistent formatting as you add tasks.

Be careful when you copy a chart to another workbook or remove columns it uses. The chart depends on its task names, start dates, and durations, so keep those values intact if you want the visual schedule to continue working.

A project coordination solution: ONES.com

ONES.com brings project management and knowledge management together in one platform powered by ONES Assistant. ONES Project handles project management, while ONES Wiki supports knowledge management; they are sold separately.

ONES.com product screenshot

If Excel helps you sketch dates and durations, a project platform can help teams coordinate the work around that schedule. The distinction matters: use the approach that fits your planning needs, and choose the right place for assigning work, tracking progress, and keeping team guidance accessible.

Core capabilities

ONES.com offers a free plan for up to 30 seats. Teams can evaluate the platform with their project setup and choose a deployment model that matches their operating requirements.

Application scenarios

Product launch: A team could use a Gantt chart to map launch dates, then use ONES Project to coordinate assignments, custom workflow stages, and progress reporting. Team guidance could live in ONES Wiki if the team adopts that separately.

Restricted-network project work: A team that cannot use a cloud deployment can consider On-Premise, Private Cloud, or Air-gapped options. This can keep project management within the team’s required environment while retaining feature parity with the cloud version.

Common challenges when building a Gantt chart in Excel

FAQs about Gantt charts in Excel

Does Excel have a built-in Gantt chart type?

Excel does not offer a chart type specifically named Gantt. You can create the effect with a stacked bar chart that uses start dates for positioning and durations for visible bars. Hide the Start Date series to make each duration bar appear to begin on its scheduled date. The setup takes a few steps, but it gives you a visual schedule that you can format and update within Excel.

How do I calculate task duration from start and end dates?

For elapsed days, subtract the start date from the end date with a formula such as =C2-B2. For a schedule that counts both the start and end dates, add one: =C2-B2+1. A task that begins and ends on March 2 lasts one inclusive calendar day. Use the same counting rule for every task so bar lengths remain consistent.

Can I show hours and minutes on an Excel Gantt chart?

Yes. Enter full date-and-time values for each task’s start and end, then calculate duration by subtracting the start from the end. Format the horizontal axis to show a date and time. Remember that Excel represents time as part of a day, so a four-hour duration is one-sixth of a day. The chart also includes overnight and nonworking periods unless you build a schedule that accounts for them.

How do I change the dates shown across the chart?

Select the horizontal axis and adjust its minimum and maximum bounds to the project’s earliest and latest dates. You can also change the major unit to display more or fewer date intervals. Excel may show date bounds as serial numbers; apply a date number format to make them readable. For a short project, daily labels can help; for a longer plan, weekly or monthly intervals may reduce clutter.

Conclusion

A clear Excel Gantt chart starts with task names, accurate start and end dates, and a consistent duration formula. A stacked bar chart places each task on the timeline; hiding its Start Date series reveals the schedule at a glance.

When dates change, update the task schedule and check the chart bounds, labels, and duration calculations. If you need to coordinate assignments, workflows, reporting, or team knowledge beyond a visual timeline, ONES.com offers separate project and knowledge management products for that work.