Read compact elapsed time like 493015
Turn 493015 into a 49:30:15 duration that doesn't reset at 24 hours.
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | VALUE(LEFT(A8,LEN(A8)-4))/24 | Takes every digit before the last four as hours. | 49:00:00 |
| 2 | VALUE(MID(A8,LEN(A8)-3,2))/1440 | Takes the two minute digits and adds them. | 49:30:00 |
| 3 | VALUE(RIGHT(A8,2))/86400 | Takes the last two digits as seconds and adds them. | 49:30:15 |
Excel counts time in days, so each piece is divided into days. Adding them never resets at 24 hours.
=VALUE(LEFT(A8,LEN(A8)-4))/24+VALUE(MID(A8,LEN(A8)-3,2))/1440+VALUE(RIGHT(A8,2))/86400How to use it
Yellow bar at the top? Click Enable Editing.
- See it work. The Example tab shows 20 made-up examples with the formula already in.
- Use your own codes. Paste compact codes like 493015 into the green column of the Template tab. The durations fill in by themselves.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
If you copy a duration elsewhere, give that cell the format [h]:mm:ss. Otherwise 49:30:15 shows as 1:30:15.
Microsoft's help: VALUE function
OTHER ROUTES YOU MIGHT LIKE

Read duration text with 7 decimal places
-2.01:30:15.5000000 → -2.062679 days
Get the template →
Read a timestamp only if it ends in GMT
Wed, 04-Nov-2026 14:30:15 GMT → November 4, 2026 2:30:15 PM
Get the template →
Convert 20261104143015+0530 to UTC
20261104143015+0530 → November 4, 2026 9:00:15 AM
Get the template →
Show an appointment time as 1:05 PM
13:05:00 → 1:05 PM
Take this route →