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

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

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,213
Messages
5,640,906
Members
417,177
Latest member
njosh

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