Time logs

jtilleyx

New Member
Joined
Jul 3, 2021
Messages
6
Office Version
  1. 2010
Looking for some help on best approach:

I need to track how labor is allocated during an overnight shift 17:00 to 01:30 with a 30 minute break at 22:00. The labor can be assigned to 1 of 2 clients (Hugo & Morphe) at any given time. After assigned a client, labor can be assigned 1 ot 2 tasks (Pick or Pack) at any time.

I would like to create a simple log that can be completed each time an assignment is changed. Something like below:
NameClientTaskTime InTime OutLunch Y/N
Person 1HugoPick17:0022:30Y
Person 2HugoPack17:0022:00N
Person 3MorphePack17:001:30Y
Person 1MorphePack22:301:00N
Person 2HugoPack22:151:30Y
Person 1MorpheTrain1:001:30N


Each hour, on the hour, I need to be able to see how much time was spent in each task for each client
EX1: How many hours were used from 7PM-8PM PACKING HUGO
EX2: How many hours were used from 8PM-9PM PICKING MORPHE

Mini sheet example data

Labor Tracker Template.xlsx
ABCDEFGHIJKLMNOPQRS
1NameClientTaskTime InTime OutLunch Y/NNote 1Need to be able to see how many hours worked between a specified time period filtered by client and task
2Person 1HugoPick17:0022:30Y
3Person 2HugoPack17:0022:00N
4Person 3MorphePack17:001:30YNote 2If the time period worked spans 22:00-22:30 deduct 30 minutes
5Person 1MorphePack22:301:00N
6Person 2HugoPack22:151:30Y
7Person 1MorpheTrain1:001:30NExample OneTime17:00-18:000line(s) 2, 3, & 4 meet this criteria
8ClientMorpheonly line(s) 4 meets the criteria
9TaskPickline 4 does not meet this criteria - final result = 0
10
11Example OneTime22:00-23:000.75line(s) 5 & 6 meet this criteria
12ClientHugoonly line(s) 6 meets the criteria
13TaskPackline 6 worked 45 minutes between 22:00-23:00 - final result = 0.75
Time Log
Cells with Data Validation
CellAllowCriteria
A2:A7List=Data!$A$2:$A$4
B2:B7List=Data!$B$2:$B$3
C2:C7List=Data!$C$2:$C$4
K7List=Data!$F$2:$F$10
K8List=Data!$B$2:$B$3
K9List=Data!$C$2:$C$4
K11List=Data!$F$2:$F$10
K12List=Data!$B$2:$B$3
K13List=Data!$C$2:$C$4
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Edit: one last piece to complicate it:
If the "in time" meets the lower boundary criteria, but the "out time" has not been entered then use upper boundary value as "out time" to calculate duration
 
Upvote 0
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Time Tracking Log
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0

Forum statistics

Threads
1,214,615
Messages
6,120,538
Members
448,970
Latest member
kennimack

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