How to Make a Gantt Chart in Excel (Step by Step)

How to Make a Gantt Chart in Excel (Step by Step)

A Gantt chart shows a project as bars on a calendar: one row per task, each bar running from the task's start date to its end date. Excel has no Gantt chart button, but you don't need one. A task list, a row of dates and one conditional formatting rule draw the whole thing, and the bars redraw themselves whenever you change a date.

Step 1: Make the task list

Starting in row 5, set up these columns:

  • A: Task
  • B: Owner (optional)
  • C: Start date
  • D: End date

Put the headers in row 4 and type a few tasks below them, each with a start and end date. Format columns C and D as dates. Keeping the first three rows free leaves room for a title and the timeline header.

Step 2: Add the date row

The timeline runs across the top, one column per day, starting in column F (leave E empty as a gap).

  1. In F4, type the first date of your timeline, or have it follow your project: =MIN(C5:C50).
  2. In G4, type =F4+1.
  3. Copy G4 to the right for as many days as you need: 60 columns gives you two months.

The dates will be too wide to read. Select row 4's dates, use a custom number format of d to show just the day number, and make the columns narrow: about 3 characters wide (select columns F onward, right-click > Column Width). Optionally, label the months in row 3: put =TEXT(F4,"mmm") in F3, then =IF(DAY(G4)=1, TEXT(G4,"mmm"), "") in G3 and copy it across, so each month's name sits above its 1st.

Step 3: Draw the bars with conditional formatting

This is the one rule that turns a grid into a Gantt chart.

  1. Select the timeline area, from F5 across and down to the last task row (for example F5:BM50).
  2. Go to Home > Conditional Formatting > New Rule > Use a formula to determine which cells to format.
  3. Enter: =AND(F$4>=$C5, F$4<=$D5)
  4. Click Format > Fill, pick a colour and click OK.

The dollar signs matter. F$4 always reads the date row, and $C5 and $D5 always read the start and end columns, while the rest shifts to each cell. In words: colour this cell if its date falls between this task's start and end.

Your bars appear immediately. Change any date in C or D and the bar moves.

Step 4: Mark today

A today line shows at a glance what should be in progress. Add a second rule to the same range:

=F$4=TODAY()

Format it with a coloured left border, or a light fill, and make sure it sits below the bar rule in the rule list so bars still show on today's column.

Step 5: Shade weekends (optional)

A third rule, =WEEKDAY(F$4,2)>5 with a light grey fill, shades Saturdays and Sundays so you can see working days. Put it last in the list so bars draw over it.

Step 6: Show progress (optional)

Use the empty column E for Progress (a percentage per task) and add a darker rule for the completed part of each bar:

=AND(F$4>=$C5, F$4<$C5+($D5-$C5+1)*$E5)

Place it above the main bar rule. A task at 50% shows half its bar dark and half light.

Tips for a Gantt chart that stays useful

  • Keep tasks between two days and two weeks long. Longer tasks hide problems; shorter ones turn the chart into a to-do list.
  • Freeze panes at F5 (View > Freeze Panes) so task names and dates stay visible while you scroll.
  • Use a monthly view for long projects. For projects over a few months, a second timeline with one column per week or month is easier to read than hundreds of day columns.
  • Update dates, not bars. The bars are always right as long as the dates are. Review start and end dates in a weekly check-in.

Skip the build

Our Gantt Chart template for Excel is this, finished and polished: type each task's start and end date and the bars draw themselves on a daily and a monthly timeline, with status, priority, owner, budget, actual cost and progress per task, counters for active, late and completed tasks, and month buttons that jump the timeline. Running several projects at once, or working in Google Sheets? The Multi Project Planner Pro draws Gantt timelines for up to 24 projects in Excel and Google Sheets.

Regresar al blog