+ Reply to Thread
Results 1 to 5 of 5

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
    Last edited by sirdon; 11-17-2015 at 08:14 PM. Reason: change of title

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Best Bowling Figures

    Pls attach a sample file with expected result
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

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

    Re: Best Bowling Figures

    I'm trying to cut it down to a 1meg file, but its quite difficult to do. Happy to email to you if that helps?

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

    Re: Best Bowling 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"

    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

  5. #5
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Best Bowling Figures

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)

+ 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] Cricket Bowling stats
    By TurKnJD in forum Excel General
    Replies: 3
    Last Post: 07-25-2013, 01:43 AM
  2. 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
  3. Replies: 0
    Last Post: 09-27-2012, 02:25 PM
  4. Best Bowling Figures
    By kasablur in forum Excel General
    Replies: 7
    Last Post: 10-06-2011, 08:35 AM
  5. Bowling league
    By mutant04 in forum Excel General
    Replies: 1
    Last Post: 02-23-2008, 08:23 PM
  6. bowling scores
    By Cricket in forum Excel General
    Replies: 2
    Last Post: 02-19-2006, 12:00 AM
  7. [SOLVED] Bowling Game
    By Roger King in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-13-2005, 08:05 PM
  8. [SOLVED] Need help with two Bowling Formulas
    By Tom Rogers in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-07-2005, 01:05 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