Overlapping Times and Date

longytravel

Board Regular
Joined
Aug 2, 2011
Messages
68
Hello all,

As ever, i wondering if anyone can help with a problem i am having.

In columns B & C of the attached i have some times and dates where we asked colleagues to work at short notice. In columns E & F is the time colleagues actually worked.

I would like to take each instance of when someone worked & confirm how many minutes overlap there are with instances where we asked them to work.
[TABLE="width: 347"]
<colgroup><col width="75" style="width: 56pt; mso-width-source: userset; mso-width-alt: 2742;"> <col width="82" style="width: 62pt; mso-width-source: userset; mso-width-alt: 2998;"> <col width="64" style="width: 48pt;"> <col width="130" style="width: 98pt; mso-width-source: userset; mso-width-alt: 4754;"> <col width="110" style="width: 83pt; mso-width-source: userset; mso-width-alt: 4022;"> <tbody>[TR]
[TD="width: 75, bgcolor: transparent"]B[/TD]
[TD="width: 82, bgcolor: transparent"]C[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 130, bgcolor: transparent"]E[/TD]
[TD="width: 110, bgcolor: transparent"]F[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, colspan: 2"]Asked To Work[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Worked - start[/TD]
[TD="bgcolor: transparent"]Stop[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]01/08/2018[/TD]
[TD="bgcolor: transparent"]10:00 - 11:00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]13/08/2018 08:00:00[/TD]
[TD="bgcolor: transparent"]10:00:00[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]01/08/2018[/TD]
[TD="bgcolor: transparent"]17:00 - 18:00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]03/08/2018 18:00:00[/TD]
[TD="bgcolor: transparent"]23:00:00[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]01/08/2018[/TD]
[TD="bgcolor: transparent"]19:00 - 21:00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]03/08/2018 17:00:00[/TD]
[TD="bgcolor: transparent"]18:30:00[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]02/08/2018[/TD]
[TD="bgcolor: transparent"]10:15 - 11:15[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]26/08/2018 07:00:00[/TD]
[TD="bgcolor: transparent"]20:15:00[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]02/08/2018[/TD]
[TD="bgcolor: transparent"]17:20 - 18:20[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]28/08/2018 17:30:00[/TD]
[TD="bgcolor: transparent"]18:30:00[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]02/08/2018[/TD]
[TD="bgcolor: transparent"]19:00 - 21:00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]14/08/2018 08:00:00[/TD]
[TD="bgcolor: transparent"]08:30:00[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]03/08/2018[/TD]
[TD="bgcolor: transparent"]10:20 - 11:20[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]06/08/2018 11:15:00[/TD]
[TD="bgcolor: transparent"]11:45:00[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]03/08/2018[/TD]
[TD="bgcolor: transparent"]19:15 - 21:15[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]16/08/2018 10:15:00[/TD]
[TD="bgcolor: transparent"]12:15:00[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]04/08/2018[/TD]
[TD="bgcolor: transparent"]19:10 - 20:10[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]28/08/2018 18:30:00[/TD]
[TD="bgcolor: transparent"]19:00:00[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]05/08/2018[/TD]
[TD="bgcolor: transparent"]10:00 - 11:00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]23/08/2018 23:00:00[/TD]
[TD="bgcolor: transparent"]23:45:00[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]05/08/2018[/TD]
[TD="bgcolor: transparent"]15:15 - 16:15[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]24/08/2018 17:50:00[/TD]
[TD="bgcolor: transparent"]18:20:00[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]06/08/2018[/TD]
[TD="bgcolor: transparent"]10:15-11:15[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]11/08/2018 07:00:00[/TD]
[TD="bgcolor: transparent"]13:00:00[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]06/08/2018[/TD]
[TD="bgcolor: transparent"]17:15-18:15[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]17/08/2018 17:00:00[/TD]
[TD="bgcolor: transparent"]18:00:00[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]06/08/2018[/TD]
[TD="bgcolor: transparent"]19:00-21:00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]01/08/2018 18:30:00[/TD]
[TD="bgcolor: transparent"]19:00:00[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]07/08/2018[/TD]
[TD="bgcolor: transparent"]12:00 - 13:00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]17/08/2018 13:45:00[/TD]
[TD="bgcolor: transparent"]15:45:00[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]07/08/2018[/TD]
[TD="bgcolor: transparent"]17:45 -18:45[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]23/08/2018 22:00:00[/TD]
[TD="bgcolor: transparent"]23:00:00[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]07/08/2018[/TD]
[TD="bgcolor: transparent"]19:20 - 21:00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]22/08/2018 20:15:00[/TD]
[TD="bgcolor: transparent"]22:15:00[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]08/08/2018[/TD]
[TD="bgcolor: transparent"]11:00 - 12:00[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]07/08/2018 07:15:00[/TD]
[TD="bgcolor: transparent"]08:00:00[/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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