Hi All,
Looking to implement an iterative macro that will handle the following data.
PY Running Balance should be reduced by the PY Portion of Reduction amount each month.
CY Running Balance is previous month CY Running Balance + CY Monthly Activity - CY Portion of Reduction.
PY Running Balance cannot be less than 0. In this scenario, the PY Portion of Reduction (Total Monthly Reduction multiplied by PY Reduction Rate) will be replaced by the maximum reduction amount to reach a PY Running Balance equal to zero. The remaining Total Monthly Reduction will be allocated to CY Running Balance. Refer to row 8 in working example.
'Base Data' tab is the currently available data. All other data needs to be calculated.
The same process needs to be repeated for different jobs (2, 3, 4 etc.) and given that the apportionment of the reduction amount and the running balances need to be calculated dynamically, we believe an iterative macro is the solution to this problem.