Calculating difference between Timestamps

stsithelpdesk

New Member
Joined
Nov 17, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I have a sheet which is time tracking tasks, we have a task generation timestamp, a "started task" timestamp and a "completed task" timestamp. I then have columns for calculating the difference between these timestamps. Generation > Started, Started > Completed and Generation > Completed. Where generation, started and completion all occur within the same day the calculations are working fine but when the time taken exceeds 24 hours the counter resets.

1700212399662.png


I think I can get the answers I want from splitting out the Days, Hours and Minutes and then combining the results in a further cell but I wondered if anyone can help me achieve this with a single formula?

Thanks!
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
I have a sheet which is time tracking tasks, we have a task generation timestamp, a "started task" timestamp and a "completed task" timestamp. I then have columns for calculating the difference between these timestamps. Generation > Started, Started > Completed and Generation > Completed. Where generation, started and completion all occur within the same day the calculations are working fine but when the time taken exceeds 24 hours the counter resets.

View attachment 102075

I think I can get the answers I want from splitting out the Days, Hours and Minutes and then combining the results in a further cell but I wondered if anyone can help me achieve this with a single formula?

Thanks!
Use a custom format of [h]:mm:ss
 
Upvote 0

Forum statistics

Threads
1,223,879
Messages
6,175,142
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top