Hi all,
Didn't really know what to call this thread, as i don't even know what it is i am after. But i will do my best to explain.
I work in FMCG and i am after a formula that will tell me how long my stock on hand of a particular product will last based on forecasted sales.
I have a data table that has forecasted sales by item by month.
In column A starting at A3 i have my products listed, e.g. A3 = "Cheese", A4 = "*******s", A5 = "Biscuits".
In row 2 starting at B2 i have the months of the year, e.g. B2 = "January", B3 = "February" etc.
In cell A1 and A2 are my variables. A1 is the product name, and A2 is the stock on hand.
What i am after is a formula that will look up the product name, and then sum the forecasted sales, starting with January, until it exceeds the stock on hand (A2), and then return the month in which that occurs.
So for example. A1 = "*******s" and A2 = 100 (units).
Forecast for *******s is January=50, February=30, March =30, April =20.
I want the formula to return "March", because according to my forecasts, it is in March that i will run out of *******s (50+30+30 exceeds 100)..
This would make my job 100 times easier so i'd really appreciate some help on this one!! thanks very much in advance folks!
I apologise if this could have been explained better...
Didn't really know what to call this thread, as i don't even know what it is i am after. But i will do my best to explain.
I work in FMCG and i am after a formula that will tell me how long my stock on hand of a particular product will last based on forecasted sales.
I have a data table that has forecasted sales by item by month.
In column A starting at A3 i have my products listed, e.g. A3 = "Cheese", A4 = "*******s", A5 = "Biscuits".
In row 2 starting at B2 i have the months of the year, e.g. B2 = "January", B3 = "February" etc.
In cell A1 and A2 are my variables. A1 is the product name, and A2 is the stock on hand.
What i am after is a formula that will look up the product name, and then sum the forecasted sales, starting with January, until it exceeds the stock on hand (A2), and then return the month in which that occurs.
So for example. A1 = "*******s" and A2 = 100 (units).
Forecast for *******s is January=50, February=30, March =30, April =20.
I want the formula to return "March", because according to my forecasts, it is in March that i will run out of *******s (50+30+30 exceeds 100)..
This would make my job 100 times easier so i'd really appreciate some help on this one!! thanks very much in advance folks!
I apologise if this could have been explained better...