How to Create an Adjustable Date-Range Chart in Excel
Question details
The user needs to create an Excel chart that automatically updates and adjusts when filtering specific date ranges.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Visualizing time-series data where the user wants to quickly switch between different years, months, or specific dates without manually rebuilding the chart.
- Observed behavior
- A standard chart remains static, but the goal is to make it dynamically update and expand based on slicer filters or newly added records.
Ensure your source data has a dedicated column for dates, and verify that these dates are formatted as actual Excel date values rather than text.
Use an Excel Table with a Timeline or Slicer
Converting your data into an Excel Table allows you to use Slicers and Timelines, making your chart dynamic and automatically expandable.
By relying on an official Excel Table format instead of a standard data range, any linked chart will automatically recognize data filtering.
Using a Timeline or Slicer provides a visual, interactive button interface to control the visible data on your chart.
Select your entire data range (including headers) and press Ctrl+T, or go to the Insert tab and click Table. Ensure your date column contains real Excel date formats.
Select the newly created table, navigate to the Insert tab, and choose a Line Chart (or any preferred chart type) from the Charts group.
Click anywhere inside your table. Go to the Insert tab and click on Timeline (specifically for dates) or Slicer in the Filters group. Select your date column and click OK.
Use the inserted Timeline or Slicer to select specific years, months, or days. The chart will instantly adjust to display only the chosen date range.

Create Dynamic Charts with WPS Spreadsheet
WPS Spreadsheet offers robust tools to handle dynamic data visualization, fully compatible with Excel formats. You can easily insert tables, slicers, and charts to build interactive dashboards for free.
- 1. Open your data in WPS Spreadsheet: Launch WPS Office and open your workbook containing the date and value data.
- 2. Convert to Table: Highlight the data range, go to the Insert tab, and select Table to make the data range dynamic.
- 3. Insert a Chart: From the Insert tab, select Chart and pick a Line chart to visualize your time-series data.
- 4. Apply a Slicer: Go to the Insert tab, click Slicer, and select the Date column to easily filter the chart's date range.

Frequently Asked Questions
Why doesn't the Timeline option appear for my date column?
The Timeline feature requires your date column to be formatted as recognized Excel date values, not text. Select the column, right-click, choose Format Cells, and apply a Date format.
Can I use multiple slicers on the same chart?
Yes. As long as your chart is connected to an Excel Table or PivotTable, you can insert multiple slicers (e.g., one for Year and one for Region) to filter your data across different categories simultaneously.
Will the chart automatically include new data added tomorrow?
Yes, if your source data is formatted as an Excel Table. Tables automatically expand to include new rows added to the bottom, and any connected charts or slicers will update to reflect the new data.
How do I clear the date filter on my chart?
Simply click the 'Clear Filter' icon (a funnel with a red X) located in the top right corner of the Slicer or Timeline box to reset the chart to show all available dates.




