amruthubballi
New Member
- Joined
- Apr 27, 2017
- Messages
- 15
Hi,
I am working on cricket points table, My table goes like this.
Match Schedule
[TABLE="width: 400"]
<tbody>[TR]
[TD]1[/TD]
[TD]Home Team(A1)[/TD]
[TD]Away Team(B1)[/TD]
[TD]Result(C1)[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]RPS[/TD]
[TD]KKR[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]RCB[/TD]
[TD]RCB[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]KKR[/TD]
[TD]KKR[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Points Table
[TABLE="width: 500"]
<tbody>[TR]
[TD]1[/TD]
[TD]Teams(E1)[/TD]
[TD]Games Played(F1)[/TD]
[TD]Wins(G1)[/TD]
[TD]Points(H1)[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]RPS[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]KKR[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]RCB[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]GL[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I am making predections and working permutations so that my favourite team can go for playoffs. I need a formula, when I enter the winner in result column(C1) in Match schedule, Points table needs to be updated for those who played the game.
E.g If I enter the winner of 1st match as KKR in Result(C2), team played(RPS & KKR) should be shown indicating as 1 match played in points table i.e 1 in Games Played(F2) and 1 in Games Played(F3), smilarly if I enter the result of 2nd match as RCB then teams played(RCB & RPS) should shown as 1 in Games Played(F4) and 2 in Games Played(F2) (as RPS have played 2nd match in season)
In Games Played(F) column I want to indicate the number of matches played only after I enter results. Hope I have written enough to understand my problem and to resolve, Please someone help me.
Thank You
I am working on cricket points table, My table goes like this.
Match Schedule
[TABLE="width: 400"]
<tbody>[TR]
[TD]1[/TD]
[TD]Home Team(A1)[/TD]
[TD]Away Team(B1)[/TD]
[TD]Result(C1)[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]RPS[/TD]
[TD]KKR[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]RCB[/TD]
[TD]RCB[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]KKR[/TD]
[TD]KKR[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Points Table
[TABLE="width: 500"]
<tbody>[TR]
[TD]1[/TD]
[TD]Teams(E1)[/TD]
[TD]Games Played(F1)[/TD]
[TD]Wins(G1)[/TD]
[TD]Points(H1)[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]RPS[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]KKR[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]RCB[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]GL[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I am making predections and working permutations so that my favourite team can go for playoffs. I need a formula, when I enter the winner in result column(C1) in Match schedule, Points table needs to be updated for those who played the game.
E.g If I enter the winner of 1st match as KKR in Result(C2), team played(RPS & KKR) should be shown indicating as 1 match played in points table i.e 1 in Games Played(F2) and 1 in Games Played(F3), smilarly if I enter the result of 2nd match as RCB then teams played(RCB & RPS) should shown as 1 in Games Played(F4) and 2 in Games Played(F2) (as RPS have played 2nd match in season)
In Games Played(F) column I want to indicate the number of matches played only after I enter results. Hope I have written enough to understand my problem and to resolve, Please someone help me.
Thank You