How to create group in pivot table items?

Microsoft Excel provides its users with the feature of Pivot table. It is basically a summary tool which is used by the users to summarize particular data or information from a large datasheet. You can summarize or manage data from your worksheet by creating groups using the pivot table which may include sums or averages or other sort of statistics which will make your work cleaner, easier and quicker.

Here we will show you how you can group pivot table items. You can group the data based on Name, Date and Number. A detailed tutorial on this topic is given below.

Group Names/Products/Items

You have 7 items in the worksheet given below – GPU, Desktop table, Desktop chair, Power bank, PSU, Keyboard and mouse. Among them GPU, Power bank, PSU, Keyboard and mouse are electronic items and Desktop chair, and table are furniture items.

Create group in pivot

From the above data table, we create the following Pivot Table:

Create group in pivot

You can separate these two sort of items in two groups following the steps below.

Step 1: Press and hold Ctrl command key and select Desktop chair and Desktop table one by one and right click on your mouse. Now click on Group.

Create group in pivot

Step 2: Group 1 is created.

Create group in pivot

Step 3: Follow the same process for selection or click and drag from GPU to Mouse, then right click and select Group to create another group for the electronic items which will be Group 2.

Create group in pivot

Step 4: You can also change the names of the groups. Simply click on the name of a group and then change the name from Formula bar.

Create group in pivot

Step 5: If you want to minimize the groups just click on the minus sign.

Create group in pivot

Group Dates

The worksheet contains many dates like 12-Oct-2022, 7-Nov-2022, 8-Dec-2022 etc. You can create groups of these dates too for your work purposes.

Step 1: Click on any cell that have dates and then right click on your mouse. Click on Group.

Create group in pivot

 

Step 2: Select Days. Type any number in the Number of days box to select the range of dates you want to create. The dates are grouped based on 15 days range in the example below.

Create group in pivot

Step 3: Here we can see 11/11/22 – 25/11/22 is the range of dates with most Sum of Product Value.

Create group in pivot

Group Numbers

Here we will show you how you can group the data on your worksheet based on numbers. A pivot table is given below which is representing the Store no, Product value and Product amount. To create group numbers using this pivot table, follow the steps bellow.

Step 1: Click on any cell which has Product Value in it.

Create group in pivot

Step 2: Now select Pivot Table Analyze and Select Group Selection.

Create group in pivot

Step 3: A Grouping dialogue box will pop-up on your screen. Specify the Starting at, Ending at and By with your desired values as shown below in the picture based on your worksheet data and click OK.

Create group in pivot

Step 4: The data in this worksheet are Grouped based on the number range of product’s value. Here we can see Store 3 has the highest valued transaction between range $917-$1017.

Create group in pivot

Step 5: You can also create a matrix by dragging the grouped Product Value in column area.

Create group in pivotCreate group in pivot

This table can be used to analyze which stores does the high value transactions and which stores need to improve on its strategy for better sales.

How to Ungroup Numbers in Pivot table

These number groups created above can also be Ungrouped if needed. Simply click on any grouped number and then select Pivot Table Analyze and click Ungroup.

Create group in pivot

You may be interested:

  1. Financial Dashboards
  2. Sales Dashboards
  3. HR Dashboards

Leave a Comment

Your email address will not be published. Required fields are marked *

Categories