Hello,
Im currently having an issue, i dont know how or what method should I use.
The requirement, there's a minimum volume required for each reporting month. And if that volume requirement does not met, the volume would be added into the next month until the minimum volume has met.
Example:
Year Month Value Col MinVol Adjusted File Met
2018 1 30 A 100 30 1 0
2018 1 40 B 100 40 1 0
2018 2 15 A 100 45 2 1
2018 2 40 B 100 40 1 1
2018 2 20 C 100 20 2 1
In this example, the Month = 2 AND Col B has replicated from Month 1 since it was not existing in Month = 2.
So Month 1 Total = 70, since it did not meet the minimun volume 100, The Col A and B of Month = 1 would be added in the next month in two scenarios. If Col is existing then it will add the Value. If Col is not existing then it will be replicated. So the Month 2 Total = 105 and it met the minimum requirement.
Hope you're able to help me with this.
Thanks!
Jake