Grouping by quarters in an Excel Pivot Table can help you to summarize and analyze data more effectively.
Additionally, it can make it easier to identify significant patterns and trends in your data.
This tutorial shows how to group by quarters in Excel Pivot Table.
Table of Contents
Let’s consider the following data range showing the sales data of a particular company.
We want to create an Excel Pivot Table based on the data range and then group dates by quarters in the Pivot Table.
We use the steps below.
The data is in a normal range. Therefore, we can convert it to an Excel table before creating a Pivot Table.
Then, when we add new data to the table and save it, the Pivot Table will automatically update to include the latest data.
This automatic update eliminates the need to manually refresh the Pivot Table whenever we add new data to the source data.
If you're wondering what the difference is between an Excel table and an Excel range, click here to read an article I wrote about this difference.
To convert the normal range to a table, use the below steps:
Excel makes an intelligent guess of the reference of the data range and displays the Create Table dialog box.
If the guess is incorrect, you can make the necessary adjustment to the reference on the ‘Where is the data for your table?‘ box on the dialog box.
The normal data range is converted to a table as depicted below:
To create a Pivot Table based on the table, we have just created, we use the following steps:
Notice that in this example, we have dragged the Order Date field to the Rows box because it is the field containing dates.
We can group by quarters in the Pivot Table using the steps below:
Alternatively, on the Pivot Table Analyze contextual tab, click Group Selection on the Group group.
Excel displays the Grouping dialog box with the starting and ending dates already filled in based on the source data. However, you can change the dates if they are unsuitable for your work.
Note: We include Years in the selection because we want the quarterly sales grouped by each year separately.
Otherwise, if we select Quarters only, the quarterly sales for all the years will be combined, as seen below, and we shall be unable to analyze the quarters for each year separately.
The sales data is now grouped by quarters in the Pivot Table as shown below:
Note: Because we grouped the dates by more than one time-frame group, Excel added the Years field to the field list on the Pivot Table Fields task pane on the right of the Excel window.
The new field is not part of the source data. Instead, it has been created in the Pivot Cache to summarize the data, and it disappears when you ungroup the data.
One advantage of the new field is that we can drag it to the Columns box at the bottom of the Pivot Table Fields task pane,
Allowing us to summarize the data with quarters as row labels and Years as column labels, as shown below:
This tutorial explained how to group by quarters in Excel Pivot Table. We hope you found the tutorial helpful.
Other Excel articles you may also like:
I am a huge fan of Microsoft Excel and love sharing my knowledge through articles and tutorials. I work as a business analyst and use Microsoft Excel extensively in my daily tasks. My aim is to help you unleash the full potential of Excel and become a data-slaying wizard yourself.