SOLVED : Recognising series of numbers...

Chris Davison

MrExcel MVP
Joined
Feb 15, 2002
Messages
1,790
Afternoon all,


hmmmm..... this has me stumped : visually, it's simple but formulaeically, I can't quite get it.

Let's assume the following simple data :<CENTER><TABLE ALIGN=CENTER BORDER=1 BORDERCOLOR=#C0C0C0 CELLSPACING=0 WIDTH=60%><TR><TD COLSPAN=8 BGCOLOR=#0C266B ><TABLE ALIGN=CENTER BORDER=0 WIDTH=100%><TR><TD ALIGN=LEFT><FONT COLOR=WHITE>Microsoft Excel - streak.xls</FONT></TD><TD ALIGN=RIGHT><FONT COLOR=WHITE SIZE=2>___Running: xl97 : OS = Windows (32-bit) 4.90</FONT></TD></TR></TABLE></TD></TR><TR><TD BGCOLOR=#D4D0C8 COLSPAN=8><TABLE BORDER=0 ALIGN=CENTER VALIGN=MIDDLE HEIGHT=10 WIDTH=100%><TR><TD>(<U>F</U>)ile (<U>E</U>)dit (<U>V</U>)iew (<U>I</U>)nsert (<U>O</U>)ptions (<U>T</U>)ools (<U>D</U>)ata (<U>W</U>)indow (<U>H</U>)elp</TD><TD ALIGN=RIGHT VALIGN=MIDDLE><FORM NAME='formCb2339942116'><INPUT TYPE='Button' NAME='btCb9273296640' value='Copy Formula' onClick='window.clipboardData.setData("Text",document.formFb4473621504.sltNb5698059465.value);'></FORM></TD></TR></TABLE></TD></TR><TR><TD BGCOLOR=WHITE COLSPAN=8><TABLE BORDER=0><TR><Form name='formFb4473621504'><TD WIDTH=5% ALIGN=CENTER BGCOLOR=White><SELECT NAME='sltNb5698059465' onChange='document.formFb4473621504.txbFb5434202903.value = document.formFb4473621504.sltNb5698059465.value'><option value=0>A1</select></TD><TD WIDTH=3% ALIGN=RIGHT BGCOLOR=#D4D0C8 >=</TD><TD ALIGN=LEFT BGCOLOR=White><input type='text' name='txbFb5434202903' size='120' value=John></TD></form></TR></TABLE></TD></TR><TR><TD WIDTH=1% BGCOLOR=#D4D0C8 ALIGN=CENTER></TD><TD BGCOLOR=#D4D0C8 ALIGN=CENTER><CENTER>A</CENTER></TD><TD BGCOLOR=#D4D0C8 ALIGN=CENTER><CENTER>B</CENTER></TD><TD BGCOLOR=#D4D0C8 ALIGN=CENTER><CENTER>C</CENTER></TD><TD BGCOLOR=#D4D0C8 ALIGN=CENTER><CENTER>D</CENTER></TD><TD BGCOLOR=#D4D0C8 ALIGN=CENTER><CENTER>E</CENTER></TD><TD BGCOLOR=#D4D0C8 ALIGN=CENTER><CENTER>F</CENTER></TD><TD BGCOLOR=#D4D0C8 ALIGN=CENTER><CENTER>G</CENTER></TD></TR><TR><TD WIDTH=1% BGCOLOR=#D4D0C8 ALIGN=CENTER><CENTER>1</CENTER></TD><TD BGCOLOR=#000000 ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#FFFFFF>John</FONT></TD><TD BGCOLOR=#000000 ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#FFFFFF>Paul</FONT></TD><TD BGCOLOR=#000000 ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#FFFFFF>George</FONT></TD><TD BGCOLOR=#000000 ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#FFFFFF>Ringo</FONT></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD></TR><TR><TD WIDTH=1% BGCOLOR=#D4D0C8 ALIGN=CENTER><CENTER>2</CENTER></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF ALIGN=Left VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>Longest "1" series = 4</FONT></TD><TD BGCOLOR=#FFFFFF></TD></TR><TR><TD WIDTH=1% BGCOLOR=#D4D0C8 ALIGN=CENTER><CENTER>3</CENTER></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF ALIGN=Left VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>Longest "0" series = 7</FONT></TD><TD BGCOLOR=#FFFFFF></TD></TR><TR><TD WIDTH=1% BGCOLOR=#D4D0C8 ALIGN=CENTER><CENTER>4</CENTER></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD></TR><TR><TD WIDTH=1% BGCOLOR=#D4D0C8 ALIGN=CENTER><CENTER>5</CENTER></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD></TR><TR><TD WIDTH=1% BGCOLOR=#D4D0C8 ALIGN=CENTER><CENTER>6</CENTER></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD></TR><TR><TD WIDTH=1% BGCOLOR=#D4D0C8 ALIGN=CENTER><CENTER>7</CENTER></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD></TR><TR><TD WIDTH=1% BGCOLOR=#D4D0C8 ALIGN=CENTER><CENTER>8</CENTER></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD></TR><TR><TD WIDTH=1% BGCOLOR=#D4D0C8 ALIGN=CENTER><CENTER>9</CENTER></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD></TR><TR><TD WIDTH=1% BGCOLOR=#D4D0C8 ALIGN=CENTER><CENTER>10</CENTER></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD></TR><TR><TD WIDTH=1% BGCOLOR=#D4D0C8 ALIGN=CENTER><CENTER>11</CENTER></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD></TR><TR><TD WIDTH=1% BGCOLOR=#D4D0C8 ALIGN=CENTER><CENTER>12</CENTER></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD></TR><TR><TD WIDTH=1% BGCOLOR=#D4D0C8 ALIGN=CENTER><CENTER>13</CENTER></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FF99CC ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD></TR><TR><TD WIDTH=1% BGCOLOR=#D4D0C8 ALIGN=CENTER><CENTER>14</CENTER></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FF99CC ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#CCFFCC ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD></TR><TR><TD WIDTH=1% BGCOLOR=#D4D0C8 ALIGN=CENTER><CENTER>15</CENTER></TD><TD BGCOLOR=#FF99CC ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FF99CC ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#CCFFCC ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD></TR><TR><TD WIDTH=1% BGCOLOR=#D4D0C8 ALIGN=CENTER><CENTER>16</CENTER></TD><TD BGCOLOR=#FF99CC ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FF99CC ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#CCFFCC ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD></TR><TR><TD WIDTH=1% BGCOLOR=#D4D0C8 ALIGN=CENTER><CENTER>17</CENTER></TD><TD BGCOLOR=#FF99CC ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#CCFFCC ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD></TR><TR><TD WIDTH=1% BGCOLOR=#D4D0C8 ALIGN=CENTER><CENTER>18</CENTER></TD><TD BGCOLOR=#FF99CC ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#CCFFCC ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD></TR><TR><TD WIDTH=1% BGCOLOR=#D4D0C8 ALIGN=CENTER><CENTER>19</CENTER></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>1</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#CCFFCC ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD></TR><TR><TD WIDTH=1% BGCOLOR=#D4D0C8 ALIGN=CENTER><CENTER>20</CENTER></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#CCFFCC ALIGN=Center VALIGN=BOTTOM ><FONT FACE=Arial COLOR=#000000>0</FONT></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD><TD BGCOLOR=#FFFFFF></TD></TR><TR><TD COLSPAN=8><U>Sheet1</U></TD></TR></TABLE><FONT COLOR=#339966>To see the formula in the cells just click on the cells hyperlink or click the Name box</FONT><FONT COLOR=RED SIZE=2>PLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! Otherwise, the error of JavaScript occurs.</FONT><FONT COLOR=#339966 SIZE=1>The above image was automatically generated by [HtmlMaker 2.0�@BETA]</FONT><FONT COLOR=#339966 SIZE=1>If you want FREE SOFT,<A HREF=http://www28.tok2.com/home/corosuke/HtmlMaker.htm>click here</A> to download</FONT><FONT COLOR=#339966 SIZE=1>This code was graciously allowed to be modified: by All credit to<A HREF=mailto:corosuke@chan.co.jp>Colo</FONT></CENTER>

How would I calculate the longest contiguous series of a number ?

My data *is* this simple, just "1"s and "0"s..... so in the above example, the longest series of "1"s would be 4, whilst the longest series of "0"s would be 7

No offence to the VBA experts, but I'm after a formula-based solution, and this is recreational problem, not work-related, so no priority whatsoever

many thanks
Chris
:)
This message was edited by Chris Davison on 2002-06-08 12:11
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Wouild you have any objections to adding in hidden rows,

thinking im a fool i should tell the board as im for ever telling you on the phone and others and even myself, can we refer to a data sheet?
 
Upvote 0
Jack,

don't wy time on this..... I was being WAY too thick.... it's really easy

just a simple "if" the number is = the number above it, then add 1 to the number above

then just do a MAX on the whole range, or a MIN to find longest and shortest streaks....

cheers though

:)
 
Upvote 0
cool i was playing at UDF for you had some fun thou: dreadful; and bizzar!

I was toying with find, match and lookup...

i have neaqrly solved something, ill add on this feed when done...

Also could you wack and example in HTML some guys might like this one.
 
Upvote 0
On 2002-06-08 12:13, Chris Davison wrote:
Jack,

don't wy time on this..... I was being WAY too thick.... it's really easy

just a simple "if" the number is = the number above it, then add 1 to the number above

then just do a MAX on the whole range, or a MIN to find longest and shortest streaks....

cheers though

:)

Something like this par hasard, which is indeed not too difficult to come up with?
aaCountSeqsOfOnes&Zeroes ChrisDavison.xls
ABCDEFGHIJKLMN
1pauljorgechristodjango1010
21101 1      46
310012  2    
40000      3 
50010    2   
61010  2     
71000      1 
81010     6  
911104 2    6
100101        
110101    2   
12110114 3    
...


However, see Harlan's solution which you can find by doing a Groups search with Google by using 'wins' on trot formula as search term.

Aladin
This message was edited by aladin akyurek on 2002-06-08 13:06
 
Upvote 0
thanks Aladin, yes, not too difficult at all !

Harlan Grove's formula may take a little bit of time to decipher though, *thanks* for that, there goes my Sunday
:wink:

MMULT..... interesting
 
Upvote 0

Forum statistics

Threads
1,216,025
Messages
6,128,341
Members
449,443
Latest member
Chrissy_M

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top