+ Reply to Thread
Results 1 to 2 of 2

Using Vlookup and Solver

  1. #1
    Registered User
    Join Date
    10-23-2015
    Location
    Austin
    MS-Off Ver
    2013
    Posts
    6

    Using Vlookup and Solver

    Hello everyone,

    So what I'm trying to do is optimize a fantasy football lineup.
    I have a tab for each of the following positions: QB, RB, WR, TE, K. Each tab has a column of the player's names, their projected score and their salary cost.
    \1

    I have another tab with the positions for the lineup: QB, RB, RB, WR, WR, WR, TE, K.
    So this is what I'm working with...
    \1
    Right now the vlookup is pulling the player with the highest projection, but I'll need a different player for each slot. I also have a separate vlookup pulling the player's salary via the max projection.
    Pulling the names and salaries like this: =VLOOKUP(MAX(QB!H2:H25),QB!H2:I25,2,0)
    Pulling the projections like this: =MAX(QB!A2:A25)
    I'm trying to run the solver to max the total projection and keep the total salary < 55200

    Any suggestions? I may have not explained this very well, but I'll answer any questions you have.
    Last edited by bigswiss89; 10-23-2015 at 10:01 PM.

  2. #2
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Using Vlookup and Solver

    A limitation of solver is that all values must be on the same sheet for solver to work on therfore data con not be on different tabs.

    There are a number of examples in this forum how to setup a solver model. Try a searc for "fantasy football", "fantasy basked" or just "solver" and you may find several suggestions how to set this up.

    Uploading the file with your model could also be a good idea.

    Alf

+ 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. Replies: 0
    Last Post: 07-20-2014, 12:45 PM
  2. macro not keeping solver solutions when solver is successful
    By jimmypants in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-10-2014, 01:45 AM
  3. Solver Custom Function with VLOOKUP
    By cosh39 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-02-2014, 07:24 AM
  4. [SOLVED] Solver for Max with Vlookup - possible?
    By amshane97 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 06-02-2014, 07:22 AM
  5. Replies: 6
    Last Post: 05-18-2013, 05:49 AM
  6. Can't start Solver. Error message says Solver.xlam already open.
    By DaveHills in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 10-21-2012, 11:02 AM
  7. solver macro + simulation code + not updating solver values
    By sabinemaria in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2012, 11:37 AM

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