Hi all,
I have had a good look round the forums and still can't find what I am looking for. (Probably because I am not searching for the right thing!!)
I am hoping the below can be dealt with using a new function, but open to all ideas.
I am trying to build a forecasting tool for predicting what I want to buy. However the product I am buying has a very short use by date so I need to buy fractions of a days worth of stock.
Normally I buy 1.5 days worth of stock, but sometimes it's 2.5, sometimes it 0.5. The example in the table below, I want to buy 1.5 days worth of stock. So my order box should say Days Cover (Day 1 + Day 2*0.5)-opening stock = 100. However if I was buying 2.5 days it would be 175Kg and if I was buying 0.5 days stock it would return 0
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Days Cover[/TD]
[TD]Opening stock[/TD]
[TD]Day 1[/TD]
[TD]Day 2[/TD]
[TD]Day 3[/TD]
[TD]Order[/TD]
[/TR]
[TR]
[TD]1.5[/TD]
[TD]100[/TD]
[TD]150[/TD]
[TD]100[/TD]
[TD]50[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I am hoping somebody may have this already, if not, any ideas.
Thanks
Sin
I have had a good look round the forums and still can't find what I am looking for. (Probably because I am not searching for the right thing!!)
I am hoping the below can be dealt with using a new function, but open to all ideas.
I am trying to build a forecasting tool for predicting what I want to buy. However the product I am buying has a very short use by date so I need to buy fractions of a days worth of stock.
Normally I buy 1.5 days worth of stock, but sometimes it's 2.5, sometimes it 0.5. The example in the table below, I want to buy 1.5 days worth of stock. So my order box should say Days Cover (Day 1 + Day 2*0.5)-opening stock = 100. However if I was buying 2.5 days it would be 175Kg and if I was buying 0.5 days stock it would return 0
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Days Cover[/TD]
[TD]Opening stock[/TD]
[TD]Day 1[/TD]
[TD]Day 2[/TD]
[TD]Day 3[/TD]
[TD]Order[/TD]
[/TR]
[TR]
[TD]1.5[/TD]
[TD]100[/TD]
[TD]150[/TD]
[TD]100[/TD]
[TD]50[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I am hoping somebody may have this already, if not, any ideas.
Thanks
Sin