Matching 2 Cells to get the 3rd

Steviefiege

Board Regular
Joined
Aug 29, 2018
Messages
66
Hi, i'm hoping this is an easy one, i just can't get my head around the formula to use.
Below is my spreadsheet with all my players on the left & every position they play in & their ratings.
On the right is every individual player & their BEST rating. What i'm wanting is for on the right under BEST POSITION is to match the player & the rating to get their BEST POSITION.
For example: Aaron Taylor-Sinclair his best rating is 59.29%, under BEST POSITION i want it to say CWB (Left) as thats his best position but i cant get the formula right. I've put it in bold on the left as so you can see which one i mean.


<tbody>
[TD="class: xl63"]PLAYER[/TD]
[TD="class: xl63, width: 100"]POSITION[/TD]
[TD="class: xl63, width: 100"]RATING[/TD]
[TD="class: xl63, width: 64"][/TD]
[TD="class: xl63, width: 64"][/TD]
[TD="class: xl63, width: 64"][/TD]
[TD="class: xl63, width: 130"]PLAYER[/TD]
[TD="class: xl63, width: 64"][/TD]
[TD="class: xl63, width: 100"]RATING[/TD]
[TD="class: xl63, width: 64"]BEST POSITION[/TD]

[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]

[TD="class: xl65"]Frazer Richardson[/TD]
[TD="class: xl66"]CWB (Right)[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl71"]Aaron Taylor-Sinclair[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl74"]59.29%[/TD]
[TD="class: xl75"][/TD]

[TD="class: xl67"]Gary Taylor-Fletcher[/TD]
[TD="class: xl68"]AVP[/TD]
[TD="class: xl64"]66.67%[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl71"]Andrew Williams[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]

[TD="class: xl69"]Paul Keegan[/TD]
[TD="class: xl66"]AVP[/TD]
[TD="class: xl64"]65.00%[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl71"]Andy Butler[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]

[TD="class: xl67"]Gary Taylor-Fletcher[/TD]
[TD="class: xl68"]DLP[/TD]
[TD="class: xl64"]63.89%[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl73"]Benjamin Greasley[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]

[TD="class: xl69"]Mathieu Baudry[/TD]
[TD="class: xl70"]BPD[/TD]
[TD="class: xl64"]62.35%[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl71"]Cedric Evina[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]

[TD="class: xl69"]Paul Keegan[/TD]
[TD="class: xl66"]DLP[/TD]
[TD="class: xl64"]62.22%[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl73"]Conner Williamson[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]

[TD="class: xl69"]Tommy Rowe[/TD]
[TD="class: xl66"]CWB (Left)[/TD]
[TD="class: xl64"]61.67%[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl71"]Craig Alcock[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]

[TD="class: xl69"]Tommy Rowe[/TD]
[TD="class: xl66"]AVP[/TD]
[TD="class: xl64"]61.11%[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl71"]Dany N'Guessan[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]

[TD="class: xl69"]Andy Butler[/TD]
[TD="class: xl70"]BPD[/TD]
[TD="class: xl64"]60.88%[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl72"]David Foley[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]

[TD="class: xl69"]Andrew Williams[/TD]
[TD="class: xl68"]Winger (Right)[/TD]
[TD="class: xl64"]60.45%[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl71"]Dean Winnard[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]

[TD="class: xl67"]Gary Taylor-Fletcher[/TD]
[TD="class: xl68"]CF[/TD]
[TD="class: xl64"]60.23%[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl71"]Frazer Richardson[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]

[TD="class: xl69"]Craig Alcock[/TD]
[TD="class: xl70"]BPD[/TD]
[TD="class: xl64"]60.00%[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl71"]Gary McSheffrey[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]

[TD="class: xl69"] Aaron Taylor-Sinclair
[/TD]
[TD="class: xl66"] CWB (Left) [/TD]
[TD="class: xl64"] 59.29% [/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl72"]Gary Taylor-Fletcher[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]

[TD="class: xl69"]Tommy Rowe[/TD]
[TD="class: xl68"]IF (Left)[/TD]
[TD="class: xl64"]59.29%[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl71"]Harry Middleton[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]

[TD="class: xl65"]Aaron Taylor-Sinclair[/TD]
[TD="class: xl70"]BPD[/TD]
[TD="class: xl64"]59.12%[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl73"]Jai Quitongo[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]

[TD="class: xl69"]Tommy Rowe[/TD]
[TD="class: xl66"]DLP[/TD]
[TD="class: xl64"]58.33%[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl73"]Joe Pugh[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]

[TD="class: xl67"]Gary Taylor-Fletcher[/TD]
[TD="class: xl68"]Winger (Right)[/TD]
[TD="class: xl64"]58.18%[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl71"]Joe Wright[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]

[TD="class: xl69"]Cedric Evina[/TD]
[TD="class: xl66"]CWB (Left)[/TD]
[TD="class: xl64"]58.10%[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl71"]John Marquis[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]

[TD="class: xl69"]Andrew Williams[/TD]
[TD="class: xl68"]IF (Left)[/TD]
[TD="class: xl64"]56.79%[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl71"]Jordan Houghton[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]

[TD="class: xl69"]Jordan Houghton[/TD]
[TD="class: xl66"]DLP[/TD]
[TD="class: xl64"]56.67%[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl73"]Jordan Linley[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]

[TD="class: xl67"]David Foley[/TD]
[TD="class: xl68"]Winger (Right)[/TD]
[TD="class: xl64"]56.36%[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl73"]Joseph McCormick[/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl63"][/TD]

</tbody>

Kind Regards
Steve
 
As I have a busy day tomorrow and may not have time to respond, and you haven't answered my questions above.

Assuming the setup is like my Post # 8, use C3 and E3 formulas if there are No Blank rows.
Use D3 and F3 formulas if there are Blank rows in between different positions.


Book1
ABCDEF
1PositionPlayerPlayerRatingRating
2
3WB (Right)Matty BlairMatty Blair58.558.5
4CDAndy ButlerAndy Butler70.8370.83
5CDAndy BoyleAndy Boyle68.3368.33
6WB (Left)Danny AndrewDanny Andrew6161
7#NUM!#NUM!
8BBMHenrik BjordalHenrik Bjordal55.5355.53
9BBMBen WhitemanBen Whiteman54.2154.21
10#NUM!#NUM!
11IF (Right)James CoppingerJames Coppinger60.7160.71
12IF (Left)Alfie MayAlfie May50.7150.71
13#NUM!#NUM!
14F9Liam MandevilleLiam Mandeville56.9256.92
15F9John MarquisJohn Marquis54.2354.23
Sheet220
Cell Formulas
RangeFormula
C3{=INDEX(Sheet221!A$1:A$33,MATCH(A3&E3,Sheet221!C$1:C$33&Sheet221!B$1:B$33,0))}
D3{=IFERROR(INDEX(Sheet221!A$1:A$33,MATCH(A3&E3,Sheet221!C$1:C$33&Sheet221!B$1:B$33,0)),"")}
E3{=LARGE(IF(Sheet221!C$1:C$33=A3,Sheet221!B$1:B$33),COUNTIF(A$3:A3,A3))}
F3{=IFERROR(LARGE(IF(Sheet221!C$1:C$33=A3,Sheet221!B$1:B$33),COUNTIF(A$3:A3,A3)),"")}
Press CTRL+SHIFT+ENTER to enter array formulas.



Book1
ABC
1Alex Kiwomya49.64IF (Right)
2Alfie Beestin52.14IF (Right)
3Alfie May50.71IF (Left)
4Andrew Williams53.46F9
5Andy Boyle68.33CD
6Andy Butler70.83CD
7Anthony Greaves30IF (Right)
8Ben Whiteman54.21BBM
9Branden Horton46.25CD
10Cameron Barnett36.92F9
11Cedric Evina47WB (Left)
12Corie Andrews50IF (Right)
13Craig Alcock60.42CD
14Danny Andrew61WB (Left)
15Henrik Bjordal55.53BBM
16Issam Ben Khemis48.95BBM
17James Coppinger60.71IF (Right)
18Joe Wright56.25CD
19John Marquis54.23F9
20Jordan Houghton51.58BBM
21Liam Mandeville56.92F9
22Luke McCullough57.92CD
23Mathieu Baudry60CD
24Matty Blair58.5WB (Right)
25Mitchell Lund53.5WB (Right)
26Myron Gibbons32.69F9
27Niall Mason56.5WB (Right)
28Rieves Boocock36.15F9
29Rodney Kongolo57.08CD
30Shane Blaney49.58CD
31Tom Anderson56.25CD
32Tommy Rowe59.5WB (Left)
33Tyler Garrett54WB (Left)
Sheet221
 
Upvote 0

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Forum statistics

Threads
1,223,228
Messages
6,170,875
Members
452,363
Latest member
merico17

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