Scoring table

Rock5150

Board Regular
Joined
Nov 16, 2012
Messages
93
Office Version
  1. 365
Platform
  1. Windows
Hello. I have posted here before if you see my profile for golf scores. I would like to see if someone can assist in creating a table where a designated "1" is given if the person wins a match,, "0" for a tie, and "-1" for a loss. In short, a match would be between two people where each hole, the person with the lower score would win, if both tie, then it's a tie for that hole. Obviously if one person wins, the other person loses the hole. Since each match is 18 holes, between two people, then the accumulation would be the winner would be the person with more hole wins than the other. So for example, Person A wins holes 1,5,6,7,11,13,14, 18. Person B wins outright holes 2,3,4,8,15,16. The ties would be 9,10,12,17. So in the table, Person A has 8 wins, B has 6 wins and 4 ties. Therefore in. my summary table, Person A would get a "1, and since the ties do not even out, then Person B would get "-1". That is in its simplest form. The table I would like is if I have each person's scores in a row format, this created table can pull from the scoring data. My goal is Person A would compete against B, C, D, E (simple format). Can someone help me create a formula?

So here is the raw data with the actual scores. It's Column A:S. Column A is the name. There are five rows. Assume no headers here which is fine

1714267748433.png

Now the kicker is I want to create a table so that its calculated that A plays B, plays C, D, etc. Obviously I don't need a score of A vs. A

So an example would be below. A formula to calculate the -1,1,0 and then a simple sum to total the "1s", "-1" and "0" per person vertically added. The numbers below I made up but shown for visual. I would have the raw data in one sheet and the below table in another sheet but all in the same workbook.

1714267935823.png


I
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Hi, please post sample data and expected result using XL2BB.
 
Upvote 1
To clarify, in a match, if Person A has 5 wins and Person B has 5 wins (holes won), and the other 8 are ties, the A and B in the second table each Get a "0" in that case.
 
Upvote 0
I use a Mac with Microsoft Excel. Will this be an issue? I am not experienced with the xl2BB
 
Upvote 0
Can someone assist here? My computer is not allowing this add-in and blocking. I tried to go to options add-ins and allow macros but my work computer is not allowing. I have previously not used the add-in before. Thanks
 
Upvote 0
Ok I was able to get the add in to work . Here are the two items as noted above

HD Ham and Egg spreadsheet for HD Invitational May 2024 everyone has everyone.xlsx
ABCDEFGHIJKLMNOPQRS
1Person A353332662354234357
2Person B454233453354324454
3Person C443453453354234444
4Person D447544655465334455
5Person E453343453356324354
Sheet6






HD Ham and Egg spreadsheet for HD Invitational May 2024 everyone has everyone.xlsx
ABCDEF
1Person APerson BPerson CPerson DPerson E
2Person A-1
3Person B1
4Person C1
5Person D1
6Person E0
7
8Total wins (1)xxxxxxxxxx
9Total loses (-1)xxxxxxxxxx
10Total ties (0)xxxxxxxxxx
Sheet7
 
Upvote 0
Book1
ABCDEFGHIJKLMNOPQRSTUVWXYZAA
1Person A353332662354234357Person APerson BPerson CPerson DPerson E
2Person B454233453354324454Person A0-1-1-1-1
3Person C443453453354234444Person B101-1-1
4Person D447544655465334455Person C1-10-10
5Person E453343453356324354Person D11101
6Person E110-10
7
8Total Wins42201
9Total Losses02142
10Total Ties00101
11
Sheet2
Cell Formulas
RangeFormula
V1:Z1V1=TRANSPOSE(A1:A5)
U2:U6U2=A1:A5
V2:Z6V2=LET(a,XLOOKUP(V$1,$A$1:$A$5,$B$1:$S$5),b,XLOOKUP($U2,$A$1:$A$5,$B$1:$S$5),s,SUM(--(a<b))-SUM(--(a>b)),IF(s>0,1,IF(s<0,-1,0)))
V8:Z8V8=COUNTIF(V2:V6,1)
V9:Z9V9=COUNTIF(V2:V6,-1)
V10:Z10V10=COUNTIF(V2:V6,0)-1
Dynamic array formulas.
 
Upvote 0
Solution
Book1
ABCDEFGHIJKLMNOPQRSTUVWXYZAA
1Person A353332662354234357Person APerson BPerson CPerson DPerson E
2Person B454233453354324454Person A0-1-1-1-1
3Person C443453453354234444Person B101-1-1
4Person D447544655465334455Person C1-10-10
5Person E453343453356324354Person D11101
6Person E110-10
7
8Total Wins42201
9Total Losses02142
10Total Ties00101
11
Sheet2
Cell Formulas
RangeFormula
V1:Z1V1=TRANSPOSE(A1:A5)
U2:U6U2=A1:A5
V2:Z6V2=LET(a,XLOOKUP(V$1,$A$1:$A$5,$B$1:$S$5),b,XLOOKUP($U2,$A$1:$A$5,$B$1:$S$5),s,SUM(--(a<b))-SUM(--(a>b)),IF(s>0,1,IF(s<0,-1,0)))
V8:Z8V8=COUNTIF(V2:V6,1)
V9:Z9V9=COUNTIF(V2:V6,-1)
V10:Z10V10=COUNTIF(V2:V6,0)-1
Dynamic array formulas.
Thank you. For the LET formula, when I enter, it said it had too few arguments.
 
Upvote 0

Forum statistics

Threads
1,216,000
Messages
6,128,203
Members
449,433
Latest member
mwegter95

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