Consylion

Operations and Product

How to Make a Gantt Chart in Excel (With Real Dates)

You promised a date: a launch, a move, a delivery to a client. This guide shows how to make a Gantt chart in Excel with real calendar dates, formulas that keep them right, and a chart that moves when a task is late.

How to make a Gantt chart in Excel in five steps

Excel has no Gantt button. In Microsoft's words: "Though Excel doesn't have a predefined Gantt chart type, you can simulate one by customizing a stacked bar chart" (Microsoft Support, 2026). Each row gets two bars end to end: you hide the first one, the start date, and the second becomes the task. These steps are for Windows; the Mac path is in the FAQ.

Step by step

  1. Build the task table with three formulas. One row per task. Done when: only the first start date is typed.
  2. Insert a stacked bar chart. Select the Task, Start and Days on chart columns with their headers. Select Insert > Recommended Charts, open the All Charts tab and choose the stacked bar (Microsoft Support, Create a chart, 2026). Done when: each task has a two-color bar.
  3. Hide the start bars. Click the Start series and set its fill to No fill. Done when: each bar floats where its task begins.
  4. Put the first task at the top. Click the task axis (the vertical one). On the Format tab, select Format Selection > Axis Options and check Categories in reverse order (Microsoft Support, Change the plotting order, 2026). Done when: the tasks read in the order of the table.
  5. Start the date axis on day one. Click the date axis (the horizontal one), open Format Selection > Axis Options and type the Minimum, the Maximum and the Major unit. Done when: the first bar starts at the left edge, with one mark per week.

Consylion Insights · by email

Practical ideas for your business and your life, by email. And 5 free guides to start.

By signing up, you get access to the 5 Consylion Free Guides, the newsletter, and messages from Consylion by email. You can unsubscribe with one click. Privacy policy.

What is a Gantt chart?

A Gantt chart is a bar chart of a project's schedule: each row is a task, and each bar runs from the task's start date to its end date. It shows which tasks run at the same time and which ones hold the final date.

The chart is named for the mechanical engineer Henry Laurence Gantt (1861-1919) (Lehigh University Libraries, 2026). Wallace Clark wrote in 1922 that, during 1918, these charts were used in United States arsenals, with "work planned and work done" shown "in their relation to time" (Clark, 1922). If you have a project charter with three to five milestones, they become rows of your chart.

What is the formula for a Gantt chart in Excel?

A Gantt chart in Excel needs three formulas: the end date, the start after another task, and the length of the bar.

The end date uses WORKDAY, which Microsoft defines as the date "the indicated number of working days before or after a date", skipping weekends and holidays (Microsoft Support, WORKDAY function, 2026).

End = WORKDAY(Start, Work days - 1)

WORKDAY counts the days after the start. A 3-day task that starts on Monday, March 1, 2027 includes Monday, so it ends on Wednesday, March 3. =WORKDAY(Monday, 3) gives Thursday, one day late. The "- 1" is how I count a task that includes its first day.

Next start = WORKDAY(End of the task before, 1)

This is a dependency: a task that starts only when another one ends. When a task waits for two, use the later end: =WORKDAY(MAX(E4, E5), 1).

Days on chart = End - Start + 1

The chart draws calendar days. A 5-day task that crosses a weekend covers 7 calendar days.

Holidays go in the third argument, as a fixed range: =WORKDAY(B2, D2-1, $H$2:$H$10). For another work week, use WORKDAY.INTL, whose weekend argument "specifies when weekends occur" (Microsoft Support, WORKDAY.INTL, 2026).

Paste this table into cell A1 of an empty sheet. Then format columns B and E as Date and column C as Number.

Task	Start	Days on chart	Work days	End	After
Choose the coffees and the box size	=DATE(2027,3,1)	=E2-B2+1	3	=WORKDAY(B2,D2-1)	-
Order boxes and labels	=WORKDAY(E2,1)	=E3-B3+1	5	=WORKDAY(B3,D3-1)	1
Build the subscription page	=WORKDAY(E2,1)	=E4-B4+1	4	=WORKDAY(B4,D4-1)	1
Photograph the box	=WORKDAY(E3,1)	=E5-B5+1	2	=WORKDAY(B5,D5-1)	2
Test orders with 10 friends	=WORKDAY(MAX(E4,E5),1)	=E6-B6+1	3	=WORKDAY(B6,D6-1)	3 and 4
Launch	=WORKDAY(E6,1)	=E7-B7+1	1	=WORKDAY(B7,D7-1)	5

A1:C7 is the chart range. The "After" column is a note for people; column B does the linking.

A Gantt chart example: a subscription box launch

Example with numbers

A three-person coffee roaster launches a subscription box

Imagine a coffee roaster run by Maya, Leo and Sam. They launch a monthly coffee box, starting on Monday, March 1, 2027. They work Monday to Friday, with no holidays in the period.

# Task Work days After Start End Days on chart
1 Choose the coffees and the box size 3 - Mon, March 1 Wed, March 3 3
2 Order boxes and labels 5 1 Thu, March 4 Wed, March 10 7
3 Build the subscription page 4 1 Thu, March 4 Tue, March 9 6
4 Photograph the box 2 2 Thu, March 11 Fri, March 12 2
5 Test orders with 10 friends 3 3 and 4 Mon, March 15 Wed, March 17 3
6 Launch (milestone) 1 5 Thu, March 18 Thu, March 18 1

Check task 2 by hand. Its 5 work days are March 4, 5, 8, 9 and 10. The bar covers March 4 to 10: 10 - 4 + 1 = 7 calendar days.

Total work = 3 + 5 + 4 + 2 + 3 + 1 = 18 work days

They fit in 14 working days of calendar, March 1 to 18, because tasks 2 and 3 run side by side.

Task 3 has slack: days it can slip without moving the end date. It ends on Tuesday, March 9, but task 5 also waits for task 4, which ends on Friday, March 12. That is 3 working days of slack: March 10, 11 and 12.

Tasks 1, 2, 4, 5 and 6 have none. They are the critical path, the chain that holds the launch date. The Launch row is a milestone, a point in time rather than work, so it is 1 day long. Give it its own color.

Made-up example numbers. Replace them with yours.

Infographic

Infographic of the three Gantt chart formulas in Excel: End = WORKDAY(Start, Work days - 1), Next start = WORKDAY(end before, 1), with MAX for two tasks, and Days on chart = End - Start + 1, or 7 for task 2.
Gantt chart in Excel: the three formulas that keep every date rightDownload the infographic
Read the infographic as text

Each one applied to the coffee box launch, which starts on Monday, March 1, 2027

Type one date, let the formulas do the rest

  1. End date: End = WORKDAY(Start, Work days - 1). Task 1: 3 work days from Mon, March 1 end on Wed, March 3.
  2. Next start: Next start = WORKDAY(End of the task before, 1). Task 2: Thu, March 4. After two tasks: WORKDAY(MAX(E4, E5), 1).
  3. Days on chart: Days on chart = End - Start + 1. Task 2 runs Thu, March 4 to Wed, March 10: 7 calendar days.

Source: WORKDAY function: Microsoft Support (2026); the three date formulas: Consylion's criterion; made-up example by Consylion. Made-up example. Monday to Friday work week, no holidays.

Your instinct may say Excel is bad at Gantt charts and you need a template. The chart is the easy part; what breaks a schedule is dates typed by hand. Think of a row of dominoes: you push the first piece and watch where the row ends. With linked dates, the chart answers the real question: if this is late, what happens to the launch?

Why does my Excel Gantt chart start in the wrong place?

An Excel Gantt chart starts in the wrong place because Excel stores dates as numbers and picks the axis limits itself. Microsoft says that "by default, January 1, 1900 is serial number 1" (WORKDAY function page), so March 1, 2027 is 46447 to the chart. It sets the axis "minimum and maximum scale values" when it creates the chart (Microsoft Support, Change the scale of the axis, 2026), often far before your project.

In a bar chart, the values, here your dates, sit on the horizontal axis (Microsoft Support, Available chart types, 2026). Fix it in Format Selection > Axis Options of that axis:

Box What to type In the example
Minimum Serial number of the first start date 46447 (Monday, March 1, 2027)
Maximum A number a few days past the end of the last bar 46468 (Monday, March 22, 2027)
Major unit Days between marks: 7 for one per week 7 (marks on March 1, 8, 15 and 22)

Microsoft says to type a number in these boxes, so type the serial number, not the date. To find it, copy your first date into an empty cell and change its format to Number. This also covers workbooks from older versions of Excel that use the 1904 date system; the two systems are 1,462 days apart (Microsoft Support, Date systems in Excel, 2026).

Leave space at the end. The Launch bar starts at 46464 (March 18) and ends at 46465, so a Maximum of 46465 makes it touch the edge.

The other common mistake is using work days as the bar length. Drawn with 5 days, task 2 would end on Monday, March 8, two days before its real end on Wednesday, March 10.

Infographic

Infographic of one 5-work-day task that starts Thursday, March 4: a 5-day bar ends Monday, March 8, two days early; End - Start + 1 = 7 calendar days ends it on its real end, Wednesday, March 10.
Gantt chart in Excel: why a bar sized in work days ends too earlyDownload the infographic
Read the infographic as text

Task 2, Order boxes and labels: 5 work days from Thursday, March 4, 2027, across a weekend

The same task, two bar lengths

Bar = work days (The common mistake)

  • Start: Thu, March 4
  • Bar length: 5 days
  • Bar ends: Mon, March 8
  • 2 days early: the bar stops before the real end

Bar = End - Start + 1 (The fix: calendar days)

  • Start: Thu, March 4
  • End = WORKDAY(Start, 5 - 1): Wed, March 10
  • Bar length: 10 - 4 + 1: 7 days
  • Wed, March 10: the bar ends on the real end date

Source: WORKDAY function: Microsoft Support (2026); bar length rule: Consylion's criterion; made-up example by Consylion. Made-up example. Monday to Friday work week, no holidays. Its 5 work days are March 4, 5, 8, 9 and 10.

How do you update a Gantt chart when a task is late?

To update a Gantt chart when a task is late, change only that task's work days and let the formulas move the rest. Then look at the last bar: if it moved, the late task held the end date; if not, it had slack.

What changes What moves Launch
Boxes and labels take 7 days, not 5 Ends Fri, March 12; photos March 15 and 16; test orders March 17 to 19 Monday, March 22
The page takes 7 days, not 4 Ends Fri, March 12, the same day as the photos Stays Thursday, March 18

The boxes are on the critical path, so 2 more days move the launch by 2 working days. The page used its 3 days of slack; an 8th day would push the launch to Friday, March 19.

Excel does not move the axis for you. With the launch on March 22, the last bar ends at 46469, past the Maximum of 46468. Raise it, for example to 46475 (Monday, March 29). If the start moves, change the Minimum too.

I review the schedule once a week, on the same day. It saves a Sunday night of retyping dates and gives you an honest answer before the client asks.

How to make a Gantt chart in Google Sheets

In Google Sheets you use the same table and formulas, with other chart menus. Google's WORKDAY takes the same three arguments, and WORKDAY.INTL exists too (Google Docs Editors Help, WORKDAY, 2026).

Step Google Sheets
Insert the chart Insert > Chart, then Setup > Chart type: stacked bar (Google, 2026)
Colors, axis and order The chart editor's Customize tab: Series for bar colors, the axis sections for the rest (Google, Bar charts, 2026)
A ready view Timeline view, listed for Google Workspace editions (Google, 2026)

Both programs also allow a chart-free version. Put one date per column in row 1 from column I, and color the grid with the rule =AND(I$1>=$B2, I$1<=$E2). In Excel, pick "Use a formula to determine which cells to format" (Microsoft Support, 2026); in Sheets, "Custom formula is" (Google, 2026).

Heads up

In your country

  • Public holidays. List your country's public holidays in a column and use it as the third argument of WORKDAY.
  • The work week. If your team does not rest on Saturday and Sunday, use WORKDAY.INTL to choose the days off.
  • Date format. 03/04/2027 can mean two different days. Microsoft says dates "should be entered by using the DATE function": =DATE(2027,3,1).
  • The separator. Excel uses the list separator set in your operating system; the comma is the US English default (Microsoft Learn, 2026). If Excel rejects the comma, type your system's separator.

For the dates, check your country's official holiday calendar and your team's work rules.

Your first Gantt chart in 15 minutes

Hands-on · 30 minutes

Build your first Gantt chart in 15 minutes

  • Minutes 0 to 5: write 5 to 10 tasks, the work days of each and the task it waits for. For client work, take them from your scope of work. Done when: every task has days and a "waits for".
  • Minutes 5 to 10: paste the table, replace the tasks, type your first date with DATE and link each start to the task it waits for. Done when: only one date is typed.
  • Minutes 10 to 15: insert the chart, hide the start bars, reverse the order and set the axis. Done when: you can name the task with slack.

If your tasks do not depend on each other, an action plan with owners and dates may be enough.

The Project Management Handbook goes further, from Kanban to Scrum for a small business, with 24 tools and the Project management spreadsheet.

Today, build the table for your next project and type only the first date. Type one date. Let the formulas move the rest.

To take with you
Type one date. Let the formulas move the rest.

The Consylion standard of advice

How to use this advice

Where it comes from
Microsoft's own method for a Gantt chart in Excel (a stacked bar chart with the start bars hidden) and its WORKDAY function, with my three date formulas and my rule for the axis numbers, applied to one made-up project. The 17 sources are listed at the end of the article.
When it applies
  • A project with a clear end date and about 5 to 30 tasks, such as a launch, a move or a delivery to a client.
  • One to a few people who plan in Excel or Google Sheets and do not use project software.
Limits
  • WORKDAY skips Saturday and Sunday by default. If your team works another week or has public holidays in the period, add them, or the end dates will be wrong.
  • Excel does not move the chart axis when the project dates change. You reset the Minimum and the Maximum yourself.
  • The "work days - 1" rule assumes a task includes its first day. If your team counts durations another way, keep one rule for the whole table.
  • With many people editing at the same time, or many projects together, a project tool may work better than one spreadsheet.
In practice
One row per task, one typed date (the first), every other date from a formula, and a chart that reads the table.
How to measure the result
  • The planned launch date against the real one.
  • Tasks that finished on their end date, out of all tasks done.
  • Days of slack left on the tasks that do not hold the end date.
When to review
  • A task on the chain that holds the end date moves by one day or more.
  • The team, the work week or the holiday list changes.
  • Microsoft or Google change the chart menus.

Last reviewed on .

See all Operations and Product handbooks in the shop →

Frequently asked questions

Does Microsoft Excel have a Gantt chart template?
Yes. Microsoft offers free Gantt chart templates, and its help page says a Microsoft 365 subscription offers Gantt chart templates with visual reminders and color-coded categories. A template saves the formatting work. Check how it counts the end date before you trust it: if a 3-day task that starts on Monday ends on Thursday, the template counts one day too many.
Should a Gantt chart show days, weeks or months?
It depends on how long the project is. You set this with the Major unit of the date axis, which is a number of days. My criterion: for a project of up to two months, use 7, one mark per week. For a short project of one or two weeks, use 1. For a project of six months or more, use about 30, one mark per month.
Can I make a Gantt chart in Excel on a Mac?
Yes. Microsoft's written steps for the Gantt chart are for the Mac: Insert > Recommended Charts > Stacked Bar, then Format > Shape Fill > No Fill on the Start bars, then hold Control, select the task axis, choose Format Axis and, under Axis position, Categories in reverse order. A workbook from an older version of Excel may use the 1904 date system, so find your own first date's number.
When is Excel not enough for a Gantt chart?
My criterion: Excel works well up to about 30 tasks and one or two people who edit the file. Past that, or when several people change dates at the same time, a project tool keeps the links between tasks safer. If your tasks do not depend on each other, you may not need a Gantt chart at all: an action plan with owners and dates is enough.
Edson Oliveira

Written by

Edson Oliveira

Founder of Consylion and creator of the Consylion Protocol™

I have read more than 2,000 business books and gathered in the Consylion handbooks the methods a small business can apply. Here I write the step by step for you to use in your business, with examples and the source of every number.

How we produce this content

Topics come from the real questions of people who run a small business and from the methods in the Consylion handbooks. The text is written with the help of artificial intelligence and follows the Consylion editorial standard: every number, rule, and quote comes from a reliable source (public agencies, standards, laws, and surveys with published methodology) that was opened and checked, and it is listed at the end of the article; what cannot be verified is left out. Examples with numbers are illustrative and marked as such. When better data appears or the rules change, the article is reviewed. Last reviewed on . Read the full editorial policy.

Share it with someone who needs it

WhatsAppLinkedIn

Keep reading

More articles for you

Sources cited

  1. 01 Microsoft Support, Present your data in a Gantt chart in Excel (2026)
  2. 02 Microsoft Support, Create a chart from start to finish (2026)
  3. 03 Microsoft Support, Available chart types in Office (2026)
  4. 04 Microsoft Support, Change the scale of the vertical (value) axis in a chart (2026)
  5. 05 Microsoft Support, Change the plotting order of categories, values, or data series (2026)
  6. 06 Microsoft Support, WORKDAY function (2026)
  7. 07 Microsoft Support, WORKDAY.INTL function (2026)
  8. 08 Microsoft Support, Date systems in Excel (2026)
  9. 09 Microsoft Learn, Formula errors when list separator isn't set correctly (2026)
  10. 10 Microsoft Support, Use conditional formatting to highlight information in Excel (2026)
  11. 11 Google Docs Editors Help, WORKDAY (2026)
  12. 12 Google Docs Editors Help, Add & edit a chart or graph (2026)
  13. 13 Google Docs Editors Help, Bar charts (2026)
  14. 14 Google Docs Editors Help, Create & edit a timeline view (2026)
  15. 15 Google Docs Editors Help, Use conditional formatting rules in Google Sheets (2026)
  16. 16 Clark, W., The Gantt Chart: A Working Tool of Management, The Ronald Press Company, New York (1922), Internet Archive copy
  17. 17 Lehigh University Libraries, The Gantt Chart, in the exhibit At a Glance: Selected Works in the History of Data Visualization (2026)