Skjermbilde 2021-02-19 kl. 11.06.35.png
Hi
I would like to create a value for each time "type_id" changes between 0 and 1.
I want this value to be created by, for instance, subtracting price in C2 by C3, and the next value to be created by
subtracting C3 with C4.
However, There are instances where 0 or 1 appears more than once in a row. In these cases i would for instance like the "newest"
1 to create a value with the latest 0. An example of this is value created by C9 subtracted by C10, and then C9 subtracted by C11, and the C9 being subtracted by
C12, before C12 being subtracted by C13.
I have added a sample workbook with manually calculated desired results (Manual calculation of desired results)
Hope I was clear! Any help with this would be appreciated
Bookmarks