amruthubballi

New Member
Joined
Apr 27, 2017
Messages
15
Hi,

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

Match Schedule
1Home Team(A1)Away Team(B1)Result(C1)
2RPSKKR
3RCBRCB
4KKRKKR

<tbody>
</tbody>


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

<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

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
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,214,806
Messages
6,121,672
Members
449,045
Latest member
Marcus05

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