How to make a Gantt chart in Excel with start and end dates

Four tasks for a small site build start on Monday, January 5, 2026. Kickoff ends Friday, January 16. Design ends Thursday, January 29. Build ends Thursday, February 12. Review ends Wednesday, February 18. The chart is a stacked bar. One series is invisible and holds the days before the bar. The other series is the bar.

The workbook with this task list is the Gantt chart planner. A photo task that runs beside Kickoff, so Design starts after both, is How to add task dependencies to an Excel Gantt chart.

Holidays the schedule skips

OPM’s 2026 federal holiday schedule lists Birthday of Martin Luther King, Jr. on Monday, January 19, and Washington’s Birthday on Monday, February 16. Section 6103(a) of title 5 of the United States Code names Washington’s Birthday. That is the statutory name. Put both dates on a Holidays sheet:

Cell Date Holiday
A2 01/19/2026 Birthday of Martin Luther King, Jr.
A3 02/16/2026 Washington’s Birthday

Excel does not know that list. WORKDAY and NETWORKDAYS skip Saturday and Sunday on their own, and they skip a date only when the cell is in the holiday argument.

xl.us.holiday returns those two dates from the year and a name. The names need Microsoft 365, Excel 2024, or Excel for the web:

=xl.us.holiday(2026, "MLK")
=xl.us.holiday(2026, "Presidents")

Those return January 19 and February 16. The second key is Presidents even though the statute says Washington’s Birthday. The Gantt itself uses the two cells, so it still opens in Excel 2010.

End date from a workday count

WORKDAY does not count the start date. A task that lasts 10 working days, including the day it starts, adds 9. Kickoff starts January 5 and the workday count is 10, so the end is:

=WORKDAY(DATE(2026,1,5), 9, Holidays!A2:A3)

That is Friday, January 16. January 19 is after that Friday, so Martin Luther King Jr. Day does not move Kickoff.

The next task starts on the next working day:

=WORKDAY(DATE(2026,1,16), 1, Holidays!A2:A3)

January 17 and 18 are the weekend, and January 19 is on the holiday list, so Design starts Tuesday, January 20. Leave January 19 off the list and the same call returns Monday, January 19.

WORKDAY
=WORKDAY(D5, E5-1, Holidays!A2:A3)
=WORKDAY(D5,E5-1,Holidays!A2:A3)F5
Maple Street site
ABCDEF
1TaskOffsetBarStartWorkdaysEnd
2Kickoff0121/5/2026101/16/2026
3Design15101/20/202681/29/2026
4Build25141/30/2026102/12/2026
5Review3962/13/202632/18/2026
A picture of the sample. Holidays!A2 is January 19, 2026 and Holidays!A3 is February 16, 2026. WORKDAY does not count the start date, so a 3-workday task adds 2. The bar is the end minus the start, plus 1. The offset is days after January 5.

Fill the end formula down. Design adds 7 working days to January 20 and ends Thursday, January 29. Build starts Friday, January 30, adds 9, and ends Thursday, February 12. Review starts Friday, February 13. The workday count is 3, so the call adds 2. February 14 and 15 are the weekend, and February 16 is Washington’s Birthday, so the working days are February 17 and February 18. The end is Wednesday, February 18.

Leave February 16 off the list and Review ends Tuesday, February 17. The holiday does not change the count of 3 working days. It pushes the end out by one calendar day.

The bar counts both the start and the end

NETWORKDAYS checks the workday count. It includes both ends when they are workdays. Review from February 13 through February 18, with February 16 in the holiday list, is 3. That matches the Workdays column. The same check on Kickoff is 10, on Design is 8, and on Build is 10.

The bar on the chart is calendar days, because a stacked bar is drawn in day-widths, weekends included:

=F2-D2+1

Review is February 18 minus February 13, plus 1, which is 6. Kickoff is 12, Design is 10, and Build is 14. A task that starts and ends on the same Friday has a bar of 1, so the bar is still visible.

The offset is how many days the bar waits after Monday, January 5:

=D2-DATE(2026,1,5)

Kickoff is 0. Design is 15. Build is 25. Review is 39. February 13 is 39 days after January 5.

Draw the stacked bar

  1. Row 1 is the header: Task, Offset, Bar, Start, Workdays, End.
  2. Type Kickoff’s start in D2 as 1/5/2026, and type the four workday counts in column E: 10, 8, 10, and 3.
  3. End in F2 is =WORKDAY(D2,E2-1,Holidays!A2:A3).
  4. Design’s start in D3 is =WORKDAY(F2,1,Holidays!A2:A3), and its end in F3 is =WORKDAY(D3,E3-1,Holidays!A2:A3). Build is the same pair one row down: D4 reads F3, and F4 reads D4. Review is D5 reading F4, and F5 reading D5. Each start reads the previous end, and each end reads its own start, so the chain is not a circular reference.
  5. Bar in C2 is =F2-D2+1. Offset in B2 is =D2-DATE(2026,1,5). Fill both down through row 5.
  6. Select A1:C5. That is the task name, the offset, and the bar.
  7. Insert a stacked bar chart.
  8. Format the Offset series with no fill and no line. The Bar series is the only one you see.
  9. Format the vertical axis and set categories in reverse order, so Kickoff sits on top.
  10. Set the horizontal axis minimum to 0. Day 0 is January 5, 2026. Day 39 is February 13.

The right edge of a bar sits on the date after the end date, because the length includes both the start and the end. Read the end from the End column. Review’s bar is 6 days long and the cell says February 18.

Where the project stands on January 23

The sample as-of date is Friday, January 23, 2026. Kickoff ended January 16, so it is finished. Build starts January 30, so it has not started. Design started January 20 and ends January 29.

NETWORKDAYS
=NETWORKDAYS(B3, B2, Holidays!A2:A3)/B4
=NETWORKDAYS(B3,B2,Holidays!A2:A3)/B4B5
As of January 23
AB
1Value
2As of1/23/2026
3Start1/20/2026
4Workdays8
5Complete50%
A picture of Design on Friday, January 23, 2026. NETWORKDAYS counts January 20, 21, 22, and 23. Four of the eight workdays are done, which a percent format shows as 50%.

January 20, 21, 22, and 23 are four working days. Four divided by 8 is 0.5. Format the cell as a percent and it shows 50%. A task the as-of date has not reached is 0. A task whose end is on or before the as-of date is 1.

=IF(AsOf<D2, 0, IF(AsOf>=F2, 1, NETWORKDAYS(D2, AsOf, Holidays!A2:A3)/E2))

AsOf here is DATE(2026,1,23). A live file can point that name at TODAY. The sample keeps the fixed Friday so the 50% does not move when the file opens next month.

The Monday of the start week

xl.week.start returns the Monday of the week that contains a date. Build starts Friday, January 30, 2026. WEEKDAY with return type 2 numbers that Friday as 5. January 30 minus 5 plus 1 is Monday, January 26:

=DATE(2026,1,30)-WEEKDAY(DATE(2026,1,30),2)+1

Kickoff’s Monday is January 5 itself, which is why the axis starts there. The name xl.week.start is the same subtraction. It needs Microsoft 365, Excel 2024, or Excel for the web.

A crew that closes Friday and Saturday

The chart above uses Saturday and Sunday as the weekend. WORKDAY.INTL takes a weekend string when the closed days are different. "0000110" is closed Friday and Saturday. The string starts on Monday.

WORKDAY.INTL
=WORKDAY.INTL(B1, B2, B3)
=WORKDAY.INTL(B1,B2,B3)B4
Friday and Saturday closed
AB
1Start1/5/2026
2Working days4
3Weekend0000110
4Result1/11/2026
A picture of a different weekend, not the Gantt above. The string starts on Monday. 1 means a day off, so Friday and Saturday are closed. The start date is not one of the four. This is the same call as the WORKDAY.INTL page.

Four working days after Monday, January 5 are Tuesday the 6th, Wednesday the 7th, Thursday the 8th, and Sunday the 11th. January 11 is the result. Ordinary WORKDAY, with Saturday and Sunday off, lands on Friday, January 9. Holidays are the fourth argument, after the weekend string. The Maple Street bars stay on WORKDAY.


Template for this article

Gantt Chart Project Planner

More from the blog