Grouping data in a PivotTable can help you show a subset of data to analyze. For example, you may want to group an unwieldy list date and time fields in the PivotTable into quarters and months
Group data
-
In the PivotTable, right-click a value and select Group.
-
In the Grouping box, select Starting at and Ending at checkboxes, and edit the values if needed.
-
Under By, select a time period. For numerical fields, enter a number that specifies the interval for each group.
-
Select OK.
Group selected items
-
Hold Ctrl and select two or more values.
-
Right-click and select Group.
Group by date and time
With time grouping, relationships across time-related fields are automatically detected and grouped together when you add rows of time fields to your PivotTables. Once grouped together, you can drag the group to your Pivot Table and start your analysis.
Name a group
-
Select the group.
-
Select Analyze > Field Settings. In the PivotTable Analyze tab under Active Field click Field Settings.
-
Change the Custom Name to something you want and then select OK.
Ungroup grouped data
-
Right-click any item that is in the group.
-
Select Ungroup.
Group data
-
In the PivotTable, right-click a value and select Group.
-
In the Grouping box, select Starting at and Ending at checkboxes, and edit the values if needed.
-
Under By, select a time period. For numerical fields, enter a number that specifies the interval for each group.
-
Select OK.
Group selected items
-
Hold Ctrl and select two or more values.
-
Right-click and select Group.
Group by date and time
With time grouping, relationships across time-related fields are automatically detected and grouped together when you add rows of time fields to your PivotTables. Once grouped together, you can drag the group to your Pivot Table and start your analysis.
Name a group
-
Select the group.
-
Select Analyze > Field Settings. In the PivotTable Analyze tab under Active Field click Field Settings.
-
Change the Custom Name to something you want and then select OK.
Ungroup grouped data
-
Right-click any item that is in the group.
-
Select Ungroup.
Need more help?
You can always ask an expert in the Excel Tech Community or get support in Communities.