I have a set of 2000 random numbers in on, all between 0 and 1. I have also set up a second column where these random numbers are assigned a pass or fail value, 0 or 1 (0-0.75 = 0, 0.75-1 = 1) When these numbers are randomly generated i need a running sum until the value changes.
Example
Pass/fail......running sum
0.............. 1
0...............2
0.............. 3
0...............4
1...............1
1...............2
0...............1
0...............2
1 ..............1
0...............1
0...............2
0...............3
I understand the logistics behind what needs to be done, I just am having trouble finding the proper function in excel!
Bookmarks