To the retail gurus, I need a little bit of help in a certain formula.
I've been trying to figure out how to do a Weeks of Sales calculation over a straight table chart.
To illustrate what I'm trying to accomplish, please see the table below.
|Fiscal Period||BOP||SLS Retail||Weeks of Sales|
Weeks of Sales is calculated by looping through each SLS Retail row and getting the number of periods/weeks BOP could cover it given the actual sales per period. For example, the P01 BOP of 4,600,000 could be spread over roughly 3.44 periods (total SLS Retail from P01 to P03 = 4,049, 531).
I've been exploring combining rangesum and chart inter-record functions but I can't figure out how to make it conditional such that it compares BOP with a running sum of SLS Retail.
Any hint would be of great help.