Work Hours calculation

jawaharprem

New Member
Joined
Apr 6, 2016
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Hi Team,

Please help this formula,

Need to calculate correct work hours by date & time tat is 2 hours from allocation date and closing date
Ex - 11/9/2021 12:34:06 AM - 11/10/2021 7:34:00 AM work hours should by 1 hours bzc after 1AM shift it closed and Saturday & Sunday should not consider
i using this formula but not getting correct hours.

=IF(A11="","",(NETWORKDAYS(A11,D11)-1-MOD(A11,1)+MOD(D11,1))*24)

AllocatedClaSentDClaRecDClosedProcessingTimeWaitingTimeFinalTimeTaken
11/9/2021 10:5911/9/2021 11:0111/9/2021 11:1011/9/2021 13:052.110.151.96
11/9/2021 20:0911/9/2021 20:440.580.58
11/9/2021 20:4111/9/2021 20:5011/9/2021 20:5711/9/2021 21:180.620.120.50
11/9/2021 0:3411/10/2021 7:3431.0031.00
11/12/2021 0:4711/15/2021 7:3030.7230.72

Please help on same.

Thanks.
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Work Hours Calculation
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0

Forum statistics

Threads
1,215,746
Messages
6,126,643
Members
449,325
Latest member
Hardey6ix

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