Calculating time elapsed in Hours/Min/Secs between two periods

itsmeemilie

New Member
Joined
Oct 20, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi,
I need to calculate the rest time between the end of a shift and the begining of the next one.
What formula would I need to use to calculate the elapsed amount of hours/mins between C2 and B3?

1666280559161.png
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Use a custom format of [h]:mm to show more than 24 hours.
 
Upvote 0
=INT(C2-B2)&" days "&TEXT(C2-B2,"h"" hrs ""m"" mins ""s"" secs""")
 
Upvote 0
The OP asks for hours/mins, not days.

$scratch.xlsm
ABCD
110/23/2022 19:00
210/25/2022 6:3035:30
Sheet11
Cell Formulas
RangeFormula
D2D2=B2-C1


Custom format [h]:mm
 
Upvote 0

Forum statistics

Threads
1,215,425
Messages
6,124,822
Members
449,190
Latest member
rscraig11

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