B
Bryan De-Lara
I am still having problems counting blocks of 1's.
A few are returning the correct values, but others are seem to be adding 1
from the previous column.
The formula I'm using is..
=SUMPRODUCT(--(C1:C511=1),--(C2:C512<>1))
=SUMPRODUCT(--(D1
511=1),--(D2
512<>1))
=SUMPRODUCT(--(E1:E511=1),--(E2:E512<>1))
=SUMPRODUCT(--(F1:F511=1),--(F2:F512<>1))
=SUMPRODUCT(--(G1:G511=1),--(G2:G512<>1)) and so on.
The first formula is entered in D1 =SUMPRODUCT(--(C1:C511=1),--(C2:C512<>1))
and so on.
Col A B C D E F G H I J K L
1 3 4 2 0 0 0 0 0
2007 A B C D E F G H I J
02-Jan-07 2
3-Jan-07 3 1 1
4-Jan-07 4 1 1
Jan-07 5
Jan-07 8 1 1 1 1
Jan-07 9
Jan-07 10 1
Jan-07 11 1
Jan-07 12
Jan-07 15 1
A B C D E etc are the names of people.
The first line reports 1, correct. The second 3 but should report 2. It is
random where some are correct.
If I put the formula across the sheet, approx 82 people then enter a few 1's
most of the report will be 1's in all cells.
Very confusing for a novice. Any help greatly received.
A few are returning the correct values, but others are seem to be adding 1
from the previous column.
The formula I'm using is..
=SUMPRODUCT(--(C1:C511=1),--(C2:C512<>1))
=SUMPRODUCT(--(D1


=SUMPRODUCT(--(E1:E511=1),--(E2:E512<>1))
=SUMPRODUCT(--(F1:F511=1),--(F2:F512<>1))
=SUMPRODUCT(--(G1:G511=1),--(G2:G512<>1)) and so on.
The first formula is entered in D1 =SUMPRODUCT(--(C1:C511=1),--(C2:C512<>1))
and so on.
Col A B C D E F G H I J K L
1 3 4 2 0 0 0 0 0
2007 A B C D E F G H I J
02-Jan-07 2
3-Jan-07 3 1 1
4-Jan-07 4 1 1
Jan-07 5
Jan-07 8 1 1 1 1
Jan-07 9
Jan-07 10 1
Jan-07 11 1
Jan-07 12
Jan-07 15 1
A B C D E etc are the names of people.
The first line reports 1, correct. The second 3 but should report 2. It is
random where some are correct.
If I put the formula across the sheet, approx 82 people then enter a few 1's
most of the report will be 1's in all cells.
Very confusing for a novice. Any help greatly received.