Using Excel 2000
Hi,
I need a formula to Count MAX Consecutive Match with previous row data
For example:
Check row8 with row7 find 2 consecutive matches
Check row12 with row11 find 4 consecutive matches
Check row16 with row15 find 3 consecutive matches
Check row20 with row19 find 8 consecutive matches
Example data...
Thank you in advance
Kishan
Hi,
I need a formula to Count MAX Consecutive Match with previous row data
For example:
Check row8 with row7 find 2 consecutive matches
Check row12 with row11 find 4 consecutive matches
Check row16 with row15 find 3 consecutive matches
Check row20 with row19 find 8 consecutive matches
Example data...
Book1 | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | |||
1 | ||||||||||||||||||||
2 | ||||||||||||||||||||
3 | ||||||||||||||||||||
4 | ||||||||||||||||||||
5 | Num | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | Count MAX Consecutive Match | ||||
6 | ||||||||||||||||||||
7 | X | 1 | 1 | 1 | 2 | 1 | 2 | 1 | 2 | X | 1 | 1 | X | 1 | ||||||
8 | X | X | 2 | 1 | X | X | 1 | 1 | 2 | 1 | X | 2 | 1 | 1 | 2 | |||||
9 | ||||||||||||||||||||
10 | ||||||||||||||||||||
11 | X | 1 | X | 2 | 1 | 2 | X | X | X | 1 | 1 | 1 | X | X | ||||||
12 | 1 | 1 | X | 1 | 2 | 1 | X | X | X | 1 | 2 | 1 | X | 1 | 4 | |||||
13 | ||||||||||||||||||||
14 | ||||||||||||||||||||
15 | 2 | 1 | X | 1 | 1 | X | 1 | 1 | 1 | 2 | 1 | 1 | 1 | 2 | ||||||
16 | 1 | 1 | 1 | 1 | 1 | 2 | 1 | 1 | 2 | 1 | X | X | X | 1 | 3 | |||||
17 | ||||||||||||||||||||
18 | ||||||||||||||||||||
19 | 1 | 1 | 1 | 1 | 1 | 2 | 1 | 1 | 1 | 2 | 1 | 1 | 1 | 2 | ||||||
20 | 1 | 1 | 1 | 1 | 1 | 2 | 1 | 1 | 2 | 1 | X | X | X | 1 | 8 | |||||
21 | ||||||||||||||||||||
22 | ||||||||||||||||||||
Sheet1 |
Thank you in advance
Kishan
Last edited: