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

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

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,214,978
Messages
6,122,549
Members
449,089
Latest member
davidcom

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