Hi,
I am doing production planning and there is an issue that has haunted me for a while.
When you have a stock figure and based on a weekly sales forecast figure (that may change from week to week), how do you calc how many weeks you can cover with that initial stock?
Manually:
Stock=100
FC=10/wk
Coverage = 10 weeks = 70 days
That would be easy to calculate if the FC is the same for every week. But if you have different figures for different weeks I need to subtract from the initial stock this week's FC; then if the stock is >0 I need to subtract another week, and then another and another. When I get to the 1st week I cannot cover (the first one where stock is <0) then I need to divide the total FC for that week by the total work days (5) to check how many days of that week I can still cover. Then, multiplying per 7 the number of covered weeks and adding the number of days I can cover in the last one I get the total coverdays.
I am currently doing this either by hand or by a sheet I made with lots of figures and large IF functions; and even with this sheet I just can calculate a max number of weeks due to maximum sentences in a cell calculation. Is there an easy way - or even a function I do not know - to do this?
Thanks in advance
I am doing production planning and there is an issue that has haunted me for a while.
When you have a stock figure and based on a weekly sales forecast figure (that may change from week to week), how do you calc how many weeks you can cover with that initial stock?
Manually:
Stock=100
FC=10/wk
Coverage = 10 weeks = 70 days
That would be easy to calculate if the FC is the same for every week. But if you have different figures for different weeks I need to subtract from the initial stock this week's FC; then if the stock is >0 I need to subtract another week, and then another and another. When I get to the 1st week I cannot cover (the first one where stock is <0) then I need to divide the total FC for that week by the total work days (5) to check how many days of that week I can still cover. Then, multiplying per 7 the number of covered weeks and adding the number of days I can cover in the last one I get the total coverdays.
I am currently doing this either by hand or by a sheet I made with lots of figures and large IF functions; and even with this sheet I just can calculate a max number of weeks due to maximum sentences in a cell calculation. Is there an easy way - or even a function I do not know - to do this?
Thanks in advance