Using MATCH to match 2 columns

Steviefiege

Board Regular
Joined
Aug 29, 2018
Messages
66
Hi,
I have a table below:


<colgroup><col style="mso-width-source:userset;mso-width-alt:6363;width:131pt" width="174"> <col style="mso-width-source:userset;mso-width-alt:2998;width:62pt" width="82"> <col style="width:48pt" width="64" span="7"> </colgroup><tbody>
[TD="class: xl70, width: 174"]team[/TD]
[TD="class: xl70, width: 82"]Matches Pld[/TD]
[TD="class: xl70, width: 64"] [/TD]
[TD="class: xl72, width: 64"]Home Win[/TD]
[TD="class: xl72, width: 64"]Home Draw[/TD]
[TD="class: xl72, width: 64"]Home Loss[/TD]
[TD="class: xl70, width: 64"] [/TD]
[TD="class: xl70, width: 64"]Best Result[/TD]
[TD="class: xl70, width: 64"]Rating[/TD]

[TD="class: xl65"]Accrington Stanley[/TD]
[TD="class: xl70, align: right"]4[/TD]
[TD="class: xl70"] [/TD]
[TD="class: xl75"]0[/TD]
[TD="class: xl75"]75[/TD]
[TD="class: xl75"]25[/TD]
[TD="class: xl70"] [/TD]
[TD="class: xl70"] [/TD]
[TD="class: xl70"] [/TD]

[TD="class: xl65"]AFC Bournemouth[/TD]
[TD="class: xl70, align: right"]2[/TD]
[TD="class: xl70"] [/TD]
[TD="class: xl75"]50[/TD]
[TD="class: xl75"]50[/TD]
[TD="class: xl75"]0[/TD]
[TD="class: xl70"] [/TD]
[TD="class: xl70"] [/TD]
[TD="class: xl70"] [/TD]

[TD="class: xl65"]AFC Fylde[/TD]
[TD="class: xl70, align: right"]5[/TD]
[TD="class: xl70"] [/TD]
[TD="class: xl75"]60[/TD]
[TD="class: xl75"]20[/TD]
[TD="class: xl75"]20[/TD]
[TD="class: xl70"] [/TD]
[TD="class: xl70"] [/TD]
[TD="class: xl70"] [/TD]

[TD="class: xl65"]AFC Wimbledon[/TD]
[TD="class: xl70, align: right"]3[/TD]
[TD="class: xl70"] [/TD]
[TD="class: xl75"]0[/TD]
[TD="class: xl75"]33[/TD]
[TD="class: xl75"]67[/TD]
[TD="class: xl70"] [/TD]
[TD="class: xl70"] [/TD]
[TD="class: xl70"] [/TD]

[TD="class: xl65"]Aldershot Town[/TD]
[TD="class: xl70, align: right"]5[/TD]
[TD="class: xl70"] [/TD]
[TD="class: xl75"]60[/TD]
[TD="class: xl75"]20[/TD]
[TD="class: xl75"]20[/TD]
[TD="class: xl70"] [/TD]
[TD="class: xl70"] [/TD]
[TD="class: xl70"] [/TD]

[TD="class: xl65"]Arsenal[/TD]
[TD="class: xl70, align: right"]2[/TD]
[TD="class: xl70"] [/TD]
[TD="class: xl75"]50[/TD]
[TD="class: xl75"]0[/TD]
[TD="class: xl75"]50[/TD]
[TD="class: xl70"] [/TD]
[TD="class: xl70"] [/TD]
[TD="class: xl70"] [/TD]

</tbody>

Under Best Result how, for example if i use Accrington Stanley, would i put Home Draw & under Rating put 75

Rgs
Steve
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
In the Best Result column in my table, next to each team i would like it to say which is the highest result. For example, if i take AFC Fylde, their best result is Home Win with a rating of 60. Thats what i want it to say in the last 2 columns
 
Upvote 0
How about


Excel 2013 32 bit
ABCDEFGHI
1teamMatches PldHome WinHome DrawHome LossBest ResultRating
2Accrington Stanley407525Home Draw75
3AFC Bournemouth250500Home Win50
4AFC Fylde5602020Home Win60
5AFC Wimbledon303367Home Loss67
6Aldershot Town5602020Home Win60
7Arsenal250050Home Win50
Sheet1
Cell Formulas
RangeFormula
H2=INDEX(D$1:F$1,1,MATCH(MAX(D2:F2),D2:F2,0))
I2=MAX(D2:F2)
 
Last edited:
Upvote 0
Glad to help & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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