I'm trying to count the number of shifts of employees by looking up by employee. The shift data is on a seperate worksheet. I would like to use a formula that refers to the cell for each employee and then finds the corresponding name and counts the number of shifts in the rows and columns on the next worksheet. I hope this makes sense.
Count problem.xlsx | ||||
---|---|---|---|---|
A | B | |||
1 | Total number of shifts | |||
2 | Employee 1 | |||
3 | Employee 2 | |||
4 | Employee 3 | |||
5 | Employee 4 | |||
6 | Employee 5 | |||
Datasheet1 |
Count problem.xlsx | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | Row Labels | Monday | Tuesday | Wednesday | Thursday | Friday | Grand Total | ||
2 | Employee 1 | 7.5 | 7.5 | 7.5 | 7.5 | 30 | |||
3 | Employee 2 | 7.5 | 7.5 | 7.5 | 7.5 | 30 | |||
4 | Employee 3 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 37.5 | ||
5 | Employee 4 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 37.5 | ||
6 | Employee 5 | 7.5 | 7.5 | 7.5 | 7.5 | 7.5 | 37.5 | ||
Datasheet 2 |