Hi, I am looking for some help is a problem I have not been able to crack. I am normally pretty good at manipulating formulas from other posts to save asking questions, but this has got me stumped.
I am trying to sum up expected item receipts until the value I need is met/exceeded and return the reference number, or “Not Planned” if the volume I require is greater that the planned receipts. The kicker is that the data contains multiple items from multiple warehouses all mixed together. This data is likely to be refreshed daily and the tables in my example will be built dynamically with Excel365 array formulas.
I am using the formula below but cannot get it to work with any conditions.
=OFFSET($E$2,VALUE((ROWS(OFFSET($E$2,0,0,MAX(INDEX((SUBTOTAL(9,OFFSET($E$2, 0,0,ROW($E$2:$E$13),1))<(E17*-1))*ROW($E$2:$E$13),,))+1,1))-1)),-4)
I am trying to avoid writing a custom function and or using helper columns.
Any help would be greatly appreciated. The expected results are in the grey column in the attached example sheet.
I am trying to sum up expected item receipts until the value I need is met/exceeded and return the reference number, or “Not Planned” if the volume I require is greater that the planned receipts. The kicker is that the data contains multiple items from multiple warehouses all mixed together. This data is likely to be refreshed daily and the tables in my example will be built dynamically with Excel365 array formulas.
I am using the formula below but cannot get it to work with any conditions.
=OFFSET($E$2,VALUE((ROWS(OFFSET($E$2,0,0,MAX(INDEX((SUBTOTAL(9,OFFSET($E$2, 0,0,ROW($E$2:$E$13),1))<(E17*-1))*ROW($E$2:$E$13),,))+1,1))-1)),-4)
I am trying to avoid writing a custom function and or using helper columns.
Any help would be greatly appreciated. The expected results are in the grey column in the attached example sheet.