+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 16 to 20 of 20

Golf League Hcp calculation

  1. #16
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2010
    Posts
    3,899

    Re: Golf League Hcp calculation

    Try:

    =AVERAGE(SMALL(IF(COLUMN(B7:AC7)>=LARGE(IF(B7:AC7<>"",COLUMN(B7:AC7)),10),B7:AC7,""),{1,2,3,4,5}))

    C+S+E
    Last edited by Phuocam; 02-17-2019 at 12:48 AM.

  2. #17
    Registered User
    Join Date
    02-16-2019
    Location
    Point Marion, PA
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Golf League Hcp calculation

    I figured out how to do it but I am sure there was an easer way and better way to do this
    Attached Files Attached Files

  3. #18
    Forum Expert Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    BKK, Thailand
    MS-Off Ver
    Office 365
    Posts
    2,792

    Re: Golf League Hcp calculation

    Please try

    =AVERAGE(INDEX(SMALL(INDEX(7:7,AGGREGATE(14,6,COLUMN(B7:AC7)/(B7:AC7<>""),MIN(10,COUNT(B7:AC7)))):AC7,ROW(INDIRECT("1:"&MIN(5,COUNT(B7:AC7))))),))

  4. #19
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2013
    Posts
    2,970

    Re: Golf League Hcp calculation

    Hi again,


    I don't want to have to run a macro every time I would like it to calculate on its own

    Hmmm . . . not asking much, are we!

    Ok, the attached workbook will automatically recalculate the average score any time a value in the League HCP row is changed/added/deleted.

    The calculation routine is triggered by the "Workbook_SheetChange" routine, so extra "golfer worksheets" may be added to the workbook and the calculation routine will be triggered when appropriate.


    Hope this helps - as before, please let me know how you get on.

    Regards,

    Greg M
    Attached Files Attached Files

  5. #20
    Registered User
    Join Date
    02-16-2019
    Location
    Point Marion, PA
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Golf League Hcp calculation

    Thank you for all your help

+ Reply to Thread
Page 2 of 2 FirstFirst 1 2

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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