Is this possible?

sdh1607

New Member
Joined
May 24, 2011
Messages
1
I'm trying to create a spreadsheet that will calcualte the working hours of staff based on their allocated shifts, so everytime the persons name is typed into a cell on the allocation sheet a calculation of the adjacent 2 cells ie 08:00 08:30 equalling 0:30 is entered onto their time sheet for a given day and week. Is this possible and if so what would be the best way to do it??
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
I'm trying to create a spreadsheet that will calcualte the working hours of staff based on their allocated shifts, so everytime the persons name is typed into a cell on the allocation sheet a calculation of the adjacent 2 cells ie 08:00 08:30 equalling 0:30 is entered onto their time sheet for a given day and week. Is this possible and if so what would be the best way to do it??

You would need to have a record of who works what hours stored in a table. Say for instance in your sample the name you enter is Dave, and he only eber works from 08:00 08:30 then in a table somewhere this would need to be recorded. THen in your time sheet you can have a Vlookup that will refer to previously entered shifts and draw the start/end times across. Is this something like what you need?

The times applicable to all the employees would need to be stored somewhere. The allocated shift times i've stored in the table named ShiftTable whick goes from K4:M9

Excel Workbook
KLMN
3StartEnd
4Dave08:0008:45
5Allan08:4509:30
6Sally09:3011:00
7Pete11:0012:45
8Rachel12:4514:00
9Simon14:0016:00
10
11
12EmployeeStartEndTotal
13Rachel12:4514:001:15
Sheet1
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,518
Messages
6,179,259
Members
452,901
Latest member
LisaGo

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