+ Reply to Thread
Results 1 to 22 of 22

Help distinguishing players with the same score (Alphabetically)

  1. #1
    Forum Contributor Marvo's Avatar
    Join Date
    01-15-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2021
    Posts
    990

    Help distinguishing players with the same score (Alphabetically)

    In the attached workbook on sheet named "Master" in Column AW it gives the position of a player after a golf event. It uses the helper column AV. When there is no data input, 1st place is awarded to the first named person who is playing in the event, shown by a tick in Column A. So its done alphabetically. If you entered a score of 4 in E7 then the player named Baxter would be shown as first.

    However, if you then put a 4 in E20 another player (Grout) has the same score and now both players are shown as 1st. This I can't have as other formula in the workbook will be searching for who is 2nd and of course it wont find one. What I need (via the helper column I assume) is to distinguish between the two players with the same score, again alphabetically is fine.

    Otherwise the only other solution I can think of is to have a second helper column and designate each player a number.

    My next question would be is there a better way to formulate the helper column as I need to add further rows and I'll end up having /100000000000000000000 by the time I'm finished.

    Many thanks.
    Attached Files Attached Files
    Last edited by Marvo; 03-23-2024 at 10:29 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Help distinguishing players with the same score (Alphabetically)

    Please explain what the purpose of the helper column (AV) is. It seems to cause more problems than it solves!!

    Without understanding what you think it's doing... Av4 copied down:

    =IF(A4=UNICHAR(10006),"",AQ4+ROW(AQ4)/10^10+AR4/10+AS4/100+AT4/10^3+AU4/10^4+COLUMN(B4)/100000^7-ROW(AV4)/1000000^8)

    How a helper column assigns ranks to a series of zero values is beyond me!!
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Contributor Marvo's Avatar
    Join Date
    01-15-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2021
    Posts
    990

    Re: Help distinguishing players with the same score (Alphabetically)

    Hi Glenn. If I get two total scores equal, we move on to see scored the most points on the hardest hole (stroke index 1) to decide what position someone has finished in. (no ties) If that doesn't decide it, we move on to Stroke index 2, and so on, until we find a winner.

    So I have a Result sheet, fills in automatically looking for who comes 1st, 2nd, 3rd and so on. If there are no scores entered I need it to list the names alphabetically, so the helper column gives each name a fraction of 1 so although this doesn't amount to a single point and has no affect at the end of the competition, it does sort the names in alphabetical order.

    Your solution works just fine. Thank you very much.

    Actually, it sorts them from Z to A and while I'd prefer them to be A -Z I guess it doesn't really matter, as long as it differentiates.
    Last edited by Marvo; 03-23-2024 at 10:32 AM.

  4. #4
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,060

    Re: Help distinguishing players with the same score (Alphabetically)

    Another way, AV4 copy down:
    =IF(A4=UNICHAR(10006),"",AQ4+ROW(AQ4)/10^10+AR4/10+AS4/100+AT4/10^3+AU4/10^4-COUNTA(B$4:B4)/10^5)

  5. #5
    Forum Contributor Marvo's Avatar
    Join Date
    01-15-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2021
    Posts
    990

    Re: Help distinguishing players with the same score (Alphabetically)

    That's done it Joseph, thank you.

  6. #6
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Help distinguishing players with the same score (Alphabetically)

    I have looked for your file and there is many instances that you could use a spilled array range to avoid eventual mistakes and reduce maintenance attention, for those situations I highlighted in Yellow.
    Like =G4:I28

    Also, why two round formulas in Handicaps!I4?
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Help distinguishing players with the same score (Alphabetically)

    For the very laborious formula that you have in Master!AO4 and Master!AQ4.

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

  8. #8
    Forum Contributor Marvo's Avatar
    Join Date
    01-15-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2021
    Posts
    990

    Re: Help distinguishing players with the same score (Alphabetically)

    Thank you Djunqueira, I have made all those changes you suggested. You are just what I need, I'm always looking to improve things. I didn't know about spilled arrays, I hope if I have to add or delete rows it wont make any difference. I'm much obliged.

  9. #9
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Help distinguishing players with the same score (Alphabetically)

    Why not see the character you are dealing with?
    Master!A4
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Master!AR4:AV4 and Master!AZ4
    Formula: copy to clipboard
    Please Login or Register  to view this content.

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

    For the column Master!BJ use this spill array formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  10. #10
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Help distinguishing players with the same score (Alphabetically)

    If you delete or add new row in between the range limits of the formula it won't matter, but if you add or delete at the end of it you will need to check.

  11. #11
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Help distinguishing players with the same score (Alphabetically)

    Another spill array formula
    Master!C and J columns
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    You don't need to multiply by 1 Master!F,H and so on...
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Master!AW:AX RANK() is a function that is sort of condemned by M$, better use the substitute RANK.EQ()
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Master!AZ to BC columns
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  12. #12
    Forum Contributor Marvo's Avatar
    Join Date
    01-15-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2021
    Posts
    990

    Re: Help distinguishing players with the same score (Alphabetically)

    I've put all the changes you suggested previously into my original and all work well except for the column Master!BJ, I'm getting the error Spill range isn't blank.

  13. #13
    Forum Contributor Marvo's Avatar
    Join Date
    01-15-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2021
    Posts
    990

    Re: Help distinguishing players with the same score (Alphabetically)

    I'm getting more spill errors now.

  14. #14
    Forum Contributor Marvo's Avatar
    Join Date
    01-15-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2021
    Posts
    990

    Re: Help distinguishing players with the same score (Alphabetically)

    Maybe the best thing for me to do is wait until you are finished, then make your final workbook mine. All your changes will work, I can then make any changes I need to. Would that be okay?

  15. #15
    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,951

    Re: Help distinguishing players with the same score (Alphabetically)

    The areas below spill formulae need to be completely free - any obstacle will prevent the formula from spilling.
    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.

  16. #16
    Forum Contributor Marvo's Avatar
    Join Date
    01-15-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2021
    Posts
    990

    Re: Help distinguishing players with the same score (Alphabetically)

    We're working with the same workbook Ali, they are working for DJ. Same stuff underneath.

  17. #17
    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,951

    Re: Help distinguishing players with the same score (Alphabetically)

    Sigh!!!

    You are hard work, Marvo.

    If you are getting a spill error, there isn't enough room for the spill - FACT. So you must have done something wrong with the formula.

  18. #18
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Help distinguishing players with the same score (Alphabetically)

    Last of the day.
    Team!C2
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  19. #19
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Help distinguishing players with the same score (Alphabetically)

    Marvo, Handicaps!AC64 has no zero, put a zero there and lets see about the erros.

  20. #20
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Help distinguishing players with the same score (Alphabetically)

    Your formula in Master!O70 seem to be inconsistent, I will let for you to fix it or not.

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

  21. #21
    Forum Contributor Marvo's Avatar
    Join Date
    01-15-2009
    Location
    Northampton, England
    MS-Off Ver
    Excel 2021
    Posts
    990

    Re: Help distinguishing players with the same score (Alphabetically)

    Okay DJ, thank you. I'll close every other workbook down and start again we're your latest offer. Thank you for all your help, it is much appreciated.

  22. #22
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Help distinguishing players with the same score (Alphabetically)

    Tks for the feedback, glad to have helped.

+ 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] List winning team's name and players based on lowest daily score
    By mcduffleader6 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-11-2024, 10:15 PM
  2. Excel Formula to sum players with lowest winning score
    By splawrie in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-07-2019, 09:32 PM
  3. Replies: 2
    Last Post: 09-01-2015, 12:21 PM
  4. [SOLVED] VBA function for score difference among players
    By dsol108 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 09-15-2014, 09:17 AM
  5. Replies: 4
    Last Post: 07-21-2014, 07:09 AM
  6. Replies: 1
    Last Post: 11-24-2013, 07:53 AM
  7. Replies: 1
    Last Post: 07-07-2005, 04:00 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