Using MATCH to link different sheets as one

Steviefiege

Board Regular
Joined
Aug 29, 2018
Messages
66
Hi, i'm new to this forum so i hope i've posted this in the right section.
What i'm doing is making a spreadsheet for my Football Manager game. I've got everything i need in, i just need to get a formula right to make my "Match Squad" work properly. Each position i've done with all the correct players but when you go to the match squad it puts the same players in different positions as they are the best player for that position, but what i want it to do is once the player is playing his in highest rated position for the spreadsheet not to pick him again so to pick the next one available. Some players though can play in multiple positions.

[TABLE="width: 549"]
<colgroup><col><col><col><col span="3"></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Goalkeeper:[/TD]
[TD][/TD]
[TD]Ross Etheridge[/TD]
[TD="align: right"]49.23%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Ball Playing Defender:[/TD]
[TD][/TD]
[TD]Mathieu Baudry[/TD]
[TD="align: right"]62.35%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Andy Butler[/TD]
[TD="align: right"]60.88%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Complete Wing Back (Right):
[/TD]
[TD][/TD]
[TD]Frazer Richardson[/TD]
[TD="align: right"]58.81%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Complete Wing Back (Left):[/TD]
[TD][/TD]
[TD]Tommy Rowe[/TD]
[TD="align: right"]61.67%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Deep Lying Playmaker:[/TD]
[TD][/TD]
[TD]Paul Keegan[/TD]
[TD="align: right"]62.22%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Advanced Playmaker:[/TD]
[TD][/TD]
[TD]Paul Keegan[/TD]
[TD="align: right"]65.00%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]James Coppinger[/TD]
[TD="align: right"]63.89%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Winger (Right):[/TD]
[TD][/TD]
[TD]James Coppinger[/TD]
[TD="align: right"]65.45%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Inside Forward (Left):[/TD]
[TD][/TD]
[TD]James Coppinger[/TD]
[TD="align: right"]59.29%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Complete Forward:[/TD]
[TD][/TD]
[TD]John Marquis[/TD]
[TD="align: right"]54.32%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
As you can see, my midfield consists of 2 players playing in all the positions, but i only want them playing in their highest rated position.
I really help someone can help me. I tried attaching the spreadsheet but it won't allow me, is that because i'm new?

Kind Regards
Steve
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Hi Steve,

Not sure if you can use this but, you could use the following to find/match the best position to the player list based on your player data.

Note that some positions are missing as there is no other higher rated players in the data set;


Book1
ABC
1PLAYER DATARatings
2Goalkeeper:Ross Etheridge49.23%
3Ball Playing Defender:Mathieu Baudry62.35%
4Complete Wing Back (Right):Frazer Richardson58.81%
5Complete Wing Back (Left):Tommy Rowe61.67%
6Deep Lying Playmaker:Paul Keegan62.22%
7Advanced Playmaker:Paul Keegan65.00%
8James Coppinger63.89%
9Winger (Right):James Coppinger65.45%
10Inside Forward (Left):James Coppinger59.29%
11Complete Forward:John Marquis54.32%
12
13BEST POSITION
14Goalkeeper:Ross Etheridge49.23%
15Ball Playing Defender:Mathieu Baudry62.35%
16Complete Wing Back (Right):Frazer Richardson58.81%
17Complete Wing Back (Left):Tommy Rowe61.67%
18Advanced Playmaker:Paul Keegan65.00%
19Winger (Right):James Coppinger65.45%
20Complete Forward:John Marquis54.32%
Sheet1
Cell Formulas
RangeFormula
A14=INDEX($A$2:$A$11,MATCH(B14&C14,INDEX($B$2:$B$11&$C$2:$C$11,),0))
C14{=MAX(IF($B$2:$B$11=B14,$C$2:$C$11))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,219
Members
452,619
Latest member
Shiv1198

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