Hi,
I am having a lot of difficulty trying to come up with a formula for the following table that will look at the cumulative shortfall for prior months and if available add the shortfall to the Sales in the current month. For example, the cumulative shortfall in Aug is 41 ( 6 in May, 17 in June & 18 in July) and there is 11 extra units that can be sold (August amount in Stock-Sales column). I would like the formula to add the 11 units to sales in August to arrive at 20 units (currently at 9). Next month, there should only be 30 units available in the shortfall as 11 were used in August. In September, the formula needs to know that there are only 30 units of shortfall remaining this month (11 of the 41 were used in August) and as result only 30 can be added to the Expected Sales column in September even though there is stock of 36 in the Stock-Sales (Max)Column. Obviously, the remainder of the year has zero shortfall remaining so if the formula is correct the Expected Sales should stay the same as is for Oct-Dec.
excel problem.JPG
Thanks
Bookmarks