How to Format Multiple Tasks or Bars at Once in Microsoft Project
Question details
The user wants to apply consistent formatting to multiple tasks or bars simultaneously in Microsoft Project without editing them one by one.

- Product
- Microsoft Project 2013
- Device & OS
- not provided
- Scenario
- Applying bulk formatting to Gantt chart bars to group specific tasks visually.
- Observed behavior
- Formatting each task individually is time-consuming, so the user seeks a shared bar-style criterion to automate the process.
Ensure you have your Microsoft Project file open in the Gantt Chart view and know exactly which group of tasks you want to highlight with a specific format.
Use Flag Fields in Bar Styles to Format Multiple Tasks
Assign a shared Flag field to group specific tasks and apply a unique bar format to them all at once.
Instead of manually formatting tasks one by one, Microsoft Project allows you to create a custom Bar Style tied to a specific criterion, such as a Flag field. By changing the flag to 'Yes' for desired tasks, the formatting updates automatically.
Go to the 'Format' tab on the ribbon. In the Bar Styles group, click on 'Format' and then select 'Bar Styles'.
In the Bar Styles dialog box, scroll down to a blank row and type a name for your new custom bar style.
Under the 'Show For ... Tasks' column, select a flag field (for example, 'Flag1') from the dropdown menu to set it as the styling criterion.
Use the lower half of the dialog to choose the bar shape, pattern, and color, then click 'OK' to save the new style.
Insert the 'Flag1' column into your task table and change the value to 'Yes' for any task you want to apply the new formatting to.

Manage Your Projects Easily with WPS Office
While Microsoft Project requires a separate and costly subscription, you can easily create beautiful Gantt charts, track project timelines, and manage tasks for free using WPS Spreadsheet. WPS Office is a lightweight, all-in-one suite that perfectly handles your daily productivity needs.
- 1. Download WPS Office: Visit the official WPS website to download and install the free WPS Office suite.
- 2. Open Template Library: Launch WPS Spreadsheet and click on the 'Templates' section on the start screen.
- 3. Use Project Templates: Search for 'Gantt Chart' or 'Project' to find free, ready-to-use templates for tracking your tasks.

Frequently Asked Questions
Can I apply different colors to different groups of tasks?
Yes. You can create multiple custom Bar Styles in the Format menu and assign a different Flag field (e.g., Flag1, Flag2) to each style. Then, simply toggle the respective flags for your tasks to 'Yes'.
Why aren't my custom bar styles showing on the Gantt chart?
Ensure that the custom bar style is positioned correctly in the Bar Styles list. Microsoft Project applies styles from top to bottom, so your custom style must be placed below the default task styles to successfully override them.
Is there a limit to how many Flag fields I can use?
Microsoft Project provides up to 20 default Flag fields (Flag1 through Flag20) that you can use as criteria for custom bar styles and data filtering.




