logo
search
Others

How to Customize Gantt Chart Milestone Icons by Field in Microsoft Project

Steven ParkerSteven Parker Oct 13, 2026 870 views

Question details

The user wants to display different levels of project milestones using distinct colors and shapes on a Gantt chart based on a custom Milestone Level field.

How to Customize Gantt Chart Milestone Icons by Field in Microsoft Project
Product
Microsoft Project
Device & OS
not provided
Scenario
Visualizing different priority levels or phases in a project timeline by assigning specific milestone symbols to custom field values.
Observed behavior
The user needs the precise steps to configure Microsoft Project's Bar Styles so that customized milestone shapes and colors automatically map to custom field parameters.
Before you start

Ensure your Microsoft Project file is open and that you have identified or created the custom Flag fields you will use to categorize your different milestone levels.

Solution 1Recommended

Use Custom Flag Fields and Format Bar Styles

This solution involves creating custom Flag fields to represent milestone levels, and then adding new bar style rules in the Gantt chart to apply specific colors and shapes to those flags.

Microsoft Project's 'Bar Styles' dialog does not allow formatting directly based on Text or Number fields. Instead, you must use 'Flag' fields (Yes/No). You can assign different flags to represent different milestone levels and set specific formatting rules for each flag.

1
Create Custom Flag Fields

Navigate to the 'Project' tab on the ribbon and click 'Custom Fields'. Select 'Flag' from the Type dropdown. Rename 'Flag1' to 'Level 1 Milestone' and 'Flag2' to 'Level 2 Milestone'.

2
Apply Flags to Tasks

In your task list, insert the new Flag columns. Set the corresponding Flag to 'Yes' for the milestone tasks you want to uniquely format (e.g., set Level 1 Milestone to Yes for primary milestones).

3
Access Bar Styles

Right-click anywhere on the empty portion of the Gantt chart area and select 'Bar Styles' from the context menu.

4
Add New Milestone Styles

Scroll down in the Bar Styles list and insert a new row. Name it 'Milestone Level 1'. In the 'Show For ... Tasks' column, type exactly 'Milestone, Flag1'.

5
Customize Icons and Colors

With the new row selected, look at the bottom half of the dialog under the 'Bars' tab. In the 'Start' section, choose your desired Shape, Type, and Color for Level 1. Repeat steps 4 and 5 for 'Milestone Level 2' using 'Flag2'. Click 'OK' to apply.

Use Custom Flag Fields and Format Bar Styles
Style Hierarchy Priority: Ensure your newly created custom milestone rows are placed below the default 'Milestone' row in the Bar Styles list, as MS Project applies styles from top to bottom.
Free Microsoft Office alternative

Manage Projects Seamlessly with WPS Office

While Microsoft Project is a specialized tool with a steep learning curve, you can effortlessly create, manage, and customize Gantt charts using the rich, free template library built into WPS Spreadsheet. Enjoy a lightweight, easy-to-use suite that supports standard Office formats and requires zero learning curve.

  1. 1. Download and Install WPS Office: Visit the official WPS Office website and click 'Download WPS Office Free' to get the lightweight installer.
  2. 2. Open WPS Spreadsheet: Launch the application and select 'Spreadsheet' from the home screen to start managing your project data.
  3. 3. Access Gantt Chart Templates: Click on 'Templates' in the top menu and search for 'Gantt Chart' to instantly load a fully formatted, ready-to-use project tracker.
Rich library of free, professionally designed Gantt chart and project management templates.Fully compatible with Microsoft Excel (.xlsx) formats, ensuring smooth file sharing.Lightweight software that runs seamlessly on Windows, Mac, and Linux.Familiar tabbed interface similar to MS Office, allowing for immediate productivity.
microsoft office alternative - wps office

Frequently Asked Questions

Can I use custom text fields instead of Flag fields to format milestones in MS Project?

MS Project's Bar Styles dialog relies on built-in task types or Flag fields (Yes/No) to trigger formatting. If you want to use a Text field, you must write a formula in a custom Flag field that returns 'Yes' when your Text field matches a specific value, and then format based on that Flag.

Why are my custom milestone icons not showing on the Gantt chart?

First, verify that the 'Show For ... Tasks' criteria in the Bar Styles dialog exactly matches your task properties (e.g., 'Milestone, Flag1'). Second, ensure that your custom style row is placed lower in the Bar Styles list than the default 'Milestone' row, so it correctly overrides the default formatting.

How do I change the default milestone shape for the entire project?

Right-click the Gantt chart view, select 'Bar Styles', find the default row named 'Milestone', and simply change the shape and color settings in the 'Start' or 'End' tab at the bottom of the dialog. Click 'OK' to update all standard milestones.

Can I export my Microsoft Project Gantt chart to Excel or WPS Spreadsheet?

Yes. You can export task data into a spreadsheet format via 'File' > 'Export' > 'Save Project as File'. If you want the visual Gantt chart itself, use the 'Copy Picture' feature in MS Project to take a snapshot of the chart and paste the image directly into Excel or WPS Spreadsheet.