Hi, I'm looking for some help with a scenario regarding employees who have completed a probationary period of employment. When this happens, they fall under the company attendance policy for unexcused absences or late arrivals. In a normal circumstance, someone would be entitled to 104 hours that they can use between all types of unexcused absences, late arrivals, leaving early or whatever the case may be where they end up not working their full shift. This is a process that resets every March where hours are erased and people have the full 104 allotment. If however someone completes their probation period AFTER March, they earn pro-rated hours the first day of every month until the following March. That pro-ration schedule is as follows:
I have a spreadsheet that lists specific dates that employees completed probation. These dates are in column J. Ideally, I'd like to have another column that automatically updates the hour values on the first of every month and that could be in column I. Whether this would be better done by VBA or by some kind of formula, I'm not sure.
Here are a couple examples. Let's say we have one person completing probation in June(Person 1) and another completing in July(Person 2).
EXAMPLE 1
Person 1, I'd expect in June to see column I auto-populate 8.8 hours, July 1 would populate 17.6 hours(8.8+8.8), and August 1 would populate 26.4 hours (8.8+8.8+8.8)
EXAMPLE 2
Person 2 I'd expect in July to see column I auto-populate 8.7 hours and then on August 1, they would get 17.4 hours (8.7+8.7), so I would auto-update to 17.4.
Could something also be somehow incorporated that either the cell that is updating the value every month lights up a different color maybe the first few days of every month or maybe even a pop-up message upon the workbook opening at that time alerts that a value has been updated?
Note it doesn't matter when in the month someone completes their probations, if it is completed in that month, they get the allotment for that month.
I have a spreadsheet that lists specific dates that employees completed probation. These dates are in column J. Ideally, I'd like to have another column that automatically updates the hour values on the first of every month and that could be in column I. Whether this would be better done by VBA or by some kind of formula, I'm not sure.
Here are a couple examples. Let's say we have one person completing probation in June(Person 1) and another completing in July(Person 2).
EXAMPLE 1
Person 1, I'd expect in June to see column I auto-populate 8.8 hours, July 1 would populate 17.6 hours(8.8+8.8), and August 1 would populate 26.4 hours (8.8+8.8+8.8)
EXAMPLE 2
Person 2 I'd expect in July to see column I auto-populate 8.7 hours and then on August 1, they would get 17.4 hours (8.7+8.7), so I would auto-update to 17.4.
Could something also be somehow incorporated that either the cell that is updating the value every month lights up a different color maybe the first few days of every month or maybe even a pop-up message upon the workbook opening at that time alerts that a value has been updated?
Note it doesn't matter when in the month someone completes their probations, if it is completed in that month, they get the allotment for that month.
Last edited: