How to Create an Excel Timeline with Clock Time and Elapsed Time
Question details
The user wants to build a minute-by-minute timeline that accurately tracks and displays both the actual clock time and the elapsed time since an event started.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Tracking the duration of a continuous event using regular time intervals (e.g., minute-by-minute).
- Observed behavior
- The goal is to automatically calculate sequential clock time values based on an interval length and properly format the elapsed duration using custom time formats.
Determine the exact start time of your event and the specific time interval (e.g., 1 minute, 5 minutes) you want each row of your timeline to represent.
Build the Timeline Using Formulas and Custom Formatting
Use basic addition with the TIME function to generate the sequential clock times, and absolute references combined with the [h]:mm:ss format to calculate the elapsed time.
To calculate elapsed time properly in Excel, it is crucial to use the correct custom number format. Standard time formats will reset to zero after 24 hours. Wrapping the hour indicator in square brackets ensures cumulative hours are displayed correctly.
In a blank worksheet, create two column headers: type 'Clock Time' in cell A1 and 'Elapsed Time' in cell B1.
In cell A2, type your event's starting clock time (e.g., 08:00 AM) and press Enter.
In cell A3, input the formula =A2+TIME(0,1,0) to add a 1-minute interval. Change the middle number if you need a different minute interval. Drag the fill handle from A3 down the column to generate the rest of the clock times.
In cell B2, calculate the difference from the start time by typing the formula =A2-$A$2. The dollar signs create an absolute reference to the start time.
Select the 'Elapsed Time' column (B). Right-click and choose 'Format Cells'. Go to the 'Custom' category, type [h]:mm:ss in the Type box, and click OK. Finally, drag the fill handle from B2 down to complete the timeline.

Build Timelines Effortlessly in WPS Spreadsheet
WPS Spreadsheet provides powerful and intuitive tools for managing time data. You can easily build clock time and elapsed time schedules with complete compatibility with Excel's time formulas and custom formatting.
- 1. Open a new workbook: Launch WPS Office and open a new Spreadsheet document.
- 2. Input time and formulas: Type your starting time in cell A2 and use the =A2+TIME(0,1,0) formula for subsequent rows.
- 3. Format for elapsed time: Right-click the elapsed time cells, select 'Format Cells', and apply the Custom format [h]:mm:ss.
- 4. Autofill your timeline: Drag the bottom-right fill handle down to instantly generate your entire event timeline.

Frequently Asked Questions
Why does my elapsed time reset to 0 after 24 hours?
Standard time formatting assumes a 24-hour clock and resets at midnight. To fix this and show total accumulated hours, select your cells, open the Format Cells dialog, and apply the custom format [h]:mm:ss.
How do I change the timeline interval to 15 minutes?
Modify the TIME function in your formula. Instead of =A2+TIME(0,1,0), use =A2+TIME(0,15,0). The TIME function parameters are TIME(hours, minutes, seconds).
Can I calculate elapsed time across different dates?
Yes. Ensure your input cells contain both the date and time (e.g., 10/25/2023 08:00 AM). Then, simply subtract the start cell from the end cell and apply the [h]:mm:ss custom format to the result.
Is it possible to show negative elapsed time if an event starts early?
By default, Excel and WPS Spreadsheet show '#####' for negative times when using the 1900 date system. To display negative times, you can change the formula to output text: =IF(A2<$A$2, "-" & TEXT($A$2-A2, "[h]:mm:ss"), TEXT(A2-$A$2, "[h]:mm:ss")).




