=min(sum(k7:n7)-sum(t7:v7)+min(sum(o7:q7)-sum(w7:y7),0),ae7,af7,ag7)+sum(am7:ao7)-sum(at7:av7)
THE SPREADSHEET IS ATTACHED BELOW. :D
Excel Problem.JPG
A positive number effects the inventory numbers accurately.
A negative number (shrink) does not.
Spreadsheet is posted below.
The row titled Green Beans yields accurate results; one item is added to stock each day.
The next row, Red Chard, SHOULD read 9, 8, 7, 6, etc to reflect having one item removed from stock each day yet it seems that using a negative number or subtracting shrink consistently yields a wrong result.
Thank you for your time.
Bookmarks