Hi,
I'm trying to calculate the actual CUM based on conditions present in the status column.
Perform subtraction whenever status is Okay or Ahead between Qty and cum+in_transit.
The Catch is i need to perform a rollver subtraction from previous Actual CUM for the above status.
For status is delayed, i require to assume the previous Actual CUM.
for the next status if it is okay or ahead. add the qty from previous delayed to current qty and then subtract from the previous delayed actual cum.
I tried using multi-row formula but not getting there, any help would be appreciated.
Attached the excel file with expected output