R
ricky
Hello i am new her and hope you can help me with my problem:
In column A i have the following value's 0, 1 and -1.
Now i want in column B: we leave the 0 out, if A=-1 than column
should give 1, if the next one is again -1 than B should be 2 onl
after A is 1 than B should be 0 and start over again.
See example below, i want to see how long a -1 streak is before an 1 i
coming.
A B
-1 1
0
0
-1 2
0
0
1 0
0
-1 1
0
1 0
0
-1 1
0
0
-1 2
0
-1 3
0
0
1 0
Thanks, greetings
Richar
In column A i have the following value's 0, 1 and -1.
Now i want in column B: we leave the 0 out, if A=-1 than column
should give 1, if the next one is again -1 than B should be 2 onl
after A is 1 than B should be 0 and start over again.
See example below, i want to see how long a -1 streak is before an 1 i
coming.
A B
-1 1
0
0
-1 2
0
0
1 0
0
-1 1
0
1 0
0
-1 1
0
0
-1 2
0
-1 3
0
0
1 0
Thanks, greetings
Richar