+ Reply to Thread
Results 1 to 4 of 4

Need help with cricket: Best Bowling figures

  1. #1
    Forum Contributor
    Join Date
    08-19-2012
    Location
    Sydney
    MS-Off Ver
    MS Office 365/16
    Posts
    282

    Need help with cricket: Best Bowling figures

    I have created a document that allows me to input the cricket scores and then provides me with the players statistics. I am having issues with one area and that is displaying the bowlers best figures.

    If you go to the "bowling statistics" tab and in cell K16:R16 that is the formula I am trying to solve. In cells K1:L1 are the names of the columns
    password for all coding is "bradman"

    So, what it does is, is turn the bowling figures like “5-15 (10)” into a number 51510, except this fails when the number of significant digits is different for each of the wickets (5), runs (15) and overs (10) from row to row.

    {=IF($B16="",0,IF($AP16=0,0,INDEX($DB16:$XA16,0,MATCH(MAX(($DB$1:$XA$1={"Trial";"T20";"GPS";"AlanDavidson";"FiveHighs";"BarberisCup";"EastCoast"})*(VALUE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE($DB16:$XA16,"-","")," ",""),"(",""),")","")))),VALUE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE($DB16:$XA16,"-","")," ",""),"(",""),")","")),0))))}

    Instead we need to calculate a “bowling score” by assigning more value to wickets than runs than overs, eg

    Wicket value: 10000
    Run value: 10
    Over value: 1

    We can use the function

    =VALUE(LEFT($DB19:$XA19,FIND("-",$DB19:$XA19)-1))*10000 * VALUE(TRIM(MID($DB19:$XA19, FIND("-", $DB19:$XA19)+1, 3)))*10 * VALUE(TRIM(SUBSTITUTE(MID($DB19:$XA19,FIND("(",$DB19:$XA19)+1, 10), ")", "")))

    To calculate the “bowling score” for an individual cell in the format “5-15 (10)”, but it’s beyond my skillz to substitute that into the full array function.

    Any help will be much appreciated.

    Eg:

    5-33 (10)
    3-43 (4)
    5-22 (11) - this one should be the best ranked figure.
    5-22 (12.4)

    first digit is the highest.
    Second digits after the dash should be the lowest and
    In brackets should be the lowest
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Need help with cricket: Best Bowling figures

    I don't understand where you want these rankings to appear. I can see the bowling averages in the hitherto hidden columns, but there is nowhere to rank the performances.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    08-19-2012
    Location
    Sydney
    MS-Off Ver
    MS Office 365/16
    Posts
    282

    Re: Need help with cricket: Best Bowling figures

    Ok..may i should have said "display" not rank. So I want to display the best bowling figure. Does that help

  4. #4
    Forum Contributor
    Join Date
    08-19-2012
    Location
    Sydney
    MS-Off Ver
    MS Office 365/16
    Posts
    282

    Re: Need help with cricket: Best Bowling figures

    Can anyone please help me with this.

+ 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. Need help with displaying cricket best bowling figures
    By sirdon in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-17-2015, 04:26 PM
  2. Need help with displaying cricket best bowling figures
    By sirdon in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-17-2015, 03:57 AM
  3. Want to cricket a Excel Based Cricket Score Sheet
    By amitmvyas in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-23-2014, 12:25 PM
  4. [SOLVED] Cricket Bowling stats
    By TurKnJD in forum Excel General
    Replies: 3
    Last Post: 07-25-2013, 01:43 AM
  5. Conversion of an array of figures inputted into cells as word figures to Excel figures
    By Allan Simpson730 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-08-2013, 07:25 AM
  6. Replies: 0
    Last Post: 09-27-2012, 02:25 PM
  7. Best Bowling Figures
    By kasablur in forum Excel General
    Replies: 7
    Last Post: 10-06-2011, 08:35 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