Hi Guys.
I am trying to make a fantasy football team selector that will look at the list of my players and pick the best option for the position i want to pick and i am wondering if you guys could help.
I have a sheet (named squadsheet) with all my player's ratings in each and every position that at the minute i am having to scan through and decide who is the best option for that position.
What i would like to do is this - on a seperate sheet, for each position i pick, it scans the list of positional ratings and picks the best option or even best three options. It would need to recognise Defenders and attackers etc (which is in squadsheet), as my attackers wont play well in defense, even if they stats suggest suggest they might.
i would also need it to recognise that if a player was also preferential in a previous position, to exclude that player for any other positions, as he is already 'in the team' - this bit is the luxury. i suppose the most important bit for me is to get it to offer suggestions as to who would play best
here is a representation of what 'Squadsheet' looks like:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Defenders[/TD]
[TD]CB[/TD]
[TD]LB/RB[/TD]
[TD]SW[/TD]
[TD]RD/LD[/TD]
[/TR]
[TR]
[TD]Player 1[/TD]
[TD]285[/TD]
[TD]270[/TD]
[TD]270[/TD]
[TD]250[/TD]
[/TR]
[TR]
[TD]Player 2[/TD]
[TD]280[/TD]
[TD]285[/TD]
[TD]275[/TD]
[TD]285[/TD]
[/TR]
[TR]
[TD]Player 3[/TD]
[TD]285[/TD]
[TD]260[/TD]
[TD]265[/TD]
[TD]275[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Midfielders[/TD]
[TD]MG[/TD]
[TD]AM[/TD]
[TD]PL[/TD]
[TD]RM/LM[/TD]
[/TR]
[TR]
[TD]Player 4[/TD]
[TD]260[/TD]
[TD]285[/TD]
[TD]270[/TD]
[TD]275[/TD]
[/TR]
[TR]
[TD]Player 5[/TD]
[TD]285[/TD]
[TD]260[/TD]
[TD]265[/TD]
[TD]250[/TD]
[/TR]
</tbody>[/TABLE]
I am trying to make a fantasy football team selector that will look at the list of my players and pick the best option for the position i want to pick and i am wondering if you guys could help.
I have a sheet (named squadsheet) with all my player's ratings in each and every position that at the minute i am having to scan through and decide who is the best option for that position.
What i would like to do is this - on a seperate sheet, for each position i pick, it scans the list of positional ratings and picks the best option or even best three options. It would need to recognise Defenders and attackers etc (which is in squadsheet), as my attackers wont play well in defense, even if they stats suggest suggest they might.
i would also need it to recognise that if a player was also preferential in a previous position, to exclude that player for any other positions, as he is already 'in the team' - this bit is the luxury. i suppose the most important bit for me is to get it to offer suggestions as to who would play best
here is a representation of what 'Squadsheet' looks like:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Defenders[/TD]
[TD]CB[/TD]
[TD]LB/RB[/TD]
[TD]SW[/TD]
[TD]RD/LD[/TD]
[/TR]
[TR]
[TD]Player 1[/TD]
[TD]285[/TD]
[TD]270[/TD]
[TD]270[/TD]
[TD]250[/TD]
[/TR]
[TR]
[TD]Player 2[/TD]
[TD]280[/TD]
[TD]285[/TD]
[TD]275[/TD]
[TD]285[/TD]
[/TR]
[TR]
[TD]Player 3[/TD]
[TD]285[/TD]
[TD]260[/TD]
[TD]265[/TD]
[TD]275[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Midfielders[/TD]
[TD]MG[/TD]
[TD]AM[/TD]
[TD]PL[/TD]
[TD]RM/LM[/TD]
[/TR]
[TR]
[TD]Player 4[/TD]
[TD]260[/TD]
[TD]285[/TD]
[TD]270[/TD]
[TD]275[/TD]
[/TR]
[TR]
[TD]Player 5[/TD]
[TD]285[/TD]
[TD]260[/TD]
[TD]265[/TD]
[TD]250[/TD]
[/TR]
</tbody>[/TABLE]