+ Reply to Thread
Results 1 to 14 of 14

Calculating Golf Handicap using VLOOKUP or INDEX MATCH

  1. #1
    Registered User
    Join Date
    07-13-2016
    Location
    Copenhagen
    MS-Off Ver
    2010
    Posts
    5

    Calculating Golf Handicap using VLOOKUP or INDEX MATCH

    Hi guys

    I am trying to arrange a golf tournament and for this I need a leader board and if people score well I would like the spread sheet to calculate their new handicaps according to the scheme to the right.

    All I want to write manually is the start handicap N2 at the beginning and then enter the points for each round in C4.

    The goal is that D5 will be calculated automatically in regards to the scheme on the right. So far I have tried some very intrigate IF's and AND's but I can't seem to get it to work.

    D5 should first check in which interval in the scheme C5 is. Then check how many points is entered in C4 and then subtract the correct amount according to the scheme.

    Under player 2 cell D11 I have tried to make a formula and it works but it only has the interval from 4,5-11,4 in it.

    I wonder if any of you could help me.

    I look forward to hearing from you.
    Attached Files Attached Files
    Last edited by RasmusV; 07-13-2016 at 03:39 AM.

  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,430

    Re: IF's and AND's not enough - not quite sure what I should call this issue.

    Sounds like you need to adapt the table slightly to make it usable in an INDEX MATCH query, but could you please explain in simple terms here how the handicap is calculated?

    PS I suggest you change your title to "Calculating Golf Handicap using VLOOKUP or INDEX MATCH".
    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 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,430

    Re: Calculating Golf Handicap using VLOOKUP or INDEX MATCH

    Thanks for changing the title. If you can now please explain the handicap calculation, I can probably give you a formula for it.

  4. #4
    Registered User
    Join Date
    07-13-2016
    Location
    Copenhagen
    MS-Off Ver
    2010
    Posts
    5

    Re: Calculating Golf Handicap using VLOOKUP or INDEX MATCH

    Hey AliGW

    Thank you for your quick response.

    Sure - I had it in mind but then I forgot.

    The handicap is calculated in the following way:
    36 points or lower is a neutral round and the handicap is not regulated. For example: Player 1 scores 31 points on round 1. The value in D5 should be the same as in C5 (cell Q9).
    If a player scores 37 points or higher the handicap goes down according to the scheme. For example: Player 2 scores 39 points on round 1. The handicap is now regulated down 0.6 (cell T6).

    The tricky part for me is that first the formula will have to determine in what interval the handicap is and then take into account how many points has been scored and then subtract the correct number from the Handicap regulation form on the right.

  5. #5
    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,430

    Re: Calculating Golf Handicap using VLOOKUP or INDEX MATCH

    One more thing: how is the interval calculated?

    Sorry for the questions: I don't play golf!
    Last edited by AliGW; 07-13-2016 at 03:57 AM.

  6. #6
    Registered User
    Join Date
    07-13-2016
    Location
    Copenhagen
    MS-Off Ver
    2010
    Posts
    5

    Re: Calculating Golf Handicap using VLOOKUP or INDEX MATCH

    That's alright The intervals are not calculated. They are defined by the Danish Golf Association.

  7. #7
    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,430

    Re: Calculating Golf Handicap using VLOOKUP or INDEX MATCH

    Quote Originally Posted by RasmusV View Post
    That's alright The intervals are not calculated. They are defined by the Danish Golf Association.
    No - you don't understand. How do I know which interval range the player falls into? Is it to do with the number of extra strokes? In other words, how do I know which row of the table to use? I understand how to determine the column.

  8. #8
    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,430

    Re: Calculating Golf Handicap using VLOOKUP or INDEX MATCH

    I think this probably does what you want (I've put the formula into D5 and D11):

    =IF(C4<$Q$4,C5,C5-INDEX($Q$5:$AE$10,MATCH(C6,$P$5:$P$10,1),MATCH(C4,$Q$4:$AE$4,0)))

    It may not work in your file, so try the attachment instead. There was some data in your original which had a leading or trailing space, forcing the formula to malfunction.
    Attached Files Attached Files
    Last edited by AliGW; 07-13-2016 at 04:26 AM.

  9. #9
    Registered User
    Join Date
    07-13-2016
    Location
    Copenhagen
    MS-Off Ver
    2010
    Posts
    5

    Re: Calculating Golf Handicap using VLOOKUP or INDEX MATCH

    Ahh. Sorry. The Handicap in C5 defines which interval the player fall in to.

    I'll try the one you uploaded - thanks a lot!

  10. #10
    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,430

    Re: Calculating Golf Handicap using VLOOKUP or INDEX MATCH

    In that case, you need this instead (small change in red):

    =IF(C4<$Q$4,C5,C5-INDEX($Q$5:$AE$10,MATCH(C5,$P$5:$P$10,1),MATCH(C4,$Q$4:$AE$4,0)))

    You need to recreate the player score cards: some of the data is causing a #VALUE! error, and I can't quite determine why, but the formula itself works.

    You also need to re-jig your lookup table to match mine: the formula will not work in your own version as it stands.
    Last edited by AliGW; 07-13-2016 at 04:52 AM.

  11. #11
    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,430

    Re: Calculating Golf Handicap using VLOOKUP or INDEX MATCH

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

  12. #12
    Registered User
    Join Date
    07-13-2016
    Location
    Copenhagen
    MS-Off Ver
    2010
    Posts
    5

    Re: Calculating Golf Handicap using VLOOKUP or INDEX MATCH

    I already made the change.

    The player score cards are easy to make, så no problem at all.

    Everything works like a charm. Thanks a lot for your help!

  13. #13
    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,430

    Re: Calculating Golf Handicap using VLOOKUP or INDEX MATCH

    You're welcome! You can use the reputation button to express your thanks, if you wish.

  14. #14
    Registered User
    Join Date
    02-04-2018
    Location
    Dubbo Australia
    MS-Off Ver
    Office 365
    Posts
    1

    Re: Calculating Golf Handicap using VLOOKUP or INDEX MATCH

    Hi, I too would like some help with the above formula, I would like to include that if they score less than 36 points 0.2 gets added to their handicap. Is this possible?
    Thanks,
    Sharolyn

+ 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. Repeat call count for call center
    By arifmasum in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-08-2013, 10:03 PM
  2. [SOLVED] Skype "Click-to-call" issue not solved?
    By Søren Larsen in forum The Water Cooler
    Replies: 2
    Last Post: 09-28-2012, 01:19 PM
  3. Issue with X axis values NOT graphing on Scatter graph and issue with Labels
    By lmausolf in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-17-2012, 07:20 AM
  4. How to set call count according to call date and time
    By naveen4pundir in forum Access Tables & Databases
    Replies: 0
    Last Post: 04-27-2012, 02:13 AM
  5. [SOLVED] Issue -Joke thread issue - Mordred
    By Vaibhav in forum Suggestions for Improvement
    Replies: 2
    Last Post: 02-17-2012, 01:31 PM
  6. using CALL to call methods mandatory?
    By jerryliang2k in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-05-2008, 06:16 PM
  7. Replies: 2
    Last Post: 06-25-2006, 12:10 PM
  8. [SOLVED] Call Issue
    By ToferKing in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-22-2006, 01:50 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