Quizzes & Puzzles0 min ago
Random selection
9 Answers
Hi there
Can you randomly select 5 out of 200 numbers?
i tried to do it in excel using the rand() function, but evry time I want to sort by the random number column the numbers change and I cannot see the first 5 lowest numbers.
Can you randomly select 5 out of 200 numbers?
i tried to do it in excel using the rand() function, but evry time I want to sort by the random number column the numbers change and I cannot see the first 5 lowest numbers.
Answers
Best Answer
No best answer has yet been selected by bartholomew. Once a best answer has been selected, it will be shown here.
For more on marking an answer as the "Best Answer", please visit our FAQ.Hi, if you have 2 columns the first containing the 200 numbers that you wish to make selections from and the second containing the function =RAND()*(200-1)+1 in each cell adjacent to a number. Then you 'copy' and 'paste special' 'values' you will have an array that you can sort without having any changes, apart from changes to the original array. It is fairly trivial to produce a macro with a button on the sheet to do this.