Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default 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!


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default 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!


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Seed numbers for random number generation, uniform distribution darebo Excel Discussion (Misc queries) 3 April 21st 23 09:02 PM
Generate random number from a list Arnie Excel Worksheet Functions 6 November 7th 06 08:55 AM
Create formula which will number a list in Excel 2003 Wessel Excel Discussion (Misc queries) 3 October 26th 06 10:29 AM
Random Number response Union70 Excel Worksheet Functions 1 April 27th 06 06:27 PM
random number with text T Harris Excel Worksheet Functions 10 December 30th 05 05:34 PM


All times are GMT +1. The time now is 09:52 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"