ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   can you assign random numbers to many different lines of row? (https://www.excelbanter.com/excel-worksheet-functions/74410-can-you-assign-random-numbers-many-different-lines-row.html)

random number generator

can you assign random numbers to many different lines of row?
 
I am trying to assign random numbers to my population; one random number to
one sample. The population is recorded in rows in excel. Is there a function?

CLR

can you assign random numbers to many different lines of row?
 
=RAND()......and copy down

Vaya con Dios,
Chuck, CABGx3



"random number generator" wrote:

I am trying to assign random numbers to my population; one random number to
one sample. The population is recorded in rows in excel. Is there a function?


random number generator

can you assign random numbers to many different lines of row?
 
if I do that, some samples may have same random numbers assigned. How do I
make sure that each sample has a different random number assigned to it?

"CLR" wrote:

=RAND()......and copy down

Vaya con Dios,
Chuck, CABGx3



"random number generator" wrote:

I am trying to assign random numbers to my population; one random number to
one sample. The population is recorded in rows in excel. Is there a function?


Jerry W. Lewis

can you assign random numbers to many different lines of row?
 
=RAND() generates a sequence of numbers that will not repeat for a very long
time. How long depends on your verson, but it is unlikely to impact what you
are doing unless you are rounding the random numbers, in which case you have
not provided enough information.

Jerry

"random number generator" wrote:

if I do that, some samples may have same random numbers assigned. How do I
make sure that each sample has a different random number assigned to it?

"CLR" wrote:

=RAND()......and copy down

Vaya con Dios,
Chuck, CABGx3



"random number generator" wrote:

I am trying to assign random numbers to my population; one random number to
one sample. The population is recorded in rows in excel. Is there a function?



All times are GMT +1. The time now is 07:00 PM.

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