Hi experts,
who can help me out with this task...
I have a sub report that has a group by week.
Each week contains totals from deliveries, production, demand and at the end of each week is a calculated stock level (running total).
Deliveries and production increases the stock level while the demand reduces the stock level.
It looks a bit like this;
Week Delivery Production Demand Stock level
1 5
2 2 2 5 4
3 1 1 3 3
4 2 1 4
Now what I am looking for is this;
I want to calculate the stock level in week 3 with deduction of the totals from delivery and production from week 2.
Instead of the totals from week 2.
I dont want the demand calculation be changed it must be deducted from the from the stock level in the same week the demand is.
So then you get this;
Week Delivery Production Demand Stock level
1 5
2 2 2 5 0
3 1 1 3 1
4 2 1 2
Who can help me with the right formula to get this done.
Thank you in advance,
BR
Pokey!