Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Add a Month Filter to a Pivot Table

· 7 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

You add a month filter to a pivot table by putting a date field in the Filters area and then using the date filter options to keep only the month you want, or by adding a helper column that extracts the month name and using that as the filter. The exact clicks depend on whether you are in Excel for Windows, Excel for Mac, or Google Sheets, but the logic is the same: the pivot table needs a field that represents the month, and that field goes into the filter area. The steps below cover Excel first because it has the most built-in date filtering, then note the differences for Google Sheets.

What You'll Need

  • Your source data in a table or range, with a real date column (not text that looks like a date).
  • Excel for Windows or Mac, or Google Sheets with the pivot table already created.
  • The pivot table built and at least one date field available in the field list.
  • If your dates are stored as text, a helper column to convert them, or you will need to fix the source data first.

Step-by-Step

  1. Check that your date column is a real date. Click a cell in the date column. If it is left-aligned by default or the number format shows General, it may be text. Real dates right-align and can be formatted as dates. If they are text, convert them with Data > Text to Columns or by using a formula such as =DATEVALUE(A2) in a helper column. A pivot table cannot group text as dates.
  2. Refresh the pivot table source. Click any cell in the pivot table, then go to PivotTable Analyze > Refresh (or right-click > Refresh). This makes sure any new helper column or corrected dates are picked up. Labels can differ slightly by version, device or region.
  3. Open the PivotTable Fields pane. If it is not visible, right-click the pivot table and choose Show Field List, or go to PivotTable Analyze > Field List.
  4. Drag the date field into the Filters area. In the field list, drag your date field from the top into the Filters box at the bottom. The pivot table now shows a filter drop-down above the table.
  5. Use the date filter drop-down. Click the filter arrow next to the date field above the pivot table. In the drop-down, choose Date Filters, then choose All Dates in the Period, then pick the month (for example, March). This keeps only rows whose date falls in March across all years, or you can choose Between and set the start and end dates for a specific month and year.
  6. Alternatively, group the dates by month. Right-click any date value inside the pivot table rows or columns, choose Group, select Months (and clear any other automatic grouping such as Years if you want a single month view), then click OK. The pivot table now has a Month field you can drag into the Filters area and filter to one month.
  7. For a month name filter without grouping, add a helper column. In the source data, add a column with a formula such as =TEXT(A2,"mmmm") to return the full month name, or =MONTH(A2) to return the month number. Refresh the pivot table, then drag that helper field into the Filters area and select the month you want.
  8. For Google Sheets, use the date filter directly. Click the filter drop-down on the date field in the pivot table editor, choose Filter by condition, then Date is, and pick the month and year. Google Sheets does not have the same "All Dates in the Period" menu as Excel, so filtering by a specific date range or using a helper column with =TEXT(A2,"mmmm") is the reliable route.
  9. Test the filter. Change the month selection and confirm the pivot table values update. If nothing changes, refresh the pivot table and check that the date field is in the Filters area, not Rows or Columns.

Common Mistakes

  • Dates stored as text. This is the most common reason date filters are greyed out or grouping fails. Convert the column to real dates before building the pivot table.
  • Putting the date field in Rows instead of Filters. That creates a row label for every date, not a filter. Drag it to the Filters area.
  • Forgetting to refresh. New helper columns and corrected dates do not appear in the pivot table until you refresh.
  • Filtering by month name only across multiple years. If you use All Dates in the Period > March, you get March from every year in the data. Use Between with exact dates if you need one specific month and year.
  • Grouping with extra fields selected. Excel may automatically add Years and Quarters when you group. If you only want months, clear those extra grouping levels in the Group dialog.
  • Using a calculated field when a helper column is simpler. Calculated fields work on summarized values, not row-level dates, so they often give wrong month results. A helper column in the source data is more reliable.

Tips

  • Name your source range as a table (Ctrl+T) so the pivot table picks up new rows and helper columns after a refresh.
  • Keep a separate helper column for month name and month number; the number sorts correctly, while the name is easier to read in a filter.
  • If you need a month filter that updates automatically, use a cell reference with a slicer or a report filter connected to a cell, rather than editing the filter each time.
  • In Excel, slicers (PivotTable Analyze > Insert Slicer) give a clickable month filter that is easier to use than the drop-down, once the date field is grouped by month.
  • Check regional date formats before using TEXT formulas; "mmmm" returns the month name in the system language, which may not match your labels.

Troubleshooting

  • Date Filters is greyed out: the field is text, not a date, or the field is not in the Filters area. Convert the dates and refresh.
  • Group option is missing: the pivot table is based on a data model or the dates are text. Check the source column format and rebuild the pivot table if needed.
  • Filter shows months but values do not change: refresh the pivot table, and confirm the filter is applied to the correct field and not to a different copy of the date field.
  • Month names appear in the wrong language: the TEXT formula uses the system language. Use a month number helper column instead, or set the formula language explicitly where supported.
  • Google Sheets filter does not offer a month option: use Filter by condition > Date is with a specific date, or add a helper column with the month name and filter on that.
  • Pivot table shows old data after changes: right-click the pivot table and choose Refresh, or Refresh All on the Data tab.

Frequently Asked Questions

Can I filter a pivot table by month without a helper column?

Yes, in Excel you can use the date filter options (All Dates in the Period) or group the date field by month. Google Sheets is more limited and usually needs a helper column or a specific date condition.

Why is my date filter greyed out?

The date column is probably stored as text, or the field is not in the Filters area. Convert the column to real dates and refresh the pivot table.

How do I filter for one specific month and year?

Use Date Filters > Between and set the first and last day of that month, or group by month and year and select the exact combination in the filter drop-down.

Does a month filter update when I add new data?

Only after you refresh the pivot table. If the source is an Excel table, new rows are included after Refresh; otherwise you may need to update the source range.

Can I use a slicer for months?

Yes, in Excel. Group the date field by month first, then insert a slicer for the month field. Google Sheets does not have slicers for pivot tables in the same way.

Why do I see months from every year?

The All Dates in the Period option ignores the year. Use Between with exact dates, or group by both month and year, to isolate a single month in a single year.