Hi,
I am trying to prepare a report that will keep only the positive value after removing/adjusting/adding negative values to positive value either full or partial or more than one or only one.
The logic behind is that any negative values must be setoff with every positive value on FIFO basis i.e taken datewise ascending order or ID in ascending order.
Sample Raw data with expected result two visible worksheet is attached for your kind reference.
I want the result of F column which is highlighted with yellow.
Macro or some VBA if possible would speedup the task as this is of one customer. However,I have many say more than 1 k.
Bookmarks