Hi there,
I have two columns of data.
The first column consists of salary and the second column consists of average points per game.
There are 147 rows of data.
I am trying to choose the top 6 BEST averages while keeping the salary of the 6 chosen to not exceed $50,000.
There may be times when the absolute best six averages are not chosen as the best six if the salary exceeds $50k.
Thanks!
sample data:
<colgroup><col><col></colgroup><tbody>
</tbody>
I have two columns of data.
The first column consists of salary and the second column consists of average points per game.
There are 147 rows of data.
I am trying to choose the top 6 BEST averages while keeping the salary of the 6 chosen to not exceed $50,000.
There may be times when the absolute best six averages are not chosen as the best six if the salary exceeds $50k.
Thanks!
sample data:
Salary | AvgPointsPerGame |
11100 | 98.44 |
9300 | 98.06 |
9700 | 96.06 |
9000 | 95.22 |
7600 | 94.94 |
11400 | 94.75 |
10800 | 93.75 |
7500 | 93.18 |
9500 | 92.62 |
8000 | 92.44 |
8700 | 88.56 |
10200 | 88.25 |
7300 | 86.41 |
7600 | 85.61 |
7900 | 83.25 |
8500 | 83.08 |
10500 | 82.38 |
8400 | 82.28 |
7100 | 82.06 |
<colgroup><col><col></colgroup><tbody>
</tbody>