Formula to get Sunday absences
We are using the abs module to record Overtime.
One specific country came with the request to compensate each overtime that took place in a Sunday of the week with a day off.
I start doing this via an accrual matrix formula on the Compensatory plan.
The issue that I encounter is that there can be multiple Ovt requests during a Sunday but only 1 day of accrual is given.
Looping inside the array the formula counts 1 each time the conditions are met and if there are 2,3 requests on the day then the variable will count them all and and the end of the day the accrual becomes 1 day per each approved request.