How to accumulate values skipping rows if the accumulated result of those rows exceeds a certain threshold?
threshold = 120 Col1 --- 100 5 90 5 8 Expected output