Pivot Table Issues

How to Group PivotTable Dates by Month and Year in Excel 2013

Rana GarciaRana Garcia Oct 28, 2026 871 views

Question details

The user wants to group dates in an Excel 2013 PivotTable by both month and year to summarize data such as sales.

How to Group PivotTable Dates by Month and Year in Excel 2013
Product
Microsoft Excel 2013
Device & OS
not provided
Scenario
Summarizing sales or date-based data in a PivotTable by specific time intervals like month and year.
Observed behavior
The goal is to successfully group PivotTable dates by month and year, ensuring no invalid date formats or blank cells block the grouping function.
Before you start

Ensure that all entries in your source data's date column are recognized as valid Excel dates. Blank cells or text values in the date column will prevent the grouping feature from working.

Solution 1Recommended

Group PivotTable Dates by Month and Year

Use the built-in Group feature in Excel 2013 to quickly summarize dates by multiple time periods.

Excel 2013 allows you to group date fields natively inside a PivotTable without needing extra formulas in your source data. By selecting both Months and Years, you ensure that January of one year is not mixed with January of another year.

1
Select a Date

Right-click on any valid date value inside your existing PivotTable's row or column area.

2
Open the Grouping Menu

Select 'Group...' from the context menu that appears.

3
Choose Time Intervals

In the Grouping dialog box, click on both 'Months' and 'Years' so they are both highlighted in blue.

4
Apply Grouping

Click 'OK' to apply the changes. Your PivotTable will now display data summarized hierarchically by year and then by month.

Group PivotTable Dates by Month and Year
Weekly Grouping: To group data by weeks instead, select only 'Days' in the Grouping dialog box and set the 'Number of days' field at the bottom to 7.
Work Smarter with WPS Office

Easily Group PivotTable Dates in WPS Office

WPS Office Spreadsheet provides a seamless and intuitive way to create PivotTables and group dates by month, year, or week. It easily handles large datasets and is fully compatible with your existing Excel files.

  1. 1. Open File: Open your spreadsheet containing the date values in WPS Office Spreadsheet.
  2. 2. Create PivotTable: Navigate to the Insert tab, click PivotTable, and drag your Date field into the Rows area.
  3. 3. Group Dates: Right-click any date cell in the PivotTable and select 'Group'.
  4. 4. Select Criteria: Choose 'Months' and 'Years' in the dialog box, then click OK to finish grouping.
Fully compatible with Microsoft Excel (.xlsx) formatsIntuitive PivotTable grouping for dates, months, and yearsFree and lightweight Office suiteFamiliar user interface with zero learning curve
microsoft office alternative - wps office

Frequently Asked Questions

Why is the 'Group' option grayed out in my PivotTable?

The Group option is typically disabled if your source data contains invalid dates, blank cells, or text entries in the date column. Check your source data, convert all text to valid dates, fill in or exclude blanks, and refresh the PivotTable.

Can I group dates by quarters in Excel 2013?

Yes. Right-click a date in the PivotTable, select Group, and highlight 'Quarters' along with 'Years' in the Grouping dialog box to summarize data quarterly.

How do I ungroup dates in a PivotTable?

To remove the grouping and return to individual dates, right-click any grouped date cell in your PivotTable (like the Year or Month header) and select 'Ungroup' from the context menu.