This first attempt uses Ali's approach and generates the desired penalties. The problem is that (unlike Ali's version) the array constants need to be populated for as many elements as your expected maximum possible number of absences for the year and to make matters worse the formula is repeated (with a minor change) twice over. This may become impractical to create/maintain if you expect more than a dozen or so absences.
In AK4 copied down:
Here is a second attempt that relies on the penalty table that you provided in the March worksheet starting at F3. This approach is probably easier to adapt to a larger max number of absences. The penalty table can be cut/pasted to somewhere else, maybe even on its own worksheet. As with the array constants in the first approach this table will need to be expanded for as many rows as your expected maximum possible number of absences for the year. This approach is essentially the first approach except with a helper table instead of array constants.
In AL4 copied down:
Maybe there is a simpler approach but you may have to wait for Ali
The attached modified workbook includes both of the above proposed solutions.
Bookmarks