Arafruafrog
New Member
- Joined
- Aug 25, 2017
- Messages
- 11
Hi Forum
I am trying to simplify a roster spreadsheet for payroll.
Sheet 1 Roster - job, staff and days working
[TABLE="width: 500"]
<tbody>[TR]
[TD]Job[/TD]
[TD]shift hours[/TD]
[TD]mon[/TD]
[TD]tue[/TD]
[TD]wed[/TD]
[TD]thur[/TD]
[TD]fri[/TD]
[/TR]
[TR]
[TD]job 1 [/TD]
[TD]0930-1800[/TD]
[TD]sally[/TD]
[TD]bill[/TD]
[TD]tom[/TD]
[TD]bob[/TD]
[TD]sally[/TD]
[/TR]
[TR]
[TD]job 2 [/TD]
[TD]0730-1600[/TD]
[TD]bill[/TD]
[TD]sally[/TD]
[TD]bob[/TD]
[TD]pete[/TD]
[TD]bob[/TD]
[/TR]
[TR]
[TD]job 3 [/TD]
[TD]0800-1630[/TD]
[TD]tom[/TD]
[TD]bob[/TD]
[TD]sally[/TD]
[TD]tom[/TD]
[TD]pete[/TD]
[/TR]
[TR]
[TD]job 4
[/TD]
[TD]0900-1800[/TD]
[TD]pete[/TD]
[TD]tom[/TD]
[TD]pete[/TD]
[TD]pete[/TD]
[TD]tom[/TD]
[/TR]
</tbody>[/TABLE]
What I am trying to do is automatically populate the payroll spreadsheet with the data from the roster eg: hours worked by each staff member.
I have tried a v and hlookup table with job and hours and then a sumif to look for staff member in the roster week but can not get my logic correct...
I want the payroll data to update automatically if I change a staff member in the roster
Sheet2 for payroll
[TABLE="width: 500"]
<tbody>[TR]
[TD]staff[/TD]
[TD]mon[/TD]
[TD]tue[/TD]
[TD]wed[/TD]
[TD]thur[/TD]
[TD]fri[/TD]
[/TR]
[TR]
[TD]sally[/TD]
[TD]0930-1800[/TD]
[TD]0730-1600[/TD]
[TD]0800-1630[/TD]
[TD][/TD]
[TD]0930-1800[/TD]
[/TR]
[TR]
[TD]bill[/TD]
[TD]0730-1600[/TD]
[TD]0930-1800[/TD]
[TD]sick[/TD]
[TD]sick[/TD]
[TD]sick[/TD]
[/TR]
[TR]
[TD]tom[/TD]
[TD]0800-1630[/TD]
[TD]0900-1800[/TD]
[TD]0930-1800[/TD]
[TD]0800-1630[/TD]
[TD]0900-1800[/TD]
[/TR]
[TR]
[TD]pete[/TD]
[TD]0900-1800[/TD]
[TD]arl[/TD]
[TD]0900-1800[/TD]
[TD]0900-1800[/TD]
[TD]0800-1630[/TD]
[/TR]
[TR]
[TD]bob[/TD]
[TD][/TD]
[TD]0800-1630[/TD]
[TD]0730-1600[/TD]
[TD]0930-1800[/TD]
[TD]0730-1600[/TD]
[/TR]
</tbody>[/TABLE]
Many thanks for any assistance from the excel gods....
Tee
I am trying to simplify a roster spreadsheet for payroll.
Sheet 1 Roster - job, staff and days working
[TABLE="width: 500"]
<tbody>[TR]
[TD]Job[/TD]
[TD]shift hours[/TD]
[TD]mon[/TD]
[TD]tue[/TD]
[TD]wed[/TD]
[TD]thur[/TD]
[TD]fri[/TD]
[/TR]
[TR]
[TD]job 1 [/TD]
[TD]0930-1800[/TD]
[TD]sally[/TD]
[TD]bill[/TD]
[TD]tom[/TD]
[TD]bob[/TD]
[TD]sally[/TD]
[/TR]
[TR]
[TD]job 2 [/TD]
[TD]0730-1600[/TD]
[TD]bill[/TD]
[TD]sally[/TD]
[TD]bob[/TD]
[TD]pete[/TD]
[TD]bob[/TD]
[/TR]
[TR]
[TD]job 3 [/TD]
[TD]0800-1630[/TD]
[TD]tom[/TD]
[TD]bob[/TD]
[TD]sally[/TD]
[TD]tom[/TD]
[TD]pete[/TD]
[/TR]
[TR]
[TD]job 4
[/TD]
[TD]0900-1800[/TD]
[TD]pete[/TD]
[TD]tom[/TD]
[TD]pete[/TD]
[TD]pete[/TD]
[TD]tom[/TD]
[/TR]
</tbody>[/TABLE]
What I am trying to do is automatically populate the payroll spreadsheet with the data from the roster eg: hours worked by each staff member.
I have tried a v and hlookup table with job and hours and then a sumif to look for staff member in the roster week but can not get my logic correct...
I want the payroll data to update automatically if I change a staff member in the roster
Sheet2 for payroll
[TABLE="width: 500"]
<tbody>[TR]
[TD]staff[/TD]
[TD]mon[/TD]
[TD]tue[/TD]
[TD]wed[/TD]
[TD]thur[/TD]
[TD]fri[/TD]
[/TR]
[TR]
[TD]sally[/TD]
[TD]0930-1800[/TD]
[TD]0730-1600[/TD]
[TD]0800-1630[/TD]
[TD][/TD]
[TD]0930-1800[/TD]
[/TR]
[TR]
[TD]bill[/TD]
[TD]0730-1600[/TD]
[TD]0930-1800[/TD]
[TD]sick[/TD]
[TD]sick[/TD]
[TD]sick[/TD]
[/TR]
[TR]
[TD]tom[/TD]
[TD]0800-1630[/TD]
[TD]0900-1800[/TD]
[TD]0930-1800[/TD]
[TD]0800-1630[/TD]
[TD]0900-1800[/TD]
[/TR]
[TR]
[TD]pete[/TD]
[TD]0900-1800[/TD]
[TD]arl[/TD]
[TD]0900-1800[/TD]
[TD]0900-1800[/TD]
[TD]0800-1630[/TD]
[/TR]
[TR]
[TD]bob[/TD]
[TD][/TD]
[TD]0800-1630[/TD]
[TD]0730-1600[/TD]
[TD]0930-1800[/TD]
[TD]0730-1600[/TD]
[/TR]
</tbody>[/TABLE]
Many thanks for any assistance from the excel gods....
Tee