Hi All,
I'm working on trying to produce some stats for a football league I help run. As the results come in I just put a W or a L against the team name to show if they won or lost. The data is in columns F2:G1255. An example is show below.
I want to create a formula that shows the most amount of consecutive losses "L" a team has had. The answer I would want for Baystown in the example shown would be 4.
Then I need to create a formula for the most amount of consecutive Wins "W" a team has had. The answer I would want for Globe in the example shown would be 3.
Does anyone know if the above formulas are possible please?
Kind regards,
James
[TABLE="width: 156"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Baystown[/TD]
[TD]L[/TD]
[/TR]
[TR]
[TD]Globe[/TD]
[TD]W[/TD]
[/TR]
[TR]
[TD]North Shields[/TD]
[TD]L[/TD]
[/TR]
[TR]
[TD]Eastbridge[/TD]
[TD]W[/TD]
[/TR]
[TR]
[TD]Baystown[/TD]
[TD]L[/TD]
[/TR]
[TR]
[TD]Baystown[/TD]
[TD]L[/TD]
[/TR]
[TR]
[TD]North Shields[/TD]
[TD]W[/TD]
[/TR]
[TR]
[TD]Eastbridge[/TD]
[TD]W[/TD]
[/TR]
[TR]
[TD]Globe[/TD]
[TD]W[/TD]
[/TR]
[TR]
[TD]Globe[/TD]
[TD]W[/TD]
[/TR]
[TR]
[TD]North Shields[/TD]
[TD]L[/TD]
[/TR]
[TR]
[TD]Baystown[/TD]
[TD]L[/TD]
[/TR]
[TR]
[TD]Baystown[/TD]
[TD]W[/TD]
[/TR]
[TR]
[TD]Globe[/TD]
[TD]L[/TD]
[/TR]
[TR]
[TD]Globe[/TD]
[TD]W[/TD]
[/TR]
[TR]
[TD]North Shields[/TD]
[TD]W[/TD]
[/TR]
[TR]
[TD]Eastbridge[/TD]
[TD]L[/TD]
[/TR]
[TR]
[TD]Eastbridge[/TD]
[TD]W[/TD]
[/TR]
</tbody>[/TABLE]
I'm working on trying to produce some stats for a football league I help run. As the results come in I just put a W or a L against the team name to show if they won or lost. The data is in columns F2:G1255. An example is show below.
I want to create a formula that shows the most amount of consecutive losses "L" a team has had. The answer I would want for Baystown in the example shown would be 4.
Then I need to create a formula for the most amount of consecutive Wins "W" a team has had. The answer I would want for Globe in the example shown would be 3.
Does anyone know if the above formulas are possible please?
Kind regards,
James
[TABLE="width: 156"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Baystown[/TD]
[TD]L[/TD]
[/TR]
[TR]
[TD]Globe[/TD]
[TD]W[/TD]
[/TR]
[TR]
[TD]North Shields[/TD]
[TD]L[/TD]
[/TR]
[TR]
[TD]Eastbridge[/TD]
[TD]W[/TD]
[/TR]
[TR]
[TD]Baystown[/TD]
[TD]L[/TD]
[/TR]
[TR]
[TD]Baystown[/TD]
[TD]L[/TD]
[/TR]
[TR]
[TD]North Shields[/TD]
[TD]W[/TD]
[/TR]
[TR]
[TD]Eastbridge[/TD]
[TD]W[/TD]
[/TR]
[TR]
[TD]Globe[/TD]
[TD]W[/TD]
[/TR]
[TR]
[TD]Globe[/TD]
[TD]W[/TD]
[/TR]
[TR]
[TD]North Shields[/TD]
[TD]L[/TD]
[/TR]
[TR]
[TD]Baystown[/TD]
[TD]L[/TD]
[/TR]
[TR]
[TD]Baystown[/TD]
[TD]W[/TD]
[/TR]
[TR]
[TD]Globe[/TD]
[TD]L[/TD]
[/TR]
[TR]
[TD]Globe[/TD]
[TD]W[/TD]
[/TR]
[TR]
[TD]North Shields[/TD]
[TD]W[/TD]
[/TR]
[TR]
[TD]Eastbridge[/TD]
[TD]L[/TD]
[/TR]
[TR]
[TD]Eastbridge[/TD]
[TD]W[/TD]
[/TR]
</tbody>[/TABLE]