Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default I want random numbers generated without repeating numbers

In my worksheet in column CC in C1:C20 I want Excel to ganerate 20 random
numbers between 1 and 80 without repeating the same numbers.
At present I have the following formula entered and it works, but after I
click F9 some repeated numbers are generated.

=INT(RAND()*(80-1)+1)

How can I change the formula or replace it?
Thank you in advance for your help.
Ragards to all supporters.
John.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 301
Default I want random numbers generated without repeating numbers

put the #s 1-80 in a column (D1:D80) and put =RAND() next to it. Sort D1:E80
by column E. The top 20 values in D (D1:D20) are what you want.

"Johncobb" <u26309@uwe wrote in message news:65f0319bfc065@uwe...
In my worksheet in column CC in C1:C20 I want Excel to ganerate 20 random
numbers between 1 and 80 without repeating the same numbers.
At present I have the following formula entered and it works, but after I
click F9 some repeated numbers are generated.

=INT(RAND()*(80-1)+1)

How can I change the formula or replace it?
Thank you in advance for your help.
Ragards to all supporters.
John.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default I want random numbers generated without repeating numbers

Couple of methods of creating lists of non-repeating random numbers at John
McGimpsey's site.

http://www.mcgimpsey.com/excel/udfs/randint.html


Gord Dibben MS Excel MVP

On Thu, 07 Sep 2006 14:21:27 GMT, "Johncobb" <u26309@uwe wrote:

In my worksheet in column CC in C1:C20 I want Excel to ganerate 20 random
numbers between 1 and 80 without repeating the same numbers.
At present I have the following formula entered and it works, but after I
click F9 some repeated numbers are generated.

=INT(RAND()*(80-1)+1)

How can I change the formula or replace it?
Thank you in advance for your help.
Ragards to all supporters.
John.


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
Random numbers to make a known amount Smeeg Excel Worksheet Functions 8 March 5th 06 02:30 AM
can you assign random numbers to many different lines of row? random number generator Excel Worksheet Functions 3 February 28th 06 07:35 PM
how can i assign i set of numbers (1-16) without repeating them? Stew Excel Worksheet Functions 2 July 11th 05 07:17 PM
generate random numbers Jules Excel Worksheet Functions 6 November 2nd 04 06:57 PM


All times are GMT +1. The time now is 06:34 PM.

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"