Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Can anyone help? I can't think of a way to do this in a single cell
expression. I have a column of week ending dates next to weekly sales next to end of week stock holding and I need to add a column that shows how mnay weeks the stock will last for providing I buy no more stock. Rough example below. Week Sales Stock Cover 1 150 500 3.2 2 150 500 2.8 3 150 700 3.6 4 150 800 5.0 5 250 800 5.? 6 200 700 ? 7 150 600 ? 8 100 500 ? 9 100 500 ? 10 100 500 ? I hope that helps. It need to take forward sales off until it get to a part week and then work out the fractions like. 500-(150-150-150)/250 = 3.2 weeks cover. I hope this is clear... I just need a while statement but alas Excel does have that and I can't figure a complex way to use If conditions... |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
formula to calculate sales tax from total sales | Excel Worksheet Functions | |||
how do I create a formula to calculate sales tax using Yes & No | Excel Worksheet Functions | |||
looking for a formula | Excel Worksheet Functions | |||
X IN A CELL TO CALCULATE A FORMULA | Excel Worksheet Functions | |||
GET.CELL | Excel Worksheet Functions |