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:
The PowerBall lotto formula shown near the end of the video is:
=TEXTJOIN(", ",,SORT(TAKE(
SORTBY(SEQUENCE(69),RANDARRAY(69)),5)),"PB="&RANDBETWEEN(1,26))
Table of Contents
(0:00) Choose 8 names from a list of 26 names
(1:18) Choose N names from a list of...