Group Tasks by Field Values in Microsoft Project
Question details
Automatically group Microsoft Project tasks by project and feature field values.

- Product
- Microsoft Project
- Device & OS
- not provided
- Scenario
- A team tracks a large number of subtasks by project and feature and needs summary rows that reflect those field values.
- Observed behavior
- Tasks are organized under group summary rows based on their project and feature values, without restructuring the task outline.
Check that each task has the project and feature values you want to group by. If Feature Name is stored in a custom field, identify the underlying field, such as Text1, before creating the group.
Create a Task Group Using Project and Feature Fields
Use built-in grouping to display summary rows without changing the task outline.
Group summary rows organize the current view; they do not create permanent outline summary tasks or change task hierarchy.
Open the project and select View > Gantt Chart or another task view.
On the View tab, open the Group By list, select More Groups, and choose New.
Name the group, select the field containing the project name as the first criterion, and add the feature field as the next criterion. Choose an ascending or descending order for each field.
Save the group and apply it from the Group By list. Tasks with matching field values appear beneath their corresponding group summary rows.

Show the Project Summary Task
Display one overall summary for the project when you also need a top-level rollup.
Track Project and Feature Data in WPS Spreadsheets
For spreadsheet-based task tracking, try WPS Office as a free, lightweight alternative with a familiar interface. Open compatible Excel files and organize task data in WPS Spreadsheets; Microsoft Project grouping itself remains a Microsoft Project feature.

Frequently Asked Questions
Does grouping create permanent summary tasks in the outline?
No. Grouping displays group summary rows in the current view without changing the underlying task outline.
Can I group tasks by both project and feature?
Yes. Select View > Group By > More Groups > New, then add the project field as the first criterion and the feature field as the next criterion.
How do I show the overall Project Summary Task?
In Gantt Chart view, select Project Summary Task on the Format or Gantt Chart Format tab, in the Show/Hide group.
Can VBA configure a task group?
Yes. Microsoft Project VBA can create a task group with ActiveProject.TaskGroups.Add and configure its GroupCriteria. Grouping is an alternative to changing the outline hierarchy with VBA.




