Employee Scheduling Worksheet
Here's an idea to get you started.
...........A..........B.........C..........D...... ....E
1..................800......830.......900.......93 0
2......Joe....................X...........X....... ...X
3......Sue........X.........X...........X......... ....
4......Tia..................................X..... ......X
In your real file B1:E1 would be true Excel time values.
...........A..........B..........C
9.................Start.......End
10.....Sue........................
11.....Joe........................
12.....Tia........................
Enter this formula in B10:
=INDEX(B$1:E$1,MATCH("x",INDEX(B$2:E$4,MATCH(A10,A $2:A$4,0),0),0))
Enter this formula in C10:
=INDEX(B$1:E$1,MATCH("xx",INDEX(B$2:E$4,MATCH(A10, A$2:A$4,0),0)))
Select both B10 and C10 and copy down to B12:C12
...........A..........B..........C
9.................Start.......End
10.....Sue.....800.......900
11.....Joe.....830........930
12.....Tia......900.......930
If an employee did not work that day the formulas will return #N/A errors. I
would just let that happen then use conditional formatting to hide them.
--
Biff
Microsoft Excel MVP
"karyn" wrote in message
...
I have been using an excel workbook to create my employees schedules. I
have
8 worksheets in the workbook; one for each day of the week and the last, a
roll-up of all the schedules. In the individual daily worksheets I have
the
columns labels am through 11:30 PM and the rows as the employee names. I
manually enter X's through the times they are scheduled to work. The
roll-up
sheets has the columns as the day of the week and the row as the employee
name with the cells as the time frame they are working (i.e. 8:00-1630) I
was
wondering if there is a formula or a macro that will return the times
automatically on the roll-up sheet. I can send the attachment I have been
using.
Thanks
|