Apr 08 2024 09:42 AM
using formula :-
==@INDEX($B$5:$B$12,RANK(C6,$C$5:$C$12))
Apr 08 2024 10:44 AM
The formula you provided is using the INDEX and RANK functions to retrieve the name of the golf player based on their ranking in the list of players. This formula can work well for your task, especially if you have unique rankings for each player.
However, there are a couple of considerations to keep in mind:
Overall, if your data structure and requirements align with the assumptions made by the formula, it should work fine for your task. If you encounter any issues or have specific requirements, feel free to provide more details for further assistance.
In the end, however, without more information about your specific situation, it's difficult to say for sure that this formula solve your problem. The text was created with the help of AI.
Apr 08 2024 11:57 AM
I hope I'm reading this request correctly. The issue is how to deal with ties in the scores?
You could use FILTER, for example:
=LET(leader, MIN(Score), FILTER(Player, Score = leader))
Apr 09 2024 06:10 AM
not got the correct changes Patrick.
The object is to setup 4 ball matchs from the golfers listed so they are in the teams. They Having a list of players now need to set the 4 ball groups. No scores required. Handicaps not known at the start. When checking the list I placed the players in line with a random number. This is fine, but I need to eliminate where the same golfer is mentioned twice so the spread across the 8 balls. I set this from using random numbers against the golfers across all the players. No scores mentioned
Would be obliged if you could determining the correct formula so no duplicates shown
Apr 09 2024 06:33 AM
Apr 09 2024 03:03 PM
I haven't much of an idea what is required but at least this was entertaining!
What is did was to use @lori_m 's random number generator to assign a pseudo-random integer to each name. Then sort the names by the random number and divide into pairs.
= LET(
rand, PseudoRandλ(ROWS(player), seed),
list, SORTBY(player, rand),
WRAPROWS(list, 2)
)
where the pseudo-random number generator is given by Lorimer Miller's
PseudoRandλ
= LAMBDA(length, [seed],
TAKE(
SCAN(
IF(ISOMITTED(seed), 123456789, seed),
SEQUENCE(length,,, 0) * {13, -17, 5},
LAMBDA(s, i, BITXOR(s, BITAND(BITLSHIFT(s, i), 2^32 - 1)))
),
,
-1
)
)