Hours that Fall within a billing category

Korallis

New Member
Joined
Sep 11, 2018
Messages
5
Hi guys,
I have been strugling with this for Days.
i am at a complete loss.

basicaly i have the following

Candidate
Client
Date
Day
Start
End
TotalBreak
Working
Type
Ref
Ref2
A
B
06/09/2018
Thu
19:30
07:30
12
1
11
RGN
152
45358335
B
B
06/09/2018
Thu
07:30
19:30
12
1
11
RGN
15335534324
C
09/09/2018
Sun
19:30
07:30
12
1
11
RGN
154
3583546

<tbody>
</tbody>


above the list is a rules list

Weekday Billing
06:00 - 20:00 - Day
20:00 - 06:00 - Night
20:00 - 24:00 - Friday Night
24:00 - 24:00 - Saturday
24:00 - 24:00 - Sunday

so on a sunday night for example. untill midnight the billing is a sunday rate from 00:01 until 06:00 is night and 06:01 until 20:00 is a day rate

so i need to be able to extract the times that fall within the specified charge rate

for example

Candidate
Day
Night
Sat
Sun
A
2
10
0
0
B
12
0
0
0
C
1.5
6
0
4.5

<tbody>
</tbody>


Can anyone Help?
i have attached a sample sheet

https://icare24-my.sharepoint.com/:...FCnoKT1frGwoUBGhlcIFT7VO1pycEmVvVG8w?e=XuGX34
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Forum statistics

Threads
1,216,077
Messages
6,128,680
Members
449,463
Latest member
Jojomen56

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