Quote:
Originally Posted by deragon999 I only want when it switches to on, or from off to on, here are my switches:
HERE
1
1
1
1
1
1
1
0
0
0
0
0
0
HERE
1
1
1
0
0
0
0
HERE
1
1
1
1
1
0
HERE
1 |
alright sorry I didn't realize you only wanted switching from 0 to 1,
So let's say your list starts in the cell A1,
use this function is a cell =IF(AND(A1=0,A2=1),1,0) and drag it down
Then at the bottom of the collum, make one cell equal to the sum of the column =Sum(A1:A_n) and then add 1 to that number if your number in A1 is a 1, don't add 1 if it's a 0 in A1