Re: How to calculate units sold divided by weeks since first unit sold?
Since I am quite lost in this calculation What I have now is a huge dataset with figures like this:
Average Sale per Week
Here's how it looks if I just pull the raw data. I want to recreate the column "Average Sale per Week", but only count from the week where the first sale occurred. So For row 1, that would mean to calculate (2+0+3)/3 = 1.6666667
For the second row, it would take all figures into account, even if the item didn't had sales for all weeks, it was still "active" in our assortment. (5+6+7+0+0)/5 = 3.6
The third row, should account for all weeks, since it had sales on each separate week.
In my application the weeks are labeled "YearWeek" and Item Numbers are labeled "itemno". The units, or data itself, is labeled "Fsgantal".
I hope this helps, sorry I can't post any thought out formulas yet, I haven't gotten that far.