+ Reply to Thread
Results 1 to 5 of 5

Optimizing a fantasy baseball lineup

Hybrid View

  1. #1
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,336

    Re: Optimizing a fantasy baseball lineup

    "As Expected"
    is a pretty big goal to achieve.

    I think if you have your data sorted by position so all the C are together and 1B are togethere... That would be the first problem. Then .. Let me look at the code as 140 was the last row for today....

    I see that the formulas in columns O to Q would also need updating for it to work with more or less players.....

    I'd use a Dynamic Named Range for the Players and Positions to be more generic.
    Using the names manager you could create a DNR called
    Players = OFFSET(Sheet1!$B$2,0,0,COUNTA(Sheet1!$B:$B)+2,11)

    Then use this Name in the formulas in the O:Q cells.

    I'd also use a fancy CSE (Control+Shift+Enter) formula for the Max and Min of Start and End Row for player positions. YOU WILL STILL NEED TO SORT BY PLAYER POSITION.

    Lastly in this newer version I made sure the 3 outfielders aren't the same person as the first version didn't have that check.

    Now, maybe you could do this daily by simply copying in new data...
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  2. #2
    Registered User
    Join Date
    04-30-2014
    Location
    Missouri
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Optimizing a fantasy baseball lineup

    Great!

    Thanks very much for your help.

+ 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] Scalable baseball lineup from stats
    By lavudyar in forum Excel General
    Replies: 17
    Last Post: 08-03-2020, 04:22 PM
  2. formula for fantasy baseball!
    By drnick in forum Excel General
    Replies: 8
    Last Post: 09-19-2014, 07:04 PM
  3. [SOLVED] Fantasy Baseball Transactions
    By dmarzo1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-02-2013, 07:27 AM
  4. Formula for Fantasy Baseball
    By lycomingwarrior in forum Excel General
    Replies: 1
    Last Post: 11-12-2008, 05:17 PM
  5. Fantasy Baseball Spreadsheet
    By jed_vii in forum Excel General
    Replies: 6
    Last Post: 05-22-2008, 12:03 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