Greetings TeachExcel.com & Forum Members:
I am trying to find the available balance of inventory for multiple and sometimes duplicate products down a column.
COLUMN A: Order #
COLUMN B: Product
COLUMN C: Order Quantity
COLUMN D: Available Inventory
COLUMN E: (Helper column) Balance of C & D
COLUMN F: Is where I am trying to show the quantity of products available minus the quantity ordered for that product, as I go down the row, some products are duplicated, and need to reflect the previous remaining balance of that product and subtract it for the next use case of that same product down the column.
EXAMPLE: is the first product in cell B2 is CALCZO. This product is replicated on the last order: cell B62, CALCZO.
SO: Cell F2 should equal 652, Cell F62 should equal 302 | or the balance of the last order in E2, minus the next ordered quantity on C62 of 350.