Hello!
The easiest way to explain my request would be to refer to my attached example.
So basically i have a bunch of data that is generated by a computer. The computer records spesific paremeters(every column apart from C, J, and P) every 10 seconds.
I want to use the data to calculate the following key numbers:
- Cumulative SUM based on column M, in column C.
- Cumulative SUM of elapsed time, in column J.
If you check the formulas that i have in column C and J, those should clarify what i mean by cumulative sum. Column M (chainage) shows a distance in meteres, to a fixed point.
So, as you can see from "Sheet1" in the attached example, i have calculated all the values that i want. However, the problem occurs once i try to filter some of the columns. If you open the sheet called filtered, i have filtered the data in 2 columns. The formulas for the cumulative sum dont work properly when there is a "gap" in the rows, as a result of the filtering. I have highlighted an example of this problem, with red color (in the sheet "filtered"), where the rows jump from nr. 1036 to 1084. I think once you see the example, the issue will be quite apparent, so ill leave it at this. If there is any more details that you need, just ask!
Things that might be worth mentioning:
- Even though the computer is supposed to record every 10 seconds, it sometimes misses out on a few readings. So you will see that that time between each row, can be 20 or 30 seconds every now and then.
- From a first glance you will notice that the values in column M, are decreasing. In some areas of the column however, they will increase a bit, and then start decreasing. With the way my current formula in column C is set up, this is not a problem obviously. But thought it was worth mentioning.
Best regards
Bookmarks