Miuns Non Working Hours

vmjan02

Well-known Member
Joined
Aug 15, 2012
Messages
1,051
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
  5. 2013
I have this problem, here.

Now in a column A I have the End time and in column C in have the start time.

Am bit confused with the non working hours

From Sun to Thu it is 13:00:00 hrs -- Non working hours
On Friday it is 15:00:00 hrs -- Non working hours
On Saturday it is 12:00:00 hrs -- Non working hours

now here an employee can Swipe in on Monday and can swipe out on Thursday
1 Case
1) Its easy to get the total time (A-C).
2) But here need to exclude the non working hrs (Tue and Wed --(13+13))


now here an employee can Swipe in on Sunday and can swipe out on Friday
2 Case
1) Its easy to get the total time (A-C).
2) But here need to exclude the non working hrs (Monday to Thursday --(65:00:00))



INCIDENT CREATION_dateINCIDENT CREATION_dayINCIDENT Creat Start Time
END_date

<tbody>
</tbody>
END_day

<tbody>
</tbody>
END_Time

<tbody>
</tbody>
Actual Non Working Hrs Sun to ThuActual Non Working Hrs FridayActual Non Working Hrs SaturdayFinal Time Excluding Non working Hrs
5
Thursday

<tbody>
</tbody>
13:11:44

<tbody>
</tbody>
5

<tbody>
</tbody>
Thursday

<tbody>
</tbody>
15:44:51

<tbody>
</tbody>
13:00:0015:00:0012:00:00
1

<tbody>
</tbody>
Sunday

<tbody>
</tbody>
3:44:23

<tbody>
</tbody>
1

<tbody>
</tbody>
Sunday

<tbody>
</tbody>
15:17:27

<tbody>
</tbody>
13:00:0015:00:0012:00:00
1

<tbody>
</tbody>
Sunday

<tbody>
</tbody>
1:33:48

<tbody>
</tbody>
1

<tbody>
</tbody>
Sunday

<tbody>
</tbody>
11:23:51

<tbody>
</tbody>
13:00:0015:00:0012:00:00
1

<tbody>
</tbody>
Sunday

<tbody>
</tbody>
9:13:39

<tbody>
</tbody>
6

<tbody>
</tbody>
Friday

<tbody>
</tbody>
13:58:03

<tbody>
</tbody>
13:00:0015:00:0012:00:00
1

<tbody>
</tbody>
Sunday

<tbody>
</tbody>
0:16:51

<tbody>
</tbody>
2

<tbody>
</tbody>
Monday

<tbody>
</tbody>
13:22:19

<tbody>
</tbody>
13:00:0015:00:0012:00:00
3Tuesday11:48:227Saturday19:09:4513:00:0015:00:0012:00:00

<tbody>
</tbody>

Any Idea or formula as how this can be done, as the start and end can always vary. but final output will be excluding non working hrs.
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

Forum statistics

Threads
1,214,377
Messages
6,119,183
Members
448,872
Latest member
lcaw

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