How to Prevent Grouped Dates In Excel Pivot Table?

Last Updated : 20 May, 2026

Excel automatically groups dates in PivotTables into categories like Months, Quarters, and Years to help you analyze time-based data efficiently. However, in some cases, you may want to display raw dates instead of grouped ones.

What is Date Grouping in a Pivot Table

When you drag a Date field into the Rows or Columns section of a PivotTable, Excel often auto-groups it by:

  • Years
  • Quarters
  • Months
  • Days
  • Hours
  • Minutes
  • Seconds

While this is useful for high-level analysis, it can be problematic when you need to see individual dates.

Steps to Create a PivotTable in Excel

Lets first walk through the steps to create a basic PivotTable:

Step 1: Create an excel table with fields Date, Category, and Revenue.

Creating-excel-table
Excel dataset with Date, Category and Revenue columns ready for PivotTable creation

Step 2: Select the data. Navigate to the Insert tab on the top of the ribbon than in the Tables group select PivotTable.

selecting-pivot-table
Navigate to Insert > PivotTable to begin creating your Pivot Table."

Step 3: PivotTable from the table or range dialog box appear. Here select the table range and select the new worksheet and then click on OK.

selecting-new-worksheet
"Select the data range and choose to place the PivotTable in a new worksheet."

Step 4: Now you can see the Pivot table and Pivot table field pane in created. From the PivotTable fields pane, selects the Date and Revenue field. 

pivot-table-field-pane
Drag ‘Date’ to Rows and ‘Revenue’ to Values in the PivotTable Fields pane."

Step 5: Now as you can see, Pivot Table is created with the Date and the revenue field. 

pivot-table-created
Pivot Table is created with the Date and the revenue field. 

Group Dates by Month

Step 1: Here select any date and then right-click on it. Here select the Group option.

selecting-group-option
"Right-click on any date value in the Pivot Table to open the grouping options."

Step 2: Then Grouping dialog box will appear. Here, first fix the starting at and ending at then in the By pane select the Months option and then click on OK.

grouping-dialog-box
"Select ‘Months’ from the Grouping options to view revenue by month."

Step 3: Now you can see the table is showing only months with the revenue. 

table-showing-revenue
table is showing only months with the revenue. 

Group Dates by Years

Step 1: Now, right-click on the month and then choose a group option. Then Grouping dialog box will appear. Here first fix the starting at and ending at then in the By Pane select the Years option and then click on OK.

selecting-years
Add ‘Years’ to the grouping to analyze yearly revenue."

Step 2: Now you can see the table showing only years with the total revenue. 

revenue-by-years
the table showing only years with the total revenue. 

Group Dates by Quarters

Step 1: Now, right-click on the Years and then choose a group option. Then Grouping dialog box will appear. Here first fix the starting at and ending at then in By Pane select the Quarters option and then click on OK.

selecting-quarters
Enable 'Quarters' to view seasonal performance trends

Step 2: Now you can see the table showing only Quarters with the total revenue. 

revenue-by-quarters
the table showing only Quarters with the total revenue. 

Group Dates by Days

Step 1: Now again right click on the Quarters and then choose a group option. Then Grouping dialog box will appear. Here first fix the starting at and ending at then in the By pane select the Days option and select Number of days. Here we are selecting 20 and then clicking on OK.

selecting-days
Customize group intervals by selecting ‘Days’ and entering a value like 20."

Step 2: Now you can see the table showing Dates in 20 days grouping with the revenue. 

revenue-by-days
the table showing Dates in 20 days grouping with the revenue. 

Group Dates by Seconds, Minutes, and Hours

Step 1: Now again right click on the Days and then choose a group option. Then Grouping dialog box will appear. Here first fix the starting at and ending at then in the By pane select the Seconds, Minutes, and hours options. Then click on OK.

selecting-seconds-minutes-hours
"Group by Hours, Minutes, or Seconds for time-based datasets containing timestamps."

Step 2: Now you can see the table shows 00 in seconds, minutes, and hours. Because the time is not there in the pivot table. But it shows the total revenue.

revenue-shown
the table shows 00 in seconds, minutes, and hours.
Comment

Explore