Chart & Visualization Issues

Plot Data with Different Time Intervals in an Excel Chart

Jason MillerJason Miller Nov 22, 2026 870 views

Question details

Plot two data series sampled at different time intervals on the same Excel chart.

Product
Microsoft Excel
Device & OS
not provided
Scenario
A user wants to compare five-minute and hourly measurements covering the same 24-hour period.
Observed behavior
Both series should appear at their actual measurement times on a shared horizontal axis.
Before you start

Arrange each series with its own timestamp column and measurement column. Ensure timestamps are recognized as Excel dates or times, and include dates if the measurements cross midnight.

Solution 1Recommended

Use an XY scatter chart with a shared time axis

Use each series' timestamps as X values so Excel positions five-minute and hourly measurements according to their actual times.

1
Insert a scatter chart

Select the first series' timestamp and measurement columns, then choose Insert > Scatter (X, Y) and select a scatter chart style.

2
Add the second series

Right-click the chart and choose Select Data. Under Legend Entries (Series), click Add, then select the hourly timestamp cells for Series X values and the corresponding measurement cells for Series Y values.

3
Check the first series

In Select Data, select the first series and click Edit. Confirm that Series X values point to its five-minute timestamps and Series Y values point to its measurements.

4
Format the time axis

Right-click the horizontal axis, choose Format Axis, and set an appropriate date or time format under Number. Adjust axis bounds if needed to show the full measurement period.

Use an XY scatter chart with a shared time axis
A second time axis is usually unnecessary: A shared XY axis places both series by their actual timestamps, regardless of sampling interval. Some Excel chart types and versions support a secondary horizontal axis, but it is not needed for this comparison.
Plot time-based data in WPS

Compare Different Sampling Intervals in WPS Spreadsheet

Use an XY scatter chart in WPS Spreadsheet to plot each series against its own timestamps on a shared time axis.

  1. 1. Open the workbook: Open your Excel file in WPS Spreadsheet and arrange each series with its own timestamp and measurement columns.
  2. 2. Create a scatter chart: Select the first series' timestamps and measurements, then choose Insert > Chart and select an XY scatter chart.
  3. 3. Add the other series: Select the chart and open Select Data. Add the second series, assigning its timestamps as X values and its measurements as Y values.
  4. 4. Format the horizontal axis: Right-click the horizontal axis and open Format Axis to display its values as dates or times and adjust the bounds if needed.
Plot five-minute and hourly measurements by their actual timestampsOpen and edit Microsoft Excel XLS and XLSX filesAdjust chart axes and formatting in a familiar spreadsheet interface
microsoft office alternative - wps office

Frequently Asked Questions

Do I need a secondary horizontal axis for five-minute and hourly data?

Usually not. In an XY scatter chart, assign each series its own timestamp cells as X values. Both series will then use the same time scale.

Why are my timestamps not spaced correctly on the chart?

Check that the chart is an XY scatter chart and that each series' X values reference actual date or time cells rather than text. Use Select Data > Edit to check the ranges.

What if my 24-hour data crosses midnight?

Include the date as well as the time in each timestamp. Otherwise, times after midnight may be plotted before times from the preceding evening.

When should I use a secondary vertical axis?

Use it when the series have very different measurement scales. Right-click the relevant series, choose Format Data Series, and select Secondary Axis under Series Options.