How to generate a random selection in Excel with no repeats.
Choose random names from the Data Set, but do it without repeating a namek. In a revisit to Episode #1471, how will Bill assure that there are no repeats in the Random selection? Follow along with Episode #2570 today to learn the answer and solve the challenge.
This video requires new Excel functions available in Microsoft 365. If you don’t yet have RANDARRAY, SORTBY, or SEQUENCE, then use the old method in video 1471: https://www.youtube.com/watch?v=g8FFgxmE70g
The PowerBall lotto formula shown near the end of the video is:
=TEXTJOIN(“, “,,SORT(INDEX(SORTBY(SEQUENCE(69),RANDARRAY(69)),
SEQUENCE(5))),”PB=”&RANDBETWEEN(1,26))
Table of Contents
(0:00) Choose 8 names from a list of 26 names
(1:27) Choose N names from a list of NN names
(3:10) Choose 5 numbers from 1 to 69 with another from 1 to 26
(3:47) Excel formula to generate many PowerBall selections