Eddie Estrella
New Member
Good Afternoon,
I having been trying to create a macro that would take the On Hand balance (Col. O) and subtract itself from the months of demand (Cols. B:N) while leaving zeros where it is used and updating the balance each time until it reaches the last month. For example:
On hand = 100, Demand for Jul is 50. So it would subtract 50 from the On Hand making the demand 0 and reduce itself to 50 and continue on to the last month. The On Hand balance can be a negative number as that will tell me the quantity I need to order.
I can't think of anything to do this and I'm not sure it's even possible. I've attached a sample file of what I am looking at.
Thank you!
I having been trying to create a macro that would take the On Hand balance (Col. O) and subtract itself from the months of demand (Cols. B:N) while leaving zeros where it is used and updating the balance each time until it reaches the last month. For example:
On hand = 100, Demand for Jul is 50. So it would subtract 50 from the On Hand making the demand 0 and reduce itself to 50 and continue on to the last month. The On Hand balance can be a negative number as that will tell me the quantity I need to order.
I can't think of anything to do this and I'm not sure it's even possible. I've attached a sample file of what I am looking at.
Thank you!