Excel Chart Timeline: Create and Format One

Charts & pivot tables · Updated November 3, 2026

Excel Chart Timeline: Create and Format One

In Excel for Microsoft 365 on Windows, add a timeline that filters a chart by selecting its PivotTable and choosing PivotTable Analyze > Insert Timeline, then selecting a date field. For an ordinary chart, format the horizontal axis as a date axis; Excel’s Timeline control does not attach directly to a standalone chart.

What an Excel timeline does

An Excel timeline is a visual date filter for a PivotTable. It appears as a horizontal control with a time scale and a movable selection area. Drag the handles or click a time period to filter the PivotTable to dates in that range. If a PivotChart is based on the filtered PivotTable, the chart updates to show the selected period as well.

This distinction matters because people use “chart timeline” to mean two different things: a chart whose horizontal axis displays dates, or an interactive control that narrows the chart to selected dates. A date axis is a feature of many ordinary charts; a Timeline is a PivotTable filter. A chart can have one, the other, or both, but the interactive Timeline requires a PivotTable connection.

Prepare the date data

Before inserting a Timeline, check that the source data has a dedicated date column and that Excel recognizes its entries as actual dates. A useful source layout might have columns for Date, Product, and Sales, with one record per row. Dates that merely look like dates but are stored as text may not be available as a Timeline field or may behave inconsistently in a PivotTable.

  • Use one clear heading for the date column, such as Date or Order Date.
  • Keep dates in a consistent format and avoid mixing dates with labels such as “Unknown” in the same column.
  • Remove completely blank rows and duplicate header rows from the middle of the data.
  • For a growing dataset, consider converting the source range to an Excel Table with Insert > Table. A PivotTable based on a Table can use new rows after the PivotTable is refreshed.

If Excel groups dates unexpectedly or will not offer the field for a Timeline, inspect the source for text dates, blanks, errors, or mixed data types. Correct the source values, then refresh the PivotTable. Formatting a text value to look like a date does not convert it into a real date.

Create a PivotTable and chart

Start by clicking a cell in the source data and choosing Insert > PivotTable. Confirm the table or range and choose where the PivotTable should go. In the PivotTable Fields pane, place the date field in Rows and a measure such as Sales in Values. Excel may automatically group dates by month, quarter, or year; that grouping is separate from the Timeline control.

To create a chart connected to this PivotTable, select a cell in it and choose Insert > PivotChart. Choose a chart type suited to the data—for example, a line chart for a trend over time or a clustered column chart for comparing totals by month. The chart is linked to the PivotTable, so filters applied to that PivotTable also affect the chart.

Another route is to create the PivotTable first, add the Timeline, and then insert the PivotChart. The important point is that the chart must be a PivotChart based on the PivotTable the Timeline filters. An ordinary chart built from a separate range will not automatically respond just because a Timeline is visible nearby.

Insert and use the Timeline

Click inside the PivotTable, then choose PivotTable Analyze > Insert Timeline. In the list of available date fields, select the field to filter and choose OK. The Timeline appears on the worksheet. If the command is unavailable, verify that the selection is inside a PivotTable and that the source contains a usable date field.

Use the time-unit menu on the Timeline to choose a scale such as Years, Quarters, Months, or Days. The available scale depends on the date range and the selected field. Click a period to filter to it, or drag the selection handles to include a range. To select a continuous span, drag across the scale; to clear the filter, use the clear-filter button on the Timeline.

The selection is a filter, not a change to the underlying source data. For example, selecting January through March displays records in those months in the PivotTable and its connected PivotChart; it does not delete the other months. You can still use other PivotTable filters, such as a Product field, at the same time.

Connect a Timeline to more PivotTables

A Timeline can sometimes control more than one PivotTable, which is useful when a dashboard contains several charts. Select the Timeline and use its contextual Timeline tab to open Report Connections (the command may be labeled PivotTable Connections in some Excel builds). Choose the PivotTables that should respond.

Only compatible PivotTables appear as available connections. They generally need to share the same underlying data source and PivotTable cache; PivotTables created separately from similar-looking ranges may not share one. If the second PivotTable is missing from the connections list, rebuild it by copying the first PivotTable or create both from the same source and cache. A Timeline cannot be connected to an ordinary chart or an unrelated PivotTable merely by selecting it in the worksheet.

For a dashboard, give the control a clear title, arrange it near the charts it filters, and check its connections after changing the workbook structure. A Timeline can filter several connected PivotTables, but it will not necessarily control every chart on a sheet. Test each chart by selecting different periods and confirming that its displayed values change as intended.

Format the chart’s date axis

If the goal is to show dates along the chart rather than filter them, use a date axis. Select the chart’s horizontal axis, right-click, and choose Format Axis. Under Axis Options, set Axis Type to Date axis when that option is available. Excel then spaces dates according to time rather than treating every label as an unrelated category. A date axis is especially useful when dates are unevenly spaced or some dates are missing.

In the Format Axis pane, adjust the date units, label interval, and bounds as needed. For instance, a daily dataset covering several years can become unreadable if every date label appears. Showing monthly or quarterly intervals can make the trend easier to scan without changing the values plotted. The Number section controls how the displayed dates are formatted; it does not change the underlying dates.

Line, area, and column charts commonly use a date axis. An XY scatter chart treats its horizontal axis as numeric, so Excel positions dates by their date serial values rather than as text categories. That can be useful when the spacing between observations matters, but formatting and axis options differ from a standard category axis. If dates appear in an unexpected order, check that the source cells contain true dates and sort the data chronologically.

Choose the right approach

The best method depends on what the reader needs to do. A Timeline is the strongest fit for an interactive report built around PivotTables, while a date axis is usually enough for a chart that simply presents a fixed date range. A regular Excel Table with date filters can also be suitable for a straightforward list or chart, but its filter dropdown is not the same visual, draggable Timeline control.

  • Use a PivotTable Timeline when users need to explore date ranges and the chart can be built as a PivotChart.
  • Use a date axis when the chart should show a time-based scale but does not need an interactive date filter.
  • Use a Table’s date filter when users need a simple way to show matching source rows and do not need the Timeline interface.
  • Use separate chart controls or a redesigned PivotTable when the report needs more complex interactions than one date filter can provide.

One common misconception is that adding dates to the horizontal axis creates a Timeline. It does not: the axis describes the plotted values, whereas the Timeline filters PivotTable records. Another is that every chart on the same worksheet will follow a Timeline. Only charts based on connected PivotTables respond automatically.

Common problems and fixes

If Insert Timeline is disabled or the date field is missing, first check that the active cell is inside a PivotTable. Then inspect the source date column for text, blank cells, errors, or mixed values. Correct the source and choose PivotTable Analyze > Refresh. If necessary, remove and recreate the PivotTable after cleaning the source.

If the Timeline appears but the PivotChart does not change, check that the chart is a PivotChart and that it is based on the PivotTable being filtered. For multiple PivotTables, open Report Connections and confirm the desired PivotTable is selected. Also check whether another filter is limiting the chart to no matching records.

If the chart’s dates appear crowded or uneven, decide whether the issue is the axis or the filter. A Timeline changes which dates are included; it does not automatically improve axis labels. Format Axis to adjust the date unit or label interval. If dates are in the wrong order, sort the source records and verify that Excel recognizes them as dates rather than text.

When new records are added, refresh the PivotTable so it includes updated data. If its source is a fixed cell range, new rows outside that range may be missed; using an Excel Table as the source helps the range expand, though the PivotTable still needs a refresh. After refreshing, check the Timeline’s available span and the chart’s results.

Frequently Asked Questions

Can I add a Timeline to a normal Excel chart?
No. Excel’s Timeline control filters PivotTables. To make a chart respond to one, create a PivotTable and a PivotChart based on it, then insert the Timeline for the PivotTable’s date field.

Can a Timeline filter multiple charts?
Yes, if the charts are PivotCharts based on PivotTables that the Timeline can connect to. Select the Timeline, open Report Connections or PivotTable Connections on its contextual tab, and select the compatible PivotTables.

Why can’t Excel see my date field?
The source values may be stored as text, contain blanks or errors, or be mixed with non-date entries. Correct the source so the column contains consistent real dates, then refresh or recreate the PivotTable and try inserting the Timeline again.

Does a Timeline change the dates in my source data?
No. It filters the PivotTable view and connected PivotChart; it does not edit or remove source records. Clearing the Timeline filter restores the full date range to the report.

What is the difference between a Timeline and a date axis?
A Timeline is an interactive PivotTable date filter. A date axis is the chart’s horizontal time scale. A PivotChart can use both: the Timeline selects which dates are shown, and the axis determines how those dates are displayed.

Related

Try it: the Percentage Formula Generator: percent of, percent change, increase and decrease, with the formula.

More in Charts & pivot tables

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.