Thanks for the macro pointer, Ken. Speaking of Poirot et al, as we were

- have you caught Jeeves and Wooster at all? Not murder-most-foul
stuff, but very well done. And then there's Wire in the Blood, and Waking
the Dead - both really good; but definitely not Christie! You probably know
of these, but just in case...
These sheets I'm working on - they're a voluntary effort, aimed at helping
out a large care facility that was and is struggling with scheduling, and
with getting acceptable reporting for management on two types of overtime -
normal (>40 hrs /wk) and continuity of care (CC) overtime (again >40 /wk)
where a single 12-hour shift is covered for the whole week by two nurses or
techs. The schedule user is ADON at the facility, and if you have any
inkling of how hard and long such folks work, you like I would cut her a lot
of slack in making the odd mistake in leaving a space where there shouldn't
be one. I'm just aiming to make it as easy to use (including usability and
making it easy to spot shifts that aren't covered) and as foolproof as
possible, while giving management the information they want. Of course,
it's a good learning experience for me, in my spare time (I manage a real
estate business - perfect for a retired physicist - not!)! I can't tell you
how much the help I've received on this list has meant to me, and eventually
to the quality of care for the patients. I know there has to be good
scheduling software out there, and maybe eventually management will see
sense and buy a commercial solution, but at the moment - no, they won't.
Thanks to you and all, once again. By the by - I have a puzzler in working
out/displaying the overtime, whenever anyone feels like doing something a
little clever; I have little idea how to do this. In a continuity of care
shift (each shift has a code, say R1), 2 people cover the whole week, for a
12-hour shift - one does 3 shifts a week, the other 4, and they probably
swap in the second week. This gives typically 8 hours of CC (contiuity of
care) overtime each week. CC overtime is thought of as "good" overtime.
Now - sometimes one of these workers will fill in on another shift (say R2)
when someone is sick. This bumps up their time, and we now have a mix of CC
and non-CC overtime. My current way of handling this sweeps all the
overtime into CC overtime, so CC is overstated, and, if the user fixes it
manually, the fix gets undone next time the macro is run. I can't even
begin to think of how to separate out the two. Here's the process. The
sheet user manually scans the sheet for a CC situation. Sometimes both
weeks are covered as CC, so she puts a 3 in a specific column for both
rows/people. If only week 1 is covered as CC, she enters a 1, and if only
week 2 is covered as CC, she enters a 2. The current macro looks for a 1, 2
or 3 in that column, goes to a different sub for each case, works out the
overtime worked for the CC week(s), and puts it into CC overtime. Ideally,
the macro should also look at the time contributed by different shift codes,
and, if there is a CC situation, allocate the overtime for the non-CC shift
to normal overtime, not CC overtime, while still correctly allocating CC
overtime. Tricky, and beyond me. Any suggestions/assistance gladly
received.
TIA,
Dan
<snip>