I am quite new to some of excels formula and coding, and have been struggling to understand how to set up certain formula.
My current problem is that I have three cells which contain variables, the value of these variables is then used to fill cells. The three variables of concern are flow demand M1, batches/ hour, delivery time M1, and wish to have the values in these cells fill row F11:74 (1 minute to 60 minutes). Effectively I have managed to use formula to have these cells be filled for the demand over the delivery time, however if 2 batches were to occur in an hour I don't understand how to get the formula to repeat after the 10 minute delivery + the break between. I have attached a mini sheet to help articulate and illustrate my issue, if anyone can help I would appreciate it.
My current problem is that I have three cells which contain variables, the value of these variables is then used to fill cells. The three variables of concern are flow demand M1, batches/ hour, delivery time M1, and wish to have the values in these cells fill row F11:74 (1 minute to 60 minutes). Effectively I have managed to use formula to have these cells be filled for the demand over the delivery time, however if 2 batches were to occur in an hour I don't understand how to get the formula to repeat after the 10 minute delivery + the break between. I have attached a mini sheet to help articulate and illustrate my issue, if anyone can help I would appreciate it.
Cell Formulas | ||
---|---|---|
Range | Formula | |
U3,U5 | U3 | =G3/K3 |
X3,X5 | X3 | =(60-K3)/G7 |
B13:B42 | B13 | =$C$3 |
C13 | C13 | =C5 |
D13 | D13 | =C7 |
E13:E42,G13:G42,I13:I42,K13:K42,M13:M42,O13:O42 | E13 | =(D13/1000)*$O$3 |
F13:F42 | F13 | =IF(ROW(F13)<$K$3+13,IF(U$3>0,$U$3,""),"0") |
H13:H42 | H13 | =IF(ROW(H13)<$K$5+13,IF(U$5>0,$U$5,""),"0") |
J13:J42 | J13 | =$C$9+F13+H13 |
L13:L42 | L13 | =J13-H13-F13 |
N13:N42 | N13 | =$K$7 |
P13:P42 | P13 | =((K13/60)*$K$9*(C13-$O$5)) |
C14:C42 | C14 | =(((B14*O14*$K$9)+(C13*E14*$K$9)+($O$5*$K$9*M14))/((O14*$K$9)+(E14*$K$9)+(M14*$K$9))) |
D14:D42 | D14 | =D13-(F13+H13)+N13 |