Cricket Points Table

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
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Hi, welcome to the forum!

Something like this maybe:


Excel 2013
ABCDEFGH
1Home Team(A1)Away Team(B1)Result(C1)Teams(E1)Games Played(F1)Wins(G1)Points(H1)
2RPSKKRKKRRPS20
3RCBRPSRCBKKR22
4KKRAAAKKRRCB11
5GL00
Sheet1
Cell Formulas
RangeFormula
F2=COUNTIFS(A:A,E2,C:C,"<>")+COUNTIFS(B:B,E2,C:C,"<>")
G2=COUNTIFS(C:C,E2)
 
Upvote 0
You dont seem to have made any provision for if a game is called off and both teams share the 2 points so you could maybe use something like this in G2:

=COUNTIF($C:$C,E2)+COUNTIFS($A:$A,E2,$C:$C,"rain")/2+COUNTIFS($B:$B,E2,$C:$C,"rain")/2

instead of typing the winner in column C you type 'rain' if a game is called off.
 
Upvote 0

Forum statistics

Threads
1,223,249
Messages
6,171,031
Members
452,374
Latest member
keccles

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