+ Reply to Thread
Results 1 to 3 of 3

Find best players for cheapest price

  1. #1
    Registered User
    Join Date
    02-11-2011
    Location
    Vilnius, Lithuania
    MS-Off Ver
    Excel 2016
    Posts
    83

    Find best players for cheapest price

    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?

  2. #2
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Find best players for cheapest price

    In the real world how many players will you be choosing from? and will you be limited to 2?

    the answer will be either with solver or VBA so try and go through all of the combinations.

    Why not attach a sheet as per the yellow banner? Noone will wish to be typing your data in again to solve your problem

  3. #3
    Valued Forum Contributor Hydraulics's Avatar
    Join Date
    07-15-2018
    Location
    Udine - Italy
    MS-Off Ver
    Office 365
    Posts
    396

    Re: Find best players for cheapest price

    If the table is not too large, you can use the standard Solver.

    You need a column with binary variables, and then a couple of very simple formulas to keep track of total price and performance index.

    Add rows as needed, and update the attached setup.

    HTH,

    Francesco
    Attached Files Attached Files
    Aim high or don't even try.
    ---------------------------------
    If your question has been answered, don't forget to mark the thread as SOLVED.
    If you find an answer helpful, click on the star icon at the bottom of the post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Promotional pricing formula (buy 3 items get cheapest half price)
    By fishsticks in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-14-2019, 06:13 AM
  2. [SOLVED] Return cheapest flights (by supplier, price and sort)
    By rayted in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-08-2017, 08:56 AM
  3. Comparing 3 sheets to find a cheapest price in one colum
    By AzzKiker83 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-04-2016, 07:21 AM
  4. Find Cheapest Price Combination
    By biancam in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-05-2012, 08:56 PM
  5. Looking to compare three columns for the cheapest price
    By Bayebd24 in forum Excel General
    Replies: 6
    Last Post: 07-05-2012, 06:45 PM
  6. Automatic calculation of cheapest unit price with bulk discounts
    By whirlwind1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-18-2011, 08:20 PM
  7. cheapest price
    By craigproudfoot in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-10-2005, 02:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1