J
Joe
Ok here's one that's been killing me This version works fine
B10 to 40 are numbered 1thru 31
C10 thru 40 represent the days of the month
with C3 thru 9 representing the 7 previous days of last month.
Hours on duty are entered into C3 - 40 for each day worked
D9 - 40 are the accumulated hours for the past 7 days
D9's formula is =SUM(C3,C4,C5,C6,,C7,C8,C9) this is only
for D9
D 10 - 40 is =IF(AND(ISBLANK(C10)),"",(F10-C3))
the cell references progress down to D40
E9 is the number of hours available for the next day ( limited to 70 and
below)
E9=70-D9
E10 - 40 =IF(AND(ISBLANK(C10)),"",(70-D10))
As I said it works perfectly. The problem is they changed the rules on me!!
Now when you take a consecutive 34 hours off you can reset your available
hours back to 70.
What I need is a way to do this in the sheet. I think I need to divide the
cell values by 24 or use a count or count if, but alas I'm not on that level
yet. Can anyone help me out please.
I am also just starting with Macros so if one is involved please be explicit
Answer in group or e-mail
(e-mail address removed)
B10 to 40 are numbered 1thru 31
C10 thru 40 represent the days of the month
with C3 thru 9 representing the 7 previous days of last month.
Hours on duty are entered into C3 - 40 for each day worked
D9 - 40 are the accumulated hours for the past 7 days
D9's formula is =SUM(C3,C4,C5,C6,,C7,C8,C9) this is only
for D9
D 10 - 40 is =IF(AND(ISBLANK(C10)),"",(F10-C3))
the cell references progress down to D40
E9 is the number of hours available for the next day ( limited to 70 and
below)
E9=70-D9
E10 - 40 =IF(AND(ISBLANK(C10)),"",(70-D10))
As I said it works perfectly. The problem is they changed the rules on me!!
Now when you take a consecutive 34 hours off you can reset your available
hours back to 70.
What I need is a way to do this in the sheet. I think I need to divide the
cell values by 24 or use a count or count if, but alas I'm not on that level
yet. Can anyone help me out please.
I am also just starting with Macros so if one is involved please be explicit
Answer in group or e-mail
(e-mail address removed)