ananya11

New Member
Joined
Feb 1, 2018
Messages
6
HI all ,

I have some data in excel like

I need Calculate working time with in (working window) Monday To Friday 9:00 to 17:30

IN TimeOut Time
Working time
12-Jan-2017 09:24 AM12-Jan-2017 11:35 AM2:10:54
11-Jan-2017 04:09 PM16-Jan-2017 11:45 AM21:05:39


<tbody>
</tbody><colgroup><col><col><col></colgroup>
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Excel 2010
ABC
1In TimeOut TimeWorking Time
212-Jan-2017 09:24:00 AM12-Jan-2017 11:35:00 AM2:11:00
311-Jan-2017 04:09:00 PM16-Jan-2017 11:45:00 AM21:06:00
Sheet1
Cell Formulas
RangeFormula
C2=(NETWORKDAYS(A2,B2)-1)*("17:30"-"9:00")+MOD(B2,1)-MOD(A2,1)


See Barry Houdini's blog for more info: http://barryhoudini.com/businesshours.html<!--EndFragment-->
 
Upvote 0

Forum statistics

Threads
1,215,470
Messages
6,124,990
Members
449,201
Latest member
Lunzwe73

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