Closed Thread
Results 1 to 2 of 2

Need help with displaying 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 displaying 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.

    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.

    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"

    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 Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: Need help with displaying cricket best bowling figures

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.
    Please change the title in the earlier thread (moderators can help)


    Thread Closed.
    Ben Van Johnson

Closed 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: 4
    Last Post: 11-17-2015, 03:57 AM
  2. 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
  3. [SOLVED] Pivot table not displaying figures correctly
    By angie450 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 01-07-2014, 04:53 PM
  4. [SOLVED] Cricket Bowling stats
    By TurKnJD in forum Excel General
    Replies: 3
    Last Post: 07-25-2013, 01:43 AM
  5. Replies: 0
    Last Post: 09-27-2012, 02:25 PM
  6. Macro for Summing Monthly figures and displaying in a Yearly Format
    By steveangello in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-09-2012, 01:36 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