I am trying to create in Excel or Sheets a Leaderboard that automatically updates Stableford points for my Golf social club
I am trying to create in Excel or Sheets a Leaderboard that automatically updates Stableford points for my Golf social club
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.
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.
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.
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.
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.
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.
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.
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.
Before we continue here, please address post #3 and update your forum profile.
I have Version 14.07 part of Microsoft Office professional 2010
Please update your profile.
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.
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.
Am I able to help or will that get me banned again?
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.
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.
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.Am I able to help or will that get me banned again?
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.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.
Neither am I. I am just asking you to do something very simple that will be helpful to those trying to help you.All I want is someone to help with my problem I am not looking for a relationship.
Last edited by AliGW; 04-16-2023 at 04:35 AM.
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?
The way I read it, 'coding' means formulae, and the OP said:
so I am assuming that he means that some of the data was produced using formulae, which might account for the sorting issue.I have not done the coding as I lost the original spreadsheet and will need to start over..
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.
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?
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.
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.
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.
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
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
Because "Gary" in your YTD column has a space after it.
Unless you use functions like TRIM, Excel will not show "Gary " as being the same as "Gary"
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?
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))))
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.
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.
This is why:
AliGW on MS365 Beta Channel (Windows 11) 64 bit
K 5Gar
Sheet: Jan-Mar
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.
That now works for Gary but not for all the others. How do I apply it to the other names?
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.
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.
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.
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.
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.however the sort function throws a lot of the totals out of sink with the names
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?
OK Got it thanks for your patience
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.
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
Yes, thanks for the profile update - well done! I've left instructions how to mark the thread as solved in my previous post.
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?
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.
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
The data is already sorted, but you have not indicated where you think there are errors. Where are we looking for anomalies?
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.
Well-spotted, Croweater!
...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.
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.
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).
Here...I've done it for you.
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.
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)
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.
Last edited by Croweater; 04-17-2023 at 07:02 PM.
All I changed was the Tab names within the brackets and left everything else as it was.
But Once again a big thank you
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks