Allocating 53rd week to previous 4 weeks of the same year?

I have a scenario where in a module I am getting 53 weeks of data but the client does not want the 53rd week to show instead client wants that the data for the 53rd week should be distributed to the previous 4 weeks. Could you guys please explain how can I achieve this.

Thanks a lot in advance.

@Misbah any inputs on this.

Answers

  • Hi,

    First of all, you could try indexing the weeks one by one - for all days in Week 1, there would be value 1, for all days in Week 2, there would be value 2, etc.
    Then in the formula where distribution is made, you would need to add additional check with IF THEN statement, where it would check if index of the week = 49 or above and redistribute the numbers based on that.

    Not sure if this helps, but it's just a thought that popped up in my head.

    Kind regards,
    Kamil