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

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
=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,223,214
Messages
6,170,772
Members
452,353
Latest member
strainu

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