Formula/Logic Writing

ncrb_10

New Member
Joined
Feb 14, 2019
Messages
23
Hello,

I am building an inventory production schedule and need help writing a formula for the following logic.

For example, in Row A, Column A:L (January-December), I have projected sales of 25 units per month (starting in June). Additionally, my minimum monthly production order is for 30 units (Row B).

Therefore, my ending inventory each month is 5 units. At the end of 5 months, I should have accumulated 25 units in inventory and not have to produce any units on the 6th month.

How would I write a formula that displays the following without having to do any manual entry. My main issue is overcoming circular references. Thanks in advance for the help!

Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
Sales
0
0
0
0
0
25
25
25
25
25
25
25
Production
0
0
0
0
0
30
30
30
30
30
0
30
Ending Inv.
0
0
0
0
0
5
10
15
20
25
0
5

<tbody>
</tbody>
 
ok... re-edited this post, let me review your last couple posts.
 
Last edited:
Upvote 0

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Jan-19Feb-19Mar-19Apr-19May-19Jun-19Jul-19Aug-19Sep-19Oct-19Nov-19Dec-19
Total Barrels Sold - - - - - 21 21 21 21 21 21 21
Production Batch - - - - - 34 34 - 34 34 - 34
Ending Inventory - - - - 13 47 13 13 47 13 13

<tbody>
</tbody>
<style>table { }td { padding-top: 1px; padding-right: 1px; padding-left: 1px; color: black; font-size: 12pt; font-weight: 400; font-style: normal; text-decoration: none; font-family: Calibri, sans-serif; vertical-align: bottom; border: medium none; white-space: nowrap; }.xl63 { }.xl64 { color: white; font-weight: 700; text-align: center; background: rgb(31, 78, 120) none repeat scroll 0% 0%; }.xl65 { }.xl66 { text-align: right; }</style>

Your ending inventory for July doesn't seem correct. Shouldn't the ending inventory be 26, which is 34 +13-21?
 
Upvote 0
Yes you are correct, that was an error on my end. I just adjusted the formula to be =L13-M11+M12
 
Upvote 0
ok, then try out the below. Let me know if you are all set.

Row 12 Jun:
Code:
=IF(F11>E13,34,0)
Row 13 Jun:
Code:
=F12-F11+E13
 
Last edited:
Upvote 0
The first code works as needed, however I am still getting a circular reference when I try adding the second code.
 
Upvote 0
Perhaps we need to start over. First question: You need a total of 3 formulas correct, one which you already have which is pulling from the profit and loss, one for the production batch and one for the ending inventory, correct?
 
Upvote 0
ok. Two questions:

1) What cell is Production Batch for June in?

2) What cell is Ending Inventory for June in?
 
Upvote 0

Forum statistics

Threads
1,214,976
Messages
6,122,539
Members
449,088
Latest member
RandomExceller01

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