If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 I want random numbers generated without repeating numbers
 Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

## I want random numbers generated without repeating numbers

#1
September 7th 06, 03:21 PM posted to microsoft.public.excel.worksheet.functions
 Johncobb external usenet poster Posts: 1
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?
Ragards to all supporters.
John.

#2
September 7th 06, 04:03 PM posted to microsoft.public.excel.worksheet.functions
 Bob Umlas external usenet poster Posts: 301
I want random numbers generated without repeating numbers

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

"Johncobb" <[email protected]> wrote in message news:[email protected]..
> 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?
> Ragards to all supporters.
> John.
>

#3
September 7th 06, 04:52 PM posted to microsoft.public.excel.worksheet.functions
 Gord Dibben external usenet poster Posts: 22,910
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" <[email protected]> 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?
>Ragards to all supporters.
>John.

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts vB code is On Smilies are On [IMG] code is On HTML code is Off
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Excel Newsgroups     Excel Discussion (Misc queries)     Setting up and Configuration of Excel     New Users to Excel     Excel Worksheet Functions     Links and Linking in Excel     Charts and Charting in Excel     Excel Programming About ExcelBanter     About this forum

 Similar Threads Thread Thread Starter Forum Replies Last Post Random numbers to make a known amount Smeeg Excel Worksheet Functions 8 March 5th 06 01:30 AM can you assign random numbers to many different lines of row? random number generator Excel Worksheet Functions 3 February 28th 06 06: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 Seed numbers for random number generation, uniform distribution darebo Excel Discussion (Misc queries) 2 December 6th 04 05:01 PM generate random numbers Jules Excel Worksheet Functions 6 November 2nd 04 05:57 PM

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