ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   generating random number list (https://www.excelbanter.com/excel-worksheet-functions/125916-generating-random-number-list.html)

yvette

generating random number list
 
Hi there,

Is there a way to generate a set of random numbers (ie. 200) within a
certain range (ie. 1-500) with no duplicates?

Thanks!



Gary''s Student

generating random number list
 
Put the original list in column A from A1 thru A500.

Put =RAND() in B1 thru B500

Sort the columns by column B. This "shuffles" the contents of column A.

Use the first 200 items in the "shuffled" column.
--
Gary's Student
gsnu200701


"yvette" wrote:

Hi there,

Is there a way to generate a set of random numbers (ie. 200) within a
certain range (ie. 1-500) with no duplicates?

Thanks!




All times are GMT +1. The time now is 01:13 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com