Calculation advice times

franciscloete1

New Member
Joined
Aug 23, 2018
Messages
6
Hope someone can help.

I have a set of data like this bellow (data1) I need to know what is the total amount of hours per week - I have 10 000 lines with different sets of times (data2). I need to get per line the total of hours per schedule times. as seen some of the lines have multiple times in them
Please some advice on this calculation.

data1
MOTUEWEDTHUFRISATSUN
2020/04/062020/04/072020/04/082020/04/092020/04/102020/04/112020/04/12
OFFOFF18:00-06:0018:00-06:0018:00-06:00OFFOFF
05:30-15:3005:30-15:3005:30-15:3005:30-15:3005:30-13:30OFFOFF


data2

Schedule timesINOutLunchTotal hours
05:00A
00:00​
05:30-15:30
05:30​
15:30​
01:00​
09:00​
05:30A
00:00​
06:00-15:00
06:00​
17:00​
01:00​
10:00​
06:00-16:00
06:00​
16:00​
01:00​
09:00​
06:00-18:00
06:00​
18:00​
01:15​
10:45​
06:30-15:30
06:30​
15:30​
01:00​
08:00​
06:30-16:00
06:30​
16:00​
01:00​
08:30​
06:30-16:30
06:30​
16:30​
01:00​
09:00​
06:30-17:00
06:30​
17:00​
01:00​
09:30​
07:00-15:30
07:00​
15:30​
01:00​
07:30​
07:00-16:00
07:00​
16:00​
01:00​
08:00​
07:00-16:30
07:00​
16:30​
01:00​
08:30​
07:00-17:00
07:00​
17:00​
01:00​
09:00​
07:00-17:30
07:00​
17:30​
01:00​
09:30​
07:00A
00:00​
07:30-16:00
07:30​
16:00​
01:00​
07:30​
07:30-17:00
07:30​
17:00​
01:00​
08:30​
09:00-18:00
09:00​
18:00​
01:00​
08:00​
09:30A
00:00​
18:00-06:00
18:00​
06:00​
01:15​
10:45​
9:30-18:00
09:30​
18:00​
01:00​
07:30​
 

Some videos you may like

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

Watch MrExcel Video

Forum statistics

Threads
1,123,380
Messages
5,601,293
Members
414,440
Latest member
Kim0204

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
Top