I need help with a macro to look at a range of BINS with Quantities in them. Match those quantities to a shipment value (starting from the left to right) and anything above the shipment value move to the next row in the same Object group It should keep doing this for each group until the last ROW is met. See images;
This is before;
EXCEL-VBA.jpg
This is after;
EXCEL-VBA-2.jpg
ROW is the iteration of the object and represents shipment 1, 2, 3 and 4. 1st shipment of Apples needs 200 from the BINS starting with BIN1 and going to the end. Everything else should go to shipment (ROW 2) until that Shipment quota is met and then everything else go to (ROW 3) etc.
Any help is greatly appreciated.
Bookmarks