+ Reply to Thread
Results 1 to 61 of 61

Golf Leaderboard

  1. #1
    Registered User
    Join Date
    04-15-2023
    Location
    Australia
    MS-Off Ver
    Excel 14.07 2010 professional
    Posts
    28

    Golf Leaderboard

    I am trying to create in Excel or Sheets a Leaderboard that automatically updates Stableford points for my Golf social club

  2. #2
    Forum Contributor
    Join Date
    08-10-2022
    Location
    Manchester
    MS-Off Ver
    2021
    Posts
    109

    Re: Golf Leaderboard

    I can't answer your query, but what is the source of the information?

    It should be relatively straightforward to come up with something where you can enter the scores from each competition, and from that total each player's aggregate score and then rank the players.

    As a UK golf club stats man, I have a few. Usually one sheet page per event, and a summary sheet which are then ranked from top to bottom.
    Last edited by Manchester Gunners; 04-15-2023 at 02:06 AM.

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

    Re: Golf Leaderboard

    Administrative Note:

    Welcome to the forum.

    Is your forum profile showing the version of Excel that you need this to work for?

    Members will tailor the solutions they offer to the version of Office (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this.

    The three most recent versions of Excel are Excel 2019, Excel 2021 and MS365 - if you are using MS365, please give this name along with the release number in your profile (e.g. MS365 Version 2211). This is in the About Excel section further down the Account page.

    Thanks.
    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.

  4. #4
    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,857

    Re: Golf Leaderboard

    Rather than reinventing the wheel, it's a good idea to Google and see what comes up first. I found this (it may help): https://www.youtube.com/watch?v=JP_YQ5KZmDA

    Maybe use it as a starying point and then shout here if you get unstuck.

  5. #5
    Registered User
    Join Date
    04-15-2023
    Location
    Australia
    MS-Off Ver
    Excel 14.07 2010 professional
    Posts
    28

    Re: Golf Leaderboard

    Thanks for your reply. I probably did not explain as well as I could. What I am trying to do is create a spreadsheet that automatically updates once an entry is made. As the golfers come in with their scorecards they give me their Stableford score which I write on a sheet and then have to manually sort all the scores to work out the winner. I also need it to update the Leaderboard for each month and YTD. I have tried and can get the Spreadsheet to update the Monthly score after doing a manual sort for the Daily score and the ytd updates until I add the next mth into the equation it then sorts the scores without regard for the names. It sounds a bit complicated, hope you can understand what I am trying to achieve.

  6. #6
    Registered User
    Join Date
    04-15-2023
    Location
    Australia
    MS-Off Ver
    Excel 14.07 2010 professional
    Posts
    28

    Re: Golf Leaderboard

    Thanks Ali for your reply. I probably did not explain as well as I could. What I am trying to do is create a spreadsheet that automatically updates once an entry is made. As the golfers come in with their scorecards they give me their Stableford score which I write on a sheet and then have to manually sort all the scores to work out the winner. I also need it to update the Leaderboard for each month and YTD. I have tried and can get the Spreadsheet to update the Monthly score after doing a manual sort for the Daily score and the ytd updates until I add the next mth into the equation it then sorts the scores without regard for the names. It sounds a bit complicated, hope you can understand what I am trying to achieve.

  7. #7
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Golf Leaderboard

    Sounds like you have something close to what you want.

    Your best bet is to attach what you already have and to explain why it is not working and what you would like it to do.

    I'll have a look at it and I'm sure there will be others too that will be willing to help.

  8. #8
    Registered User
    Join Date
    04-15-2023
    Location
    Australia
    MS-Off Ver
    Excel 14.07 2010 professional
    Posts
    28

    Re: Golf Leaderboard

    Hi Croweater,
    I can't believe that I saved over the spreadsheet, now have to try and re-create it in order to post it online.
    Thanks everyone for your contributions, I feel like a real idiot.

  9. #9
    Registered User
    Join Date
    04-15-2023
    Location
    Australia
    MS-Off Ver
    Excel 14.07 2010 professional
    Posts
    28

    Re: Golf Leaderboard

    Hi Everyone,
    I have done a modified Leaderboard over several months to show what I am trying to achieve.
    As you will see there are 3 months and a YTD.
    My issue is that when I do a sort the numbers do not match the names.
    I have not done the coding as I lost the original spreadsheet and will need to start over..

    It is in Excel Hopefully it is attached as I can't see it.
    Attached Files Attached Files

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

    Re: Golf Leaderboard

    Before we continue here, please address post #3 and update your forum profile.

  11. #11
    Registered User
    Join Date
    04-15-2023
    Location
    Australia
    MS-Off Ver
    Excel 14.07 2010 professional
    Posts
    28

    Re: Golf Leaderboard

    I have Version 14.07 part of Microsoft Office professional 2010

  12. #12
    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,857

    Re: Golf Leaderboard

    Please update your profile.
    Attached Images Attached Images

  13. #13
    Registered User
    Join Date
    04-15-2023
    Location
    Australia
    MS-Off Ver
    Excel 14.07 2010 professional
    Posts
    28

    Re: Golf Leaderboard

    I don't have MS 365 mine is about 12years old before 365.
    I don't see why I need to do a profile I am just a 73 year old who needs some help with my spreadsheet.

  14. #14
    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,857

    Re: Golf Leaderboard

    Members will tailor the solutions they offer to the version of Office (Excel, NOT Windows) that you have. It's important that your forum profile is up-to-date in this respect - it will take you no more than a minute to do.

    Thanks for your co-operation.
    Last edited by AliGW; 04-16-2023 at 03:44 AM.

  15. #15
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Golf Leaderboard

    Am I able to help or will that get me banned again?

  16. #16
    Registered User
    Join Date
    04-15-2023
    Location
    Australia
    MS-Off Ver
    Excel 14.07 2010 professional
    Posts
    28

    Re: Golf Leaderboard

    Like I said I am an old man I don't know how to update my profile, nothing looks as per your pic you sent to do the update. All I want is someone to help with my problem I am not looking for a relationship.

  17. #17
    Registered User
    Join Date
    04-15-2023
    Location
    Australia
    MS-Off Ver
    Excel 14.07 2010 professional
    Posts
    28

    Re: Golf Leaderboard

    Hey Crow eater, I will appreciate any help. I can't see how helping will get you banned.
    Have attached my file it is in Excel around 2010 version. it says 14.07 don't know what that means.
    Attached Files Attached Files

  18. #18
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Golf Leaderboard

    Quote Originally Posted by wiltwin50 View Post
    Like I said I am an old man I don't know how to update my profile, nothing looks as per your pic you sent to do the update. All I want is someone to help with my problem I am not looking for a relationship.
    start with "My Profile" up the top right....then look for the "About Me" tab....

  19. #19
    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,857

    Re: Golf Leaderboard

    Am I able to help or will that get me banned again?
    Yes, you can help. This isn't a rule and I have not said that you may not respond. It's just much easier if members upadte their profiles.

    Like I said I am an old man I don't know how to update my profile, nothing looks as per your pic you sent to do the update.
    Please try to co-operate. Look right up top on the right and where it says My Profile, click on it. You should then see three tabs in your profile - the second one is About Me - click on it. Then you will see the page I've shown you in my screenshot and you can update your profile.

    All I want is someone to help with my problem I am not looking for a relationship.
    Neither am I. I am just asking you to do something very simple that will be helpful to those trying to help you.
    Last edited by AliGW; 04-16-2023 at 04:35 AM.

  20. #20
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Golf Leaderboard

    Ok a couple of questions...

    1. Exactly what range of cells (what sheets, what columns) are you saying that the sort is not working for?
    2. You mentioned the word "coding" before. Are you trying/looking for a macro (vba) solution to your problem?
    3. When I try sorting names using the bog standard excel sort, it works ok. Can you tell me how you are sorting it?

  21. #21
    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,857

    Re: Golf Leaderboard

    The way I read it, 'coding' means formulae, and the OP said:

    I have not done the coding as I lost the original spreadsheet and will need to start over..
    so I am assuming that he means that some of the data was produced using formulae, which might account for the sorting issue.

    However, if it IS VBA code, then I can move the thread if necessary.

    Unfortunately I can't work out which of these worksheets would have had the formulae and what the source of that data was. Like you, I think we need some more detail.

  22. #22
    Registered User
    Join Date
    04-15-2023
    Location
    Australia
    MS-Off Ver
    Excel 14.07 2010 professional
    Posts
    28

    Re: Golf Leaderboard

    Hi Croweater,
    I don't know what the correct term is. I said Coding but it was a formula I guess and as previously mentioned I saved over the top of it.
    What I want to do is have all the columns sorted in Numeric order large to small then they should all add up in the YTD column.
    My issue is when I sort the YTD column the numbers don't match the names i.e. the numbers sort large to small but the names do not sort with the appropriate score.
    I started with all the names in alphabetical order and the put their score down for each month which adds up to the YTD "year to date" then when I sort with the highest number at the top the numbers sort in the correct order independently of the names, so Gary might end up with Joes score in the YTD but have Seri's score in say Jan or Feb columns. Does this make sense?

  23. #23
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Golf Leaderboard

    Ok When you select what column(s) you want to sort on, does it say to you that there are adjacent columns and ask if you want to expand your selection or continue with what you have selected?

    If you have only selected the numbers and said continue with the current selection it won't bring the names along with the numbers.

  24. #24
    Registered User
    Join Date
    04-15-2023
    Location
    Australia
    MS-Off Ver
    Excel 14.07 2010 professional
    Posts
    28

    Re: Golf Leaderboard

    I don't recall that but I will do the formula again on the test spreadsheet and see if it asks and what the effect is.
    Thank you for your help and I will let you know the result.

  25. #25
    Registered User
    Join Date
    04-15-2023
    Location
    Australia
    MS-Off Ver
    Excel 14.07 2010 professional
    Posts
    28

    Re: Golf Leaderboard

    OK I have done the sort it works with adding the other fields but as you can see (Attached) the names are not matching the scores as highlighted in yellow for Gary. His total should be 51 but after sorting his score is now 33. That is what I am trying to achieve, the Name should move with the score.
    Attached Files Attached Files

  26. #26
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Golf Leaderboard

    OK...I can see what is happening. You are sorting on a column which has relative rather than absolute references (F4 as opposed to $F$4) and when you sort on that column the formulas aren't giving you the expected result.

    Now modern versions of Excel handle this better than older versions (i.e. they have modified functions like SUMIFS) which don't exists in the older versions.
    So, as you have an older version and I'm not sure which functions your version has, I will give you a formula that works on my old version of excel so it should work on yours.

    copy and paste this formula in C4;

    =SUM(($F$4:$F$12)*(--($E$4:$E$12=$B4))) +SUM(($I$4:$I$12)*(--($H$4:$H$12=$B4))) + SUM(($L$4:$L$12)*(--($K$4:$K$12=$B4)))

    Now (and this is important) when you paste this formula, DO NOT just hit enter to put the formula in. Hold down the Ctrl and Shift buttons, THEN press enter.
    This will put curly brackets around the formula {.....} as a sign you have done this correctly.
    DO NOT try to put these in yourself, if won't work.

    Once you have done this, drag your formula down as normal.

    Now your sort will/should work for you

  27. #27
    Registered User
    Join Date
    04-15-2023
    Location
    Australia
    MS-Off Ver
    Excel 14.07 2010 professional
    Posts
    28

    Re: Golf Leaderboard

    Hi Croweater,
    Have done as you said but it is not working as it should. I held the ctrl shift enter keys as you said. see attached
    Attached Files Attached Files

  28. #28
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Golf Leaderboard

    Because "Gary" in your YTD column has a space after it.

  29. #29
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Golf Leaderboard

    Unless you use functions like TRIM, Excel will not show "Gary " as being the same as "Gary"

  30. #30
    Registered User
    Join Date
    04-15-2023
    Location
    Australia
    MS-Off Ver
    Excel 14.07 2010 professional
    Posts
    28

    Re: Golf Leaderboard

    I am a bit lost. Checked for space, could not see one but clicked on delete to make sure but Gary was still 30 points and not 51 as it should be?

  31. #31
    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,857

    Re: Golf Leaderboard

    Try this:

    =SUM(($F$4:$F$12)*(--($E$4:$E$12=TRIM($B4)))) +SUM(($I$4:$I$12)*(--($H$4:$H$12=TRIM($B4)))) + SUM(($L$4:$L$12)*(--($K$4:$K$12=TRIM($B4))))

  32. #32
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Golf Leaderboard

    Quote Originally Posted by wiltwin50 View Post
    I am a bit lost. Checked for space, could not see one but clicked on delete to make sure but Gary was still 30 points and not 51 as it should be?
    So, the formula provided above is the same as mine but with the spaces taken out for you using TRIM (like I also suggested) but only in the YTD column.
    This will only be of assistance if the trailing spaces are in the YTD name and nowhere else.

    BUT going back to your problem. You noticed that there was a 21 point difference between what is shown and what you THINK should be shown for Gary

    ALSO, did you notice that in one of the months, there is a 21 point score for Gary? Coincidence? I think not.

    Did you not smell a rat and think there may be something wrong with the "Gary " in that month? (i.e. Re- type the "Gary" for the month where there is a 21 point value...and see if that helps.
    Last edited by Croweater; 04-17-2023 at 01:56 AM.

  33. #33
    Registered User
    Join Date
    04-15-2023
    Location
    Australia
    MS-Off Ver
    Excel 14.07 2010 professional
    Posts
    28

    Re: Golf Leaderboard

    I tried it see attached but still have Gary showing 30pts instead of 51pts.
    I can't see where the 30pts is coming from because if you add straight across the total is 53.
    Attached Files Attached Files

  34. #34
    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,857

    Re: Golf Leaderboard

    This is why:

    AliGW on MS365 Beta Channel (Windows 11) 64 bit

    K
    5
    Gar
    Sheet: Jan-Mar

  35. #35
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Golf Leaderboard

    Look at the name highlighted in Yellow for March with a total of 21 POINTS!!!

    Does it say "Gary"? No it doesn't! It says "Gar". Put a "y" on the end of that name.

  36. #36
    Registered User
    Join Date
    04-15-2023
    Location
    Australia
    MS-Off Ver
    Excel 14.07 2010 professional
    Posts
    28

    Re: Golf Leaderboard

    That now works for Gary but not for all the others. How do I apply it to the other names?

  37. #37
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Golf Leaderboard

    Errrr...make sure there are no spelling mistakes in the names (eg..should Jon be Joe?)

    As far as I can see doing a quick addition, all the others work.

    EDIT: I'm just trying to work out why you are thinking the others aren't working.

    You DO realise that the formula I gave you matches the names in YTD with the other months, and doesn't simply add across the columns for the same row...don't you?
    Last edited by Croweater; 04-17-2023 at 03:16 AM.

  38. #38
    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,857

    Re: Golf Leaderboard

    You need to make sure that names are consistent across the entire spreadsheet.

    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 all those who offered help.

    We would appreciate it if you would take a moment to update your forum profile, as requested and explained in detail above, before you ask another question here. We do not ask this for no good reason: I have explained already why it matters. Thank you.

  39. #39
    Registered User
    Join Date
    04-15-2023
    Location
    Australia
    MS-Off Ver
    Excel 14.07 2010 professional
    Posts
    28

    Re: Golf Leaderboard

    Hi Ali,
    Thank you for all your help, however the sort function throws a lot of the totals out of sink with the names and some will not sort correctly. Have attached the latest that I have tried to sort largest to smallest.
    Attached Files Attached Files

  40. #40
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Golf Leaderboard

    Yeah, so glad you thanked Ali, because after all she has provided most of the help.

    When you sort, Select Range B3:C12 by clicking on B3 and dragging to C12

    Select sort (on my older version it is under the "Data" menu item then "sort".

    Sort by points and make sure the button to say you have a header row is clicked.

  41. #41
    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,857

    Re: Golf Leaderboard

    however the sort function throws a lot of the totals out of sink with the names
    Can you please tell us exactly HOW you are trying to do the sort? As Croweater suggests, you may not be selecting all the cells needed.

  42. #42
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Golf Leaderboard

    I'm still trying to work out why you think "the sort function throws a lot of the totals out of sink with the names".

    Did you see the EDIT (the bit I thought of after I posted) on post #37?

  43. #43
    Registered User
    Join Date
    04-15-2023
    Location
    Australia
    MS-Off Ver
    Excel 14.07 2010 professional
    Posts
    28

    Re: Golf Leaderboard

    OK Got it thanks for your patience

  44. #44
    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,857

    Re: Golf Leaderboard

    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.

    Thanks for the kind comment.

  45. #45
    Registered User
    Join Date
    04-15-2023
    Location
    Australia
    MS-Off Ver
    Excel 14.07 2010 professional
    Posts
    28

    Re: Golf Leaderboard

    I did it the way croweater said but I think as my version is quite old it works a bit differently. Some of the Mths worked as per his suggestion while January only worked after I included "JAN" & "PTS" above the column. But in the end it works so a big thank you to everyone that helped.
    I did some additions to my profile.
    Cheers

  46. #46
    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,857

    Re: Golf Leaderboard

    Yes, thanks for the profile update - well done! I've left instructions how to mark the thread as solved in my previous post.

  47. #47
    Registered User
    Join Date
    04-15-2023
    Location
    Australia
    MS-Off Ver
    Excel 14.07 2010 professional
    Posts
    28

    Re: Golf Leaderboard

    Hi Ali,
    I think I spoke too soon. I applied the formula to my main sheet with the same filed names and positions but the numbers and points totals did not match. The only one that matched Was Gary E. Would the fact that the real spreadsheet has two names per person instead of just one make any difference?

  48. #48
    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,857

    Re: Golf Leaderboard

    Yes, it will make a difference if there are inconsistencies. This means names that don't match because of typos, leading or trailing spaces, etc.

    Unfortunately we'd need to see the workbook to analyse the issue any more precisely.

  49. #49
    Registered User
    Join Date
    04-15-2023
    Location
    Australia
    MS-Off Ver
    Excel 14.07 2010 professional
    Posts
    28

    Re: Golf Leaderboard

    I did not send the original as the forum says not to send sensitive material. But it is just a golf club list so I guess not much that could be taken from the list. I put the formula into the first field but if you drag it down you will see the effect. Also I want to be able to then apply it to the next tab Apr-Jun
    See Attached
    Attached Files Attached Files

  50. #50
    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,857

    Re: Golf Leaderboard

    The data is already sorted, but you have not indicated where you think there are errors. Where are we looking for anomalies?

  51. #51
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Golf Leaderboard

    Your range is now much longer! In C4 (don't forget Control + Shift + Enter) and drag down.

    =SUM(($F$4:$F$100)*(--($E$4:$E$100=TRIM($B4)))) +SUM(($I$4:$I$100)*(--($H$4:$H$100=TRIM($B4)))) + SUM(($L$4:$L$100)*(--($K$4:$K$100=TRIM($B4))))
    Last edited by Croweater; 04-17-2023 at 05:48 AM.

  52. #52
    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,857

    Re: Golf Leaderboard

    Well-spotted, Croweater!

  53. #53
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Golf Leaderboard

    ...and while we're at it, if you don't trust yourself not to put extra spaces at the beginning and end you may as well trim all the ranges...

    =SUM(($F$4:$F$100)*(--(TRIM($E$4:$E$100)=TRIM($B4)))) +SUM(($I$4:$I$100)*(--(TRIM($H$4:$H$100)=TRIM($B4)))) + SUM(($L$4:$L$100)*(--(TRIM($K$4:$K$100)=TRIM($B4))))

    Just copy it to the next sheet.

    If you want to add the previous tabs total (for a true YTD figure) you will need to add this to the end of that formula above;

    + IFERROR(VLOOKUP(TRIM($B4),'Jan-Mar'!$B$4:$C$100,2,0),0)

    Don't forget to enter the whole thing with a CSE.

  54. #54
    Registered User
    Join Date
    04-15-2023
    Location
    Australia
    MS-Off Ver
    Excel 14.07 2010 professional
    Posts
    28

    Re: Golf Leaderboard

    The data should be sorted in each column high numbers at the top. When you drag the equation down it changes all the numbers. The only one that is correct is the top one in the YTD column.
    If you drag it down you we see what I mean.

  55. #55
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Golf Leaderboard

    Yes...and I told you (see post #51) the reason....because the real data was larger than the data range you originally gave.

    I also showed you how to account for that larger range in post numbers 51 and 53, by giving you modified formulas for the larger ranges. Have you applied either of them?

    As I explained, the second one takes out leading or trailing spaces from all names in the worksheet, (but it won't account for misspelled names).

  56. #56
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Golf Leaderboard

    Here...I've done it for you.
    Attached Files Attached Files

  57. #57
    Registered User
    Join Date
    04-15-2023
    Location
    Australia
    MS-Off Ver
    Excel 14.07 2010 professional
    Posts
    28

    Re: Golf Leaderboard

    Hi Croweater,
    I thought I did what you told me to do but obviously no correctly. I copied and pasted the formula, then held the Shift Control keys and pressed return, checked for spaces and misspelt words. But obviously I was not holding my tongue correctly, that is the only thing I can think of.
    Hey Croweater a Big Thank You to you and Ali for putting up with an Excel illiterate.

  58. #58
    Registered User
    Join Date
    04-15-2023
    Location
    Australia
    MS-Off Ver
    Excel 14.07 2010 professional
    Posts
    28

    Re: Golf Leaderboard

    Hey Crow Eater,
    One last question.
    My Spreadsheet ahs 4 tabs i.e. Jan-Mar / Apr-Jun / Jul-Sep / Oct-Dec
    Now to apply the formula to Jul-Sep & Oct-Dec. What do I change? as I tried changing ,'Jan-Mar' to Jul-Sep but that did not work
    ,'Jan-Mar'!$B$4:$C$100,2,0),0)

  59. #59
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Golf Leaderboard

    It should've worked? Did you put the single quotes in (i.e. around your sheet name)? Here you go, as an added bonus, I've put it together for you.

    Your job will be to test it out.
    Attached Files Attached Files
    Last edited by Croweater; 04-17-2023 at 07:02 PM.

  60. #60
    Registered User
    Join Date
    04-15-2023
    Location
    Australia
    MS-Off Ver
    Excel 14.07 2010 professional
    Posts
    28

    Re: Golf Leaderboard

    All I changed was the Tab names within the brackets and left everything else as it was.
    But Once again a big thank you

  61. #61
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Golf Leaderboard

    Quote Originally Posted by wiltwin50 View Post
    Hi Croweater,

    Hey Croweater a Big Thank You to you and Ali for putting up with an Excel illiterate.
    No problems. Us old blokes have to stick together. Brought back memories of trying to teach my kids the Sine and Cosine rules!

+ 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. Replies: 5
    Last Post: 03-10-2022, 07:50 AM
  2. Leaderboard
    By kirbster123 in forum Excel General
    Replies: 2
    Last Post: 12-12-2018, 02:37 AM
  3. Golf Society Leaderboard and Scoring System
    By CMAGEE94 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-19-2016, 02:23 AM
  4. Replies: 3
    Last Post: 03-01-2015, 12:32 PM
  5. Golf Leaderboard
    By plus4 in forum Excel General
    Replies: 4
    Last Post: 08-06-2014, 07:17 AM
  6. Top 10 leaderboard
    By jlevs95 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-08-2012, 03:05 PM
  7. Leaderboard
    By Augusta in forum Excel General
    Replies: 5
    Last Post: 12-28-2011, 10:01 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