Hello- i have an excess inventory on hand which i need to figure out which part to keep and which part to destroy.
my goal is to get a formula that will give me the desired output for the column in red font (destroy the rest). I have done a few scenarios to hopefully explain this better. As you can see i am adding (current on hand + last years inventory shipment)-keep 5 years of inventory on hand.
Thank you in advance.
[TABLE="width: 830"]
<tbody>[TR]
[TD][TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Scenario[/TD]
[TD]Current on hand inventory[/TD]
[TD]Last year's inventory shipment[/TD]
[TD]2 year average sales[/TD]
[TD]keep 5 years of inventory on hand (based on sales)[/TD]
[TD]Destroy the rest[/TD]
[/TR]
[TR]
[TD]#1[/TD]
[TD]5[/TD]
[TD]0[/TD]
[TD]10[/TD]
[TD]50[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]#2[/TD]
[TD]20[/TD]
[TD]5[/TD]
[TD]2[/TD]
[TD]10[/TD]
[TD]15[/TD]
[/TR]
[TR]
[TD]#3[/TD]
[TD]10[/TD]
[TD]0[/TD]
[TD]2[/TD]
[TD]10[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]#4[/TD]
[TD]0[/TD]
[TD]15[/TD]
[TD]1[/TD]
[TD]5[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]#5[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]20[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
my goal is to get a formula that will give me the desired output for the column in red font (destroy the rest). I have done a few scenarios to hopefully explain this better. As you can see i am adding (current on hand + last years inventory shipment)-keep 5 years of inventory on hand.
Thank you in advance.
[TABLE="width: 830"]
<tbody>[TR]
[TD][TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Scenario[/TD]
[TD]Current on hand inventory[/TD]
[TD]Last year's inventory shipment[/TD]
[TD]2 year average sales[/TD]
[TD]keep 5 years of inventory on hand (based on sales)[/TD]
[TD]Destroy the rest[/TD]
[/TR]
[TR]
[TD]#1[/TD]
[TD]5[/TD]
[TD]0[/TD]
[TD]10[/TD]
[TD]50[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]#2[/TD]
[TD]20[/TD]
[TD]5[/TD]
[TD]2[/TD]
[TD]10[/TD]
[TD]15[/TD]
[/TR]
[TR]
[TD]#3[/TD]
[TD]10[/TD]
[TD]0[/TD]
[TD]2[/TD]
[TD]10[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]#4[/TD]
[TD]0[/TD]
[TD]15[/TD]
[TD]1[/TD]
[TD]5[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]#5[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]20[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]