Nov 19 2021 07:16 AM
Nov 19 2021 07:16 AM
I have a production run sheet with a column that indicates a clean. After the clean, when our operators enter the production unit # they are on, I need it to reference the production unit # they were on prior to the clean.
Nov 19 2021 09:19 AM - edited Nov 19 2021 09:21 AM
@MattP817 I think this should work (untested). Basically I check if the prior had the cleaning indication and this line doesn't and then find the max row that is less than this row and is blank in the cleaning indication. I also switch to an IFS() statement but could be done as nested IF() statements.
Nov 22 2021 11:46 AM
@mtarler So I got the formula plugged in for the 6:00 am hour to the following 5:00 am hour. When I move to the next day, it is not jumping to the line that is prior to the "WTN".
I need to subtract the light blue cell (F1184) from the red cell (F1175).
Is there a way to have the formula skip anything >"" in the E column when production resumes, but still calculate the formula in during the changeover event?
Nov 22 2021 01:51 PM
Nov 23 2021 05:05 AM
a) can you share the sheet? Attached
b) can I assume columns C and D will be #s for non-test time? Column C is a material number that they are producing. Column D is just an informational column for the production line. E is a changeover event. F is the last unit # that was produced during that hour. G is a run rate based off the difference between the previous hour to current hour. H is a target based on the material number (VLOOKUP). I is the difference on units ran vs target (G-H). J is based off the units ran and the weight of the units they are producing.
c) looks like you need to have special condition for 5am in general.
d) I'm not sure why/how the formula is failing in the above case. From what I see I would expect it to fail because of the merged cell/line just above it but that isn't what appears to be happening
e) i assume you mean subtract red from blue (but in this case it is 0 either way). That said, if it will always be 0 (i.e. it starts up where it left off after testing) then that could make this all much easier. Yes. My apologies.
Nov 23 2021 05:06 AM