Hello, Imagine you have a large table containing players with their salaries and average performance index. For example:

Player Price Index
Iverson 100usd 20ppg
James 90usd 19ppg
Ming 80usd 25ppg
Carmelo 20usd -5PPG
.....................................and so on

Imagine having fixed amount of money, like 150USD. You need to buy exactly 2 players to your roster. You must get maximum amount of ppg and not to exceed 150 usd.

This is some sort of maximisation equation.

How to do that in excel?