Rugby - Biggest Win

chorina13

New Member
Joined
Mar 23, 2024
Messages
15
Office Version
  1. 2021
Platform
  1. Windows
Hi, Like a lot of others, I am trying to create my own local Rugby Spreadsheet, but but struck a problem with the formula. On one sheet which is named 'Setup' I have a small box containing some facts (shown below). I am okay with the first part getting the Home and Away teams names, but having trouble with the formula to return the score value in the colored boxes. The other picture show the data on another sheet named 'Calcs'.
Can anyone help
2024-03-28 09 02 25.jpg
2024-03-28 08 59 01.jpg

Thanks.
Have a GREAT day
Blackie
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Welcome to the Forum!

It's not clear from this example what results you're expecting. Are you looking for Taranaki's biggest home win? Or the biggest home win out of all 36 games, which might involve Taranaki?

What does biggest mean? Biggest home score? Biggest difference between home and away score? What if there is more than one equal result?
 
Upvote 0
Welcome to the Forum!

It's not clear from this example what results you're expecting. Are you looking for Taranaki's biggest home win? Or the biggest home win out of all 36 games, which might involve Taranaki?

What does biggest mean? Biggest home score? Biggest difference between home and away score? What if there is more than one equal result?
Thanks for your response. Admittedly, the example shown is just only one result, but what I am after is that at the end of the season, I want the result to show the team who scored the highest points for any Home game over the season along with what the score was and who it was against. This is cover both the Home game and Away game which would be updated automatically as the season progresses. I hope the better clarifys what it is I am after.
Have a GREAT Easter
Blackie
 
Upvote 0
Perhaps something like this:

ASATAUAVAWAXAYAZBABBBC
1GameHome teamHScoreAScoreAway Team
2Home scoreHomeAwayScore1A2727F
3HighestAF27272B1019G
4CH27283C2728H
54D1425I
6Highest winningFB23145E1015J
76F2314B
87G217C
98H1810D
109I1913E
1110J2011A
1211A1317H
1312B1716I
1413C2010J
1514D911F
1615E203G
1716F229E
1817G1312A
1918H1117B
2019I1417C
2120J1225D
22
Sheet1
Cell Formulas
RangeFormula
AT3:AW4AT3=CHOOSECOLS(FILTER(AZ2:BC21,BA2:BA21=MAX(BA2:BA21)),{1,4,2,3})
AT6:AW6AT6=IFERROR(CHOOSECOLS(FILTER(AZ2:BC21,BA2:BA21=MAX(IF(BA2:BA21-BB2:BB21>0,BA2:BA21))),{1,4,2,3}),"No home wins!")
Dynamic array formulas.
 
Upvote 0
Perhaps something like this:

ASATAUAVAWAXAYAZBABBBC
1GameHome teamHScoreAScoreAway Team
2Home scoreHomeAwayScore1A2727F
3HighestAF27272B1019G
4CH27283C2728H
54D1425I
6Highest winningFB23145E1015J
76F2314B
87G217C
98H1810D
109I1913E
1110J2011A
1211A1317H
1312B1716I
1413C2010J
1514D911F
1615E203G
1716F229E
1817G1312A
1918H1117B
2019I1417C
2120J1225D
22
Sheet1
Cell Formulas
RangeFormula
AT3:AW4AT3=CHOOSECOLS(FILTER(AZ2:BC21,BA2:BA21=MAX(BA2:BA21)),{1,4,2,3})
AT6:AW6AT6=IFERROR(CHOOSECOLS(FILTER(AZ2:BC21,BA2:BA21=MAX(IF(BA2:BA21-BB2:BB21>0,BA2:BA21))),{1,4,2,3}),"No home wins!")
Dynamic array formulas.
Again, thank you for your help. but after entering the formulas, all I got was #NAME? in AT3 and No home wins! in AT6. I double & tripple checked that the formulas I entered were as you sent.
For your info the formulas I used in my biggest winner etc box are as follows which may be of assistance to you.

Biggest Home Win was quote =index(DummyTable!$AZ$3:$AZ$80,MATCH(MAX(DummyTable!$BA$3:$BA$80),DummyTable!$BA$3:$BA$80,0),1) unqote.
and against the Away Team quote =index(DummyTable!$BC$3:$BC$80,MATCH(MAX(DummyTable!$BB$3:$BB$80),DummyTable!$BB$3:$BB$80,0),1) unqote.

Weather this helps or not I don't know, but all I am trying to do is to get the appropriate teams points into those boxes.

Thank you and have a great day.
 
Upvote 0
Oops sorry, you won't have the CHOOSECOLS function in Excel 2021.

Try this:

ASATAUAVAWAXAYAZBABBBC
1HomeHomeAwayAwayGameHome teamHScoreAScoreAway Team
2Home scoreTeamScoreScoreTeam1A2727F
3HighestA2727F2B1019G
4C2728H3C2728H
54D1425I
6Highest winningF2314B5E1015J
76F2314B
87G217C
98H1810D
109I1913E
1110J2011A
1211A1317H
1312B1716I
1413C2010J
1514D911F
1615E203G
1716F229E
1817G1312A
1918H1117B
2019I1417C
2120J1225D
Sheet1
Cell Formulas
RangeFormula
AT3:AW4AT3=FILTER(AZ2:BC21,BA2:BA21=MAX(BA2:BA21))
AT6:AW6AT6=IFERROR(FILTER(AZ2:BC21,(BA2:BA21>0)*(BA2:BA21=MAX(IF(BA2:BA21-BB2:BB21>0,BA2:BA21)))),"No home wins!")
Dynamic array formulas.
 
Upvote 0
Oops sorry, you won't have the CHOOSECOLS function in Excel 2021.

Try this:

ASATAUAVAWAXAYAZBABBBC
1HomeHomeAwayAwayGameHome teamHScoreAScoreAway Team
2Home scoreTeamScoreScoreTeam1A2727F
3HighestA2727F2B1019G
4C2728H3C2728H
54D1425I
6Highest winningF2314B5E1015J
76F2314B
87G217C
98H1810D
109I1913E
1110J2011A
1211A1317H
1312B1716I
1413C2010J
1514D911F
1615E203G
1716F229E
1817G1312A
1918H1117B
2019I1417C
2120J1225D
Sheet1
Cell Formulas
RangeFormula
AT3:AW4AT3=FILTER(AZ2:BC21,BA2:BA21=MAX(BA2:BA21))
AT6:AW6AT6=IFERROR(FILTER(AZ2:BC21,(BA2:BA21>0)*(BA2:BA21=MAX(IF(BA2:BA21-BB2:BB21>0,BA2:BA21)))),"No home wins!")
Dynamic array formulas.
Well that certainly made a difference - but the results are exactly the same - what I am looking for is the biggest Home win and the biggest Away win.
Thanks agai
Blackie
 
Upvote 0
I want the result to show the team who scored the highest points for any Home game over the season along with what the score was and who it was against.
... but the results are exactly the same - what I am looking for is the biggest Home win and the biggest Away win.
Yes, I have given you two results for the home score, to illustrate that "biggest home win" is not necessarily the same as "highest points for any home game".

Pick the formula you want, and it should be very simple to adapt to the away game result.
 
Upvote 0
Yes, I have given you two results for the home score, to illustrate that "biggest home win" is not necessarily the same as "highest points for any home game".

Pick the formula you want, and it should be very simple to adapt to the away game result.
Thank you very much - you have been a great help
Have a great day
Blackie
 
Upvote 0

Forum statistics

Threads
1,223,706
Messages
6,173,998
Members
452,542
Latest member
Bricklin

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