Excel formula to calculate elapse days/hours/mins between two dates

pinkyviolet08

New Member
Joined
Sep 23, 2020
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hi! can you please help me on how to get the elapse days/hours/mins between two dates/time, excluding holidays and Saturday from 4:01am until Monday 04:59pm ?
Work shift:
starts : 5:00 pm
ends : 04:00 am

Thanks in advance :)
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

padapinto

New Member
Joined
Sep 21, 2020
Messages
42
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
=INT(E51-E49)&" days "&TEXT(E51-E49,"h"" hrs ""m"" mins """) roughly between 2 dates just like you have written but to extract if holidays and weekends, your data must be looking a bit different or arranged differently. if i may ask, is it timesheet you are dealing with?
 

pinkyviolet08

New Member
Joined
Sep 23, 2020
Messages
3
Office Version
  1. 365
Platform
  1. Windows
=INT(E51-E49)&" days "&TEXT(E51-E49,"h"" hrs ""m"" mins """) roughly between 2 dates just like you have written but to extract if holidays and weekends, your data must be looking a bit different or arranged differently. if i may ask, is it timesheet you are dealing with?

this is for project tracking.
 

Watch MrExcel Video

Forum statistics

Threads
1,130,163
Messages
5,640,515
Members
417,149
Latest member
drbro

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
Top