# Cricket Points Table

#### amruthubballi

##### New Member
Hi,

I am working on cricket points table, My table goes like this.

Match Schedule
 1 Home Team(A1) Away Team(B1) Result(C1) 2 RPS KKR 3 RCB RCB 4 KKR KKR

<tbody>
</tbody>

Points Table
 1 Teams(E1) Games Played(F1) Wins(G1) Points(H1) 2 RPS 3 KKR 4 RCB 5 GL

<tbody>
</tbody>

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

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

#### FormR

##### MrExcel MVP
Hi, welcome to the forum!

Something like this maybe:

<b>Excel 2013</b><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #BBB"><colgroup><col width="25px" style="background-color: #DAE7F5" /><col /><col /><col /><col /><col /><col /><col /><col /></colgroup><thead><tr style=" background-color: #DAE7F5;text-align: center;color: #161120"><th></th><th>A</th><th>B</th><th>C</th><th>D</th><th>E</th><th>F</th><th>G</th><th>H</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">1</td><td style="color: #333333;background-color: #FAFAFA;;">Home Team(A1)</td><td style="color: #333333;background-color: #FAFAFA;;">Away Team(B1)</td><td style="color: #333333;background-color: #FAFAFA;;">Result(C1)</td><td style="text-align: right;;"></td><td style="color: #333333;background-color: #FAFAFA;;">Teams(E1)</td><td style="color: #333333;background-color: #FAFAFA;;">Games Played(F1)</td><td style="color: #333333;background-color: #FAFAFA;;">Wins(G1)</td><td style="color: #333333;background-color: #FAFAFA;;">Points(H1)</td></tr><tr ><td style="color: #161120;text-align: center;">2</td><td style="color: #333333;background-color: #FAFAFA;;">RPS</td><td style="color: #333333;background-color: #FAFAFA;;">KKR</td><td style="color: #333333;background-color: #FAFAFA;;">KKR</td><td style="text-align: right;;"></td><td style="color: #333333;background-color: #FAFAFA;;">RPS</td><td style="text-align: right;color: #333333;background-color: #FFFF00;;">2</td><td style="text-align: right;color: #333333;background-color: #FFFF00;;">0</td><td style="text-align: right;color: #333333;background-color: #FAFAFA;;"></td></tr><tr ><td style="color: #161120;text-align: center;">3</td><td style="color: #333333;background-color: #FAFAFA;;">RCB</td><td style="color: #333333;background-color: #FAFAFA;;">RPS</td><td style="color: #333333;background-color: #FAFAFA;;">RCB</td><td style="text-align: right;;"></td><td style="color: #333333;background-color: #FAFAFA;;">KKR</td><td style="text-align: right;color: #333333;background-color: #FAFAFA;;">2</td><td style="text-align: right;color: #333333;background-color: #FAFAFA;;">2</td><td style="text-align: right;color: #333333;background-color: #FAFAFA;;"></td></tr><tr ><td style="color: #161120;text-align: center;">4</td><td style="color: #333333;background-color: #FAFAFA;;">KKR</td><td style="color: #333333;background-color: #FAFAFA;;">AAA</td><td style="background-color: #FAFAFA;;">KKR</td><td style="text-align: right;;"></td><td style="color: #333333;background-color: #FAFAFA;;">RCB</td><td style="text-align: right;color: #333333;background-color: #FAFAFA;;">1</td><td style="text-align: right;color: #333333;background-color: #FAFAFA;;">1</td><td style="text-align: right;color: #333333;background-color: #FAFAFA;;"></td></tr><tr ><td style="color: #161120;text-align: center;">5</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="color: #333333;background-color: #FAFAFA;;">GL</td><td style="text-align: right;color: #333333;background-color: #FAFAFA;;">0</td><td style="text-align: right;color: #333333;background-color: #FAFAFA;;">0</td><td style="text-align: right;background-color: #FAFAFA;;"></td></tr></tbody></table><p style="width:3.6em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #BBB;border-top:none;text-align: center;background-color: #DAE7F5;color: #161120">Sheet1</p><br /><br /><table width="85%" cellpadding="2.5px" rules="all" style=";border: 2px solid black;border-collapse:collapse;padding: 0.4em;background-color: #FFFFFF" ><tr><td style="padding:6px" ><b>Worksheet Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: #FFFFFF;border-collapse: collapse; border-color: #BBB"><thead><tr style=" background-color: #DAE7F5;color: #161120"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: #DAE7F5;color: #161120">F2</th><td style="text-align:left">=COUNTIFS(<font color="Blue">A:A,E2,C:C,"<>"</font>)+COUNTIFS(<font color="Blue">B:B,E2,C:C,"<>"</font>)</td></tr><tr><th width="10px" style=" background-color: #DAE7F5;color: #161120">G2</th><td style="text-align:left">=COUNTIFS(<font color="Blue">C:C,E2</font>)</td></tr></tbody></table></td></tr></table><br />

#### steve the fish

##### Well-known Member
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.

#### amruthubballi

##### New Member
Thank you so much... it really helped me a lot.

#### amruthubballi

##### New Member
Thank you so much... Now I have created as No Result column.

Replies
2
Views
189
Replies
0
Views
275
Replies
8
Views
689
Replies
1
Views
211
Replies
2
Views
387

Threads
1,127,616
Messages
5,625,873
Members
416,141
Latest member
Bartek9q

### 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

### 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