generating random numbers

R

Roger

Is there a way (or formula) to generate a random number in
a cell? If so, can I specify the range I want the random
number to fall into, e.g., 1 through 6, 0 through 9, 1
through 20?

Thanks.

Roger
 
R

Roger

Peo,

Great, this works! Thanks.

Roger
-----Original Message-----
Try

=INT(RAND()*20+1)

or if you have ATP installed

=RANDBETWEEN(1,20)

--

Regards,

Peo Sjoblom




.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top