Trying to find a way around a circular reference in a stock forecast

gravanoc

Active Member
Joined
Oct 20, 2015
Messages
348
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
Order Forecast.xlsx

I'm using excel to track our historic sales and forecasted sales. I have limits for min and max stocks of Product A. What I would like to do is have the excel sheet identify when stocks are forecast to go below min, generate the need for a re-order at that point in the future and then amend the stock forecast to reflect the arrival of the new stock. Im getting caught in an iteration loop. Any help is appreciated.

The circular reference occurs here. I'm adding the Sales Record stock, the Sales forecast, and the Re-order value in CK3 together, but the value in CK3 has to check whether the value in BY3 (the Stock Level) is less than the Min Stock level in BA3, and if it is, it sets itself to the value in J3 (the minimum re-order amount). I just can't think of a way to do this without somehow getting a circular ref!

1580507688202.png
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
One way to fix that is to turn on Iterative Calculations for the sheet. Click File-->Options-->Formulas and look in the top right for a checkbox and some limits. This will get rid of the circular reference as it will cycle through your calculations until it reaches one of those two limits.
 

Attachments

  • Iterative.jpg
    Iterative.jpg
    22.5 KB · Views: 17
Upvote 0
Solution

Forum statistics

Threads
1,214,965
Messages
6,122,496
Members
449,089
Latest member
Raviguru

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top