How can I filter a pivot table in Excel by a specific date range? 2

How can I filter a pivot table in Excel by a specific date range?

The process of filtering a pivot table in Excel by a specific date range involves selecting the desired date range and applying it as a filter to the pivot table. This allows for the data within the pivot table to be narrowed down to only include entries within the specified date range. This feature is useful for analyzing data within a specific time frame and can be easily adjusted to fit different date ranges as needed. By filtering the pivot table by a specific date range, users can efficiently analyze and summarize their data to gain insights and make informed decisions.

Excel: Filter Pivot Table by Date Range


Often you may want to filter the rows in a pivot table in Excel by a specific date range.

Fortunately this is easy to do using the Date Filters option in the dropdown menu within the Row Labels column of a pivot table.

The following example shows exactly how to do so.

Example: Filter Pivot Table by Date Range in Excel

Suppose we have the following dataset in Excel that shows the number of sales on various dates:

Before creating a pivot table for this data, click on one of the cells in the Date column and make sure that Excel recognizes the cell as a Date format:

Next, we can highlight the cell range A1:B10, then click the Insert tab along the top ribbon, then click PivotTable, and insert the following pivot table to summarize the total sales for each date:

Now suppose we would like to filter the pivot table to only show the dates between 1/5/2022 and 1/13/2022.

To apply this filter, click the dropdown arrow next to Row Labels, then click Date Filters, then click Between:

Excel pivot table filter date range

In the new window that appears, type 1/5/2022 and 1/13/2022 into the boxes for the date range:

Once you click OK, the rows in the pivot table will automatically be filtered to only show this date range:

Additional Resources

The following tutorials explain how to perform other common operations in Excel:

Cite this article

stats writer (2024). How can I filter a pivot table in Excel by a specific date range?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-can-i-filter-a-pivot-table-in-excel-by-a-specific-date-range/

stats writer. "How can I filter a pivot table in Excel by a specific date range?." PSYCHOLOGICAL SCALES, 28 Jun. 2024, https://scales.arabpsychology.com/stats/how-can-i-filter-a-pivot-table-in-excel-by-a-specific-date-range/.

stats writer. "How can I filter a pivot table in Excel by a specific date range?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-can-i-filter-a-pivot-table-in-excel-by-a-specific-date-range/.

stats writer (2024) 'How can I filter a pivot table in Excel by a specific date range?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-can-i-filter-a-pivot-table-in-excel-by-a-specific-date-range/.

[1] stats writer, "How can I filter a pivot table in Excel by a specific date range?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.

stats writer. How can I filter a pivot table in Excel by a specific date range?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.

Download Post (.PDF)
Slide Up
x
PDF
Scroll to Top