Plot Data with Different Time Intervals in an Excel Chart
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.
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.
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.
Select the first series' timestamp and measurement columns, then choose Insert > Scatter (X, Y) and select a scatter chart style.
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.
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.
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.

Add a secondary vertical axis for different value scales
Use this option when the two series share a time range but their measurement values have substantially different scales.
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. Open the workbook: Open your Excel file in WPS Spreadsheet and arrange each series with its own timestamp and measurement columns.
- 2. Create a scatter chart: Select the first series' timestamps and measurements, then choose Insert > Chart and select an XY scatter chart.
- 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. 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.

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.




