Pivot Table Issues

Group and Filter Excel PivotTable Dates by Month

Ayan MasoodAyan Masood Dec 2, 2026 869 views

Question details

Group transaction dates by month in an Excel PivotTable so they can be sorted and filtered from January through December.

Group and Filter Excel PivotTable Dates by Month
Product
Microsoft Excel PivotTable
Device & OS
not provided
Scenario
A user is analyzing transaction dates in a PivotTable and wants monthly rather than daily results.
Observed behavior
The desired view groups dates by month and allows filtering by month and, when needed, year.
Before you start

Make sure the source date column contains valid Excel dates rather than dates stored as text. Place the date field in the PivotTable Rows or Columns area before grouping it.

Solution 1Recommended

Group PivotTable dates by month

Use PivotTable grouping to replace daily date entries with monthly groups.

1
Select a date

In the PivotTable, right-click a date in the Rows or Columns area and select Group.

2
Choose monthly grouping

In the Grouping dialog, select Months. If the data spans multiple years, also select Years to keep the same months in different years separate, then click OK.

3
Filter the results

Open the date or month field's filter arrow in the PivotTable, select the months or years you want to display, and click OK.

4
Sort chronologically

Right-click a grouped month and select Sort, then choose the ascending option to display months from January through December.

Group PivotTable dates by month
If grouping is unavailable: Check the source date column for text, blank cells, or errors. Correct the source data, then right-click the PivotTable and select Refresh before trying Group again.
Group dates in WPS Spreadsheets

Group PivotTable Dates by Month in WPS Spreadsheets

Use a PivotTable in WPS Spreadsheets to summarize transaction dates by month and filter the resulting groups.

  1. 1. Open your workbook: Open WPS Spreadsheets and select File > Open to choose the workbook containing your transaction dates.
  2. 2. Create a PivotTable: Select the source data, choose Insert > PivotTable, and add the date field to the Rows area.
  3. 3. Group the dates: Right-click a date in the PivotTable, select Group, and choose Months. Also select Years if your data covers multiple years, then confirm.
  4. 4. Filter the months: Open the grouped date field's filter arrow and select the months or years to display.
Summarize transactions by month instead of individual dayFilter monthly PivotTable results for the period you needOpen and edit Microsoft Excel XLSX and XLS filesWork in a familiar spreadsheet interface
microsoft office alternative - wps office

Frequently Asked Questions

Why can't I group dates in my Excel PivotTable?

The source date column may contain text, blank cells, or errors. Correct the entries in the source data, then right-click the PivotTable and select Refresh before trying Group again.

How do I keep January from different years separate?

Right-click a PivotTable date, select Group, and choose both Months and Years in the Grouping dialog.

How do I show only certain months in the PivotTable?

Open the filter arrow for the grouped date or month field, select the months you want, and click OK.

Can I return to individual dates after grouping?

Right-click a grouped date or month in the PivotTable and select Ungroup.