Formula to Count number of wins between two players

sankaman

New Member
Joined
Apr 4, 2024
Messages
4
Office Version
  1. 365
Platform
  1. MacOS
I have a table in which I want to count the number of matches a certain player has won and loss. This is what I have:
1712270572230.png

What I want is a formula that returns the number of times Alex has won and lost against all other players and so on with every player.

I was thinking of COUNTIF but I can seem to get it to work.
 
What about this then?

24 04 06.xlsm
ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
2WLWLWLWLWLWLWLWLWLWLWLPts
3Alex32320442312143130463-2
WL
Cell Formulas
RangeFormula
X3X3=SUMPRODUCT((B3:T3>C3:U3)*(B$2:T$2="W"))
Y3Y3=COUNT(B3:U3)/2-X3
Z3Z3=SUMIF(B$2:U$2,"W",B3:U3)-SUMIF(B$2:U$2,"L",B3:U3)
Thank you, that did the trick.
 
Upvote 0

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
You're welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,216,213
Messages
6,129,550
Members
449,516
Latest member
lukaderanged

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