+ Reply to Thread
Results 1 to 5 of 5

Keep returns from duplicating (softball batting lineup based on stats)

  1. #1
    Registered User
    Join Date
    05-07-2014
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    15

    Keep returns from duplicating (softball batting lineup based on stats)

    I’m trying to create a batting lineup based on Sabermetrics which uses diifernt stats to calculate a players position in the batting order. I’ve managed to find some of the formulas needed but can’t keep the players’ names from duplicating if they meet the criteria for two fields
    for example....
    #1 highest on base percentage + stolen base percentage
    #2 highest batting avg
    #3 5th best batting average
    #4 best slugger
    then it gets tricky
    #5 best remaining by batting avg
    #6 best remaining by batting avg
    #7 worst overall
    And so on
    I’ve attached my progress so far and any assistance would be greatly appreciated

    Moderator's note: Please do not post in ALL CAPS. It makes for difficult reading and is considered "Internet shouting". I have also added apostrophes where missing. --6StringJazzer
    Attached Files Attached Files
    Last edited by 6StringJazzer; 05-08-2014 at 07:27 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Keep returns from duplicating (softball batting lineup based on stats)

    Hi

    Only way will work if put in Large formula number in
    Then index Small row and countif

    Cell C17
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    copy down

    Cell B17
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    This is a array formula Press Ctrl+Shift+Enter same time!! NOT JUST ENTER ok!!!

    I done other 2, See the file

    Regard
    micope21
    Attached Files Attached Files
    Last edited by micope21; 05-08-2014 at 04:53 PM.
    To help you by my post? it would be nice to click on to say "Thank you".
    If you are happy with a solution to your problem?
    Click Thread Tools above your first post,
    select "Mark your thread as Solved".

  3. #3
    Registered User
    Join Date
    05-07-2014
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Keep returns from duplicating (softball batting lineup based on stats)

    That helps some but in the sabermetrics column I need to collect stats from several different columns to create the lineup without duplicating a player. For example, E20 would draw it's info from the SLUG column and E18 would draw it's info from the AVG column. If both of those cells happen to return the same player using the LARGE formula how do I keep Excel from duplicating the player and picking the best remaining player instead.

  4. #4
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Keep returns from duplicating (softball batting lineup based on stats)

    Okay.

    Can you put in sample file where you want it what you trying to say!! So I or anyone can see what you want??

    Reason looking the Lineup file!! Look like you want large mean who top to bottom!!
    This will confuse anyone!!

    Regard
    micope21

  5. #5
    Registered User
    Join Date
    05-07-2014
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Keep returns from duplicating (softball batting lineup based on stats)

    Right know I mainly need assistance with the sabermetric column. Since there are only 12 girls on the team the formulas used in E17 thru E28 cant allow any duplicating names even though each cells return needs to come from a different column. I'm familiar with the Large function to get the "Nth" number from each category, the part I'm struggling with is, if a player has the SLUG# and the best OBP every formula I've tried will put her in both the #1 slot and the #4 slot which cant happen since each player can only bat once per inning. So the breakdown should go as follows to get the optimal batting lineup.
    SABERMETRIC RANKING
    E17/best OBP that is not best OPS or best SLG
    E18/best OPS that is not best SLG
    E19/5th best batting average
    E20/best SLG
    E21/best remaining SLG
    E22/best remaining OBP
    E23/worst AVG
    E24/best remaining OBP
    E25/best remaing OPS
    E26/best remaining SLG
    E27/best remaining OBP
    E28/best remaining OPS

    Hope this makes more sense cause I cant really think of any other way to describe it.

+ 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. Team Selector based on stats in excel
    By leo218 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-14-2013, 01:36 AM
  3. Replies: 22
    Last Post: 05-17-2012, 06:57 PM
  4. New worksheet based on stats
    By Yepp12 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-02-2007, 02:20 AM
  5. softball standings
    By randyrestg in forum Excel General
    Replies: 1
    Last Post: 06-21-2005, 07:38 PM

Tags for this Thread

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