+ Reply to Thread
Results 1 to 20 of 20

Calculating players overs for cricket (average)

  1. #1
    Registered User
    Join Date
    12-27-2023
    Location
    Newcastle
    MS-Off Ver
    Excel Version 2311
    Posts
    9

    Calculating players overs for cricket (average)

    Hi

    I have used the formula

    =DOLLARFR(SUM(MAP(J4:J53,LAMBDA(c,DOLLARDE(c,6)))),6)

    This worked perfectly. But, i need to also find the average overs bowled per games played but still following the 6 ball rule.

    So for example
    they played 4 games and bowled 14 overs combined those 4 games. The answer should be 3.3 overs per game.

    I have a cell for the total overs and a cell for the total games played

    Thanks in advance
    Matt

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,703

    Re: Calculating players overs for cricket (average)

    Not everyone understands cricket, so it would be very beneficial if you provided a sample worksheet with 8-15 records and showed a mocked up solution. Then with the example explain the criteria for the results you are showing. We may not be cricket experts, but we do understand Excel.

    Also, please update your excel version to show the particular version, ie. 2019,2021, O365. 2311 is not a known version of excel.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    12-27-2023
    Location
    Newcastle
    MS-Off Ver
    Excel Version 2311
    Posts
    9

    Re: Calculating players overs for cricket (average)

    Hey

    I think the attachment works. Hope it makes sense. Cheers
    Attached Files Attached Files

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,099

    Re: Calculating players overs for cricket (average)

    Need average from B3 to C3 but with only 6 balls an over. 29 divide 10 is 2.9 overs a game which is not the answer. Should be closer to 2.3-2.5
    How do you calculate that?

    Adjusting your formula to reflect the games shown in the sample:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Note this is from B4, not B3 as indicated because B3 contains the total overs.

    I might be missing something, but that formula seems to convert the data from one format to another, sum the result, and converting it back. I can't see how that's ever going to return anything other than 2.9 (=29/10).

    Again, what is the calculation you use to get the result you expect? Be best if you break it down line by line.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  5. #5
    Banned User!
    Join Date
    05-03-2022
    Location
    HumptyDoo, Australia
    MS-Off Ver
    365
    Posts
    101

    Re: Calculating players overs for cricket (average)

    Does this work for you?

    =LET(x, INT(B3)*6+(B3-INT(B3))*10,INT(x/C3/6)+ROUND((x/C3/6-TRUNC(x/C3/6))*6/10,1))

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,377

    Re: Calculating players overs for cricket (average)

    Need average from B3 to C3 but with only 6 balls an over. 29 divide 10 is 2.9 overs a game which is not the answer. Should be closer to 2.3-2.5
    Why? I don't understand your logic. It's simple maths (to me):

    =((B3*6)/10)/6

    =2.9

    No idea how you arrive at 2.3-2.5 - please enlighten us. Are you expecting the decimal part to be between .0 and .5 only??? In other words, not a decimal, but a number of balls?
    Last edited by AliGW; 12-31-2023 at 03:13 AM. Reason: Typo fixed.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,377

    Re: Calculating players overs for cricket (average)

    Give this a try:

    =LET(o,((B3*6)/10)/6,ROUND(INT(o)+MOD(o,1)*6/10,1))

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,720

    Re: Calculating players overs for cricket (average)

    14 overs divided by 4 is 3, leaving 2 overs, each of 6 balls i.e. total of 12 balls: divide 12 by 4 =3 hence 3.3 "average".

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


    A1=Number of overs, B1=number of games
    Last edited by JohnTopley; 12-31-2023 at 04:19 AM.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  9. #9
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: Calculating players overs for cricket (average)

    Finally I see how to calculate the average.
    Thank you John.

    This calculation can be made with this formula, where the last part after the point (0-5) is rounded down if the average number of balls is not a whole number.

    Please enter the numbers of overs in column A and the numbers of games in column B and try in Column C and copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  10. #10
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,099

    Re: Calculating players overs for cricket (average)

    Try:

    3.3 =DOLLARFR(14/4,6)
    2.54 =DOLLARFR(29/10,6)
    2.54 =DOLLARFR(B3/C3,6)
    2.492 =DOLLARFR(SUM(B4:B13)/C3,6)
    2.492 =DOLLARFR(SUM(B4:B13)/COUNTA(B4:B13),6)

  11. #11
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,720

    Re: Calculating players overs for cricket (average)

    @hans: succinct formula as usual .. welcome to cricket!

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,377

    Re: Calculating players overs for cricket (average)

    No welcome required - the Dutch know all about cricket: https://en.wikipedia.org/wiki/Nether...l_cricket_team

  13. #13
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,720

    Re: Calculating players overs for cricket (average)

    @Ali: I know the game is played in the Netherlands [since at least the 19th century] ,but not everyone follows it (like any other game) and hence understands the cricket "idiosyncrasies" !

  14. #14
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,377

    Re: Calculating players overs for cricket (average)

    It was tongue-in-cheek, hence the winking smilie.

  15. #15
    Registered User
    Join Date
    12-27-2023
    Location
    Newcastle
    MS-Off Ver
    Excel Version 2311
    Posts
    9

    Re: Calculating players overs for cricket (average)

    Thank you everyone, works great

  16. #16
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,377

    Re: Calculating players overs for cricket (average)

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

  17. #17
    Banned User!
    Join Date
    05-03-2022
    Location
    HumptyDoo, Australia
    MS-Off Ver
    365
    Posts
    101

    Re: Calculating players overs for cricket (average)

    Quote Originally Posted by MattCameron97 View Post
    Thank you everyone, works great
    Really? Which one "works great"?

    I put ALL of the solutions offered into your sheet and guess what? Only one works. No prizes for guessing which one!

  18. #18
    Banned User!
    Join Date
    05-03-2022
    Location
    HumptyDoo, Australia
    MS-Off Ver
    365
    Posts
    101

    Re: Calculating players overs for cricket (average)

    Quote Originally Posted by JohnTopley View Post
    @hans: succinct formula as usual .. welcome to cricket!
    Succinct? Possibly. Working? Definitely not.

    Overs 4.4 Games 2 gives an average using the formula you quoted as 2.1

    4.4 overs is 28 balls. 28 balls over 2 games is 14 balls per game, which is 2.2 overs, not 2.1
    Last edited by GameChanger; 01-01-2024 at 06:43 PM.

  19. #19
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: Calculating players overs for cricket (average)

    Quote Originally Posted by GameChanger View Post
    Only one works.
    @Gamechanger, your solution in Post #5 returns exact the same results as my solution in Post #9.
    So in your eyes, your own solution can't be right.

  20. #20
    Banned User!
    Join Date
    05-03-2022
    Location
    HumptyDoo, Australia
    MS-Off Ver
    365
    Posts
    101

    Re: Calculating players overs for cricket (average)

    Sorry Hans, but you are incorrect.

    See attached.
    Attached Files Attached Files

+ 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] How to count cricket overs?
    By tushardnk in forum Excel General
    Replies: 43
    Last Post: 04-20-2024, 07:57 PM
  2. Calculating players overs for cricket
    By MattCameron97 in forum Excel General
    Replies: 7
    Last Post: 12-28-2023, 07:09 PM
  3. Adding cricket overs - base 6
    By cricket_stoner in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-30-2017, 08:27 AM
  4. Filter, Remove then average left overs
    By rmrjr22 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-28-2015, 01:24 PM
  5. Formula to count overs in cricket match
    By tushardnk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-15-2015, 12:05 PM
  6. Create Function fro adding Cricket Overs
    By Macdave_19 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-12-2008, 04:34 AM
  7. Cricket Function Overs converted to Bowls
    By Macdave_19 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-08-2008, 05:42 AM

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