Others

Create a Phase-Colored Gantt Chart in Microsoft Project

Khadija KhanKhadija Khan Nov 20, 2026 870 views

Question details

Recreate an Excel-style Gantt schedule in Microsoft Project with distinct colors for each project phase.

Product
Microsoft Project
Device & OS
not provided
Scenario
An Excel schedule displays design, pre-construction, and construction phases in different colors, potentially with multiple phases on one project row.
Observed behavior
The desired chart shows linked phase tasks in their respective colors and can display those phases on a project summary row.
Before you start

List each project's phases, dates, and dependencies from the Excel schedule. Decide which color to use for design, pre-construction, and construction, and whether the phases should also appear on summary rows.

Solution 1Recommended

Build phase tasks and apply custom Gantt bar styles

Use flag fields and bar styles to color each phase automatically, with optional rollups for a compact summary.

1
Create the project hierarchy

Open the Gantt Chart view and enter a row for each project, followed by separate rows for design, pre-construction, and construction. Select the phase rows and use Task > Indent Task to place them under the project summary task.

2
Set dates and dependencies

Enter durations and start dates as needed. Select phase tasks in sequence and choose Task > Link Tasks, or enter their relationships in the Predecessors column.

3
Identify each phase

Use Add New Column to add Flag1, Flag2, and Flag3. Set Flag1 to Yes for design tasks, Flag2 to Yes for pre-construction tasks, and Flag3 to Yes for construction tasks.

4
Create a custom view

Open View > Gantt Chart > More Views, copy the Gantt Chart view, and give the copy a descriptive name. Apply the copied view before changing its formatting.

5
Format the phase bars

In the custom view, open Format > Bar Styles. Add styles for Flag1, Flag2, and Flag3, set each bar to run from Start to Finish, and choose a distinct color for each phase.

6
Roll phases up to summary rows

If you want phases displayed on the project summary row, add the Rollup column and set it to Yes for the relevant phase tasks. In Format > Bar Styles, configure styles for rolled-up tasks using the corresponding phase flags and colors.

Build phase tasks and apply custom Gantt bar styles
Check the bar style order: Bar styles can overlap. If a phase color is hidden by another style, review the style order and task conditions in Format > Bar Styles.
Free Microsoft Office alternative

Manage an Excel-Style Phase Schedule in WPS Spreadsheets

WPS Office is a free, lightweight Office alternative with a familiar interface. Open an existing Excel schedule in WPS Spreadsheets to maintain a phase-colored worksheet without starting over; it does not replace Microsoft Project's native Gantt view configuration.

Maintain a color-coded project phase schedule in a spreadsheetOpen and edit Microsoft Excel XLSX and XLS filesUse a familiar spreadsheet interface for an easier transitionWork with a free, lightweight Office suite
microsoft office alternative - wps office

Frequently Asked Questions

How do I assign a color to every design phase?

Add the Flag1 column and set it to Yes for each design task. Then create a Flag1 bar style with the desired color under Format > Bar Styles.

Can the phase bars appear on one project row?

Yes. Indent the phases under a project summary task, set Rollup to Yes for the phase tasks, and configure rolled-up bar styles with the appropriate flags and colors.

Why should I use a custom Gantt view?

A copied view lets you format the phase bars without changing the default Gantt Chart view. Open View > Gantt Chart > More Views to copy the view.

How do I connect the project phases?

Select the phase tasks in the intended sequence and choose Task > Link Tasks, or specify the relationships in the Predecessors column.