Re: counting continuous letters in cells within a row
hello xor lx. thank you for your fast response. here I will try to give you an idea of the problem. in this example I started from column b. from b-g find 1 count of 4+ a(5 total consecutive a because the b in cell d don't count) we have from cell n-s 1 count of 4 c (4 consecutive c because b in cell o and p don't count. from cell t-x find 1 count of 4 a (4 consecutive a because the b in cell v don't count) then cell ad=2 because 1 count of 5 consecutive a from cell b-g and 1 count of 4 consecutive a from cell t-x. in the cell ae=1 because 1 count of 4 consecutive c from cell n-s. with this table I am looking for a maximum of consecutive letters. trying to explain in more details I will tell you that aaaaaa equals 6 consecutive a. in cccbcaa equals 4 consecutive c because the b is not counting even if is located in the table. in abbaaa ccbcbcc we have 4 consecutive a (1 count) and 5 consecutive c (1 count of 4+). all the counts of 4 of more should be registered. thank you so much for your help I hope you can understand my explanation. don't hesitate in asking me anything that you need to know. thanks again.
[TABLE="width: 1440"]
[tr]
[TD="width: 64, bgcolor: transparent"]a[/TD]
[TD="width: 64, bgcolor: transparent"]a[/TD]
[TD="width: 64, bgcolor: transparent"]b[/TD]
[TD="width: 64, bgcolor: transparent"]a[/TD]
[TD="width: 64, bgcolor: transparent"]a[/TD]
[TD="width: 64, bgcolor: transparent"]a[/TD]
[TD="width: 64, bgcolor: transparent"]c[/TD]
[TD="width: 64, bgcolor: transparent"]c[/TD]
[TD="width: 64, bgcolor: transparent"]b[/TD]
[TD="width: 64, bgcolor: transparent"]a[/TD]
[TD="width: 64, bgcolor: transparent"]c[/TD]
[TD="width: 64, bgcolor: transparent"]a[/TD]
[TD="width: 64, bgcolor: transparent"]c[/TD]
[TD="width: 64, bgcolor: transparent"]b[/TD]
[TD="width: 64, bgcolor: transparent"]b[/TD]
[TD="width: 64, bgcolor: transparent"]c[/TD]
[TD="width: 64, bgcolor: transparent"]c[/TD]
[TD="width: 64, bgcolor: transparent"]c[/TD]
[TD="width: 64, bgcolor: transparent"]a[/TD]
[TD="width: 64, bgcolor: transparent"]a[/TD]
[TD="width: 64, bgcolor: transparent"]b[/TD]
[TD="width: 64, bgcolor: transparent"]a[/TD]
[TD="width: 64, bgcolor: transparent"]a[/TD]
[TD="width: 64, bgcolor: transparent"]b[/TD]
[TD="width: 64, bgcolor: transparent"]c[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent, align: right"]2[/TD]
[TD="width: 64, bgcolor: transparent, align: right"]1[/TD]
[/tr]
[/TABLE]