Related topics
×
PivotTables
Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.
PivotTables

Group or ungroup data in a PivotTable

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

Your browser does not support video. Install Microsoft Silverlight, Adobe Flash Player, or Internet Explorer 9.

  1. In the PivotTable, right-click a value and select Group.

  2. In the Grouping box, select Starting at and Ending at checkboxes, and edit the values if needed.

  3. Under By, select a time period. For numerical fields, enter a number that specifies the interval for each group.

  4. Select OK.

  1. Hold Ctrl and select two or more values.

  2. Right-click and select Group.

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.

Dates that are grouped by months and quarters

  1. Select the group.

  2. Select Analyze > Field Settings. In the PivotTable Analyze tab under Active Field click Field Settings.

  3. Change the Custom Name to something you want and then select OK.

  1. Right-click any item that is in the group.

  2. Select Ungroup.

  1. In the PivotTable, right-click a value and select Group.

  2. In the Grouping box, select Starting at and Ending at checkboxes, and edit the values if needed.

  3. Under By, select a time period. For numerical fields, enter a number that specifies the interval for each group.

  4. Select OK.

  1. Hold Ctrl and select two or more values.

  2. Right-click and select Group.

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.

Dates that are grouped by months and quarters

  1. Select the group.

  2. Select Analyze > Field Settings. In the PivotTable Analyze tab under Active Field click Field Settings.

  3. Change the Custom Name to something you want and then select OK.

  1. Right-click any item that is in the group.

  2. Select Ungroup.

Need more help?

You can always ask an expert in the Excel Tech Community or get support in Communities.

See Also

Create a PivotTable to analyze worksheet data

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×