You can build a working Gantt chart in Excel using a stacked bar chart and a little data setup. The trick is to plot each task's start date as an invisible bar and its duration as a visible bar, so the chart reads like a timeline. No add-ins or special templates are required — just Excel, your task list, and about ten minutes.

What You'll Need

  • Excel 2016 or later (desktop version recommended; the web version has limited chart formatting).
  • A table with at least: Task name, Start date, and Duration in days (or End date, from which you can calculate duration).
  • Dates formatted as real Excel dates (not text). You can check by selecting a cell — if it aligns right by default, it is likely a date.

Step-by-Step

  1. Set up your data table. In columns A, B, and C, enter Task, Start Date, and Duration (days). For example: A2 = "Research", B2 = 1/15/2025, C2 = 5. If you have an End Date instead, add a column D with the formula =D2-B2 to get duration.
  2. Add a helper column for start day number. In column D, enter a formula like =B2 (or =B2-INT(B2) if you want only the day fraction). This will become the invisible base of each bar. Copy down for all tasks.
  3. Select the data for the chart. Highlight the Task, Start Date (helper), and Duration columns — for example A1:D10. Do not include the End Date column if you added one.
  4. Insert a stacked bar chart. Go to Insert > Charts > Insert Column or Bar Chart > Stacked Bar. A chart appears with two series: one for the helper (start) and one for duration.
  5. Switch rows and columns if needed. If tasks appear on the vertical axis but the bars look wrong, click the chart, then Chart Design > Switch Row/Column. You want tasks listed vertically and time horizontally.
  6. Hide the start-date series. Click the first series (the base bar) and set its fill to No Fill. In the Format Data Series pane, under Fill, choose No Fill. The bar disappears, leaving only the duration bars floating at the correct start positions.
  7. Fix the horizontal axis. Right-click the horizontal axis, choose Format Axis, and set Minimum and Maximum to your project's start and end dates (as serial numbers). Set Major Unit to 7 for weekly ticks, or 1 for daily. This makes the timeline readable.
  8. Reverse the task order (optional). By default, the first task appears at the bottom. To flip it, right-click the vertical axis, choose Format Axis, and check "Categories in reverse order".
  9. Add task labels. Click the duration bars, then Chart Design > Add Chart Element > Data Labels > Inside End. Labels will show the duration value; to show task names instead, you would need to edit each label manually or use a helper column — Excel does not link data labels to a different column natively.
  10. Format for clarity. Remove the chart title, gridlines, and legend if they clutter. Set the duration bars to a solid color. Add a light border to the plot area if desired. Save your workbook.

Common Mistakes

  • Using text dates. If dates are stored as text, the axis will treat them as categories and the bars will not align. Convert with DATEVALUE or re-enter as real dates.
  • Forgetting to hide the base series. The start-date bars will show as a second color and confuse the timeline.
  • Including the End Date column in the chart data. This adds a third series and breaks the stacked layout. Only use Start and Duration.
  • Not adjusting the axis minimum. Excel may start the axis at zero, making all bars appear far to the right. Set the minimum to your project start date.
  • Leaving the legend on. With one visible series, the legend adds no value and takes space.

Tips

  • Use a separate sheet for the chart data and keep the chart on its own sheet for printing or sharing.
  • Add a "Today" line by adding a dummy task with zero duration at today's date, then formatting its bar as a thin red line — or use a scatter series with a vertical line (more advanced).
  • If you need dependencies (arrows between tasks), Excel cannot draw them automatically; consider a dedicated Gantt template or add-in from a trusted source.
  • For weekly reporting, set the major unit to 7 and format the axis labels as "d-mmm" to avoid clutter.
  • Keep durations in whole days; partial days will create fractional bars that are hard to read.

Troubleshooting

  • Bars are all the same length. Check that the Duration column contains numbers, not text. Also ensure the chart is using the correct series.
  • Bars start at the wrong date. Verify the helper column formula returns the start date, and that the axis minimum is set correctly.
  • Chart shows tasks as columns, not bars. You inserted a column chart instead of a bar chart. Delete and insert a stacked bar chart.
  • Axis labels show numbers instead of dates. The axis is set to a numeric format. Right-click the axis, Format Axis, Number, and choose Date.
  • Data labels show the wrong values. Excel labels the series values (duration), not task names. To show task names, you must edit each label manually or use a workaround with a helper column and custom labels (not native).
  • Chart does not update when data changes. Ensure the chart's data range includes the cells. If you add rows, you may need to drag the range or convert the data to an Excel Table (Ctrl+T) before inserting the chart.

Frequently Asked Questions

Can I make a Gantt chart in Excel without a stacked bar chart?

Not natively. Excel has no built-in Gantt chart type. The stacked bar method is the standard workaround. You can also use conditional formatting to create a grid-based Gantt, but it is less flexible for printing.

Why do my bars not line up with the dates on the axis?

This usually happens when the axis minimum is not set to your project start date, or when dates are stored as text. Set the axis minimum to the serial number of your start date (you can find it by temporarily formatting a date cell as General).

How do I show task dependencies?

Excel cannot draw dependency arrows automatically. You can add them manually using shapes (Insert > Shapes > Arrow) after the chart is built, but they will not move if the chart resizes. For complex projects, a dedicated Gantt tool is more practical.

Can I add a today marker?

Yes, but it requires a workaround. Add a new series with a single point at today's date and zero duration, then format it as a thin line. Alternatively, use a vertical line shape placed manually.

Does this work in Excel for the web?

Partially. You can insert a stacked bar chart, but some formatting options (like setting axis minimum and maximum) are limited or unavailable. For full control, use the desktop version.

How do I print the chart without the data table?

Select the chart, then File > Print. In the print settings, choose "Print Selected Chart" instead of "Print Active Sheets". You can also move the chart to its own sheet for cleaner printing.