RANDBETWEEN generating numbers outside of range

P

pkoelsch

Using Excel 2003. Simple task of trying to generate a pseudo-random number
between 1 and 52 (yes, a deck of cards). I'm populating the cells with
=RANDBETWEEN(1,52). Many of the cells are displaying negative numbers.

Any ideas?
 
M

Mike Middleton

pkoelsch -

Two ideas:

(A) Early Excel 2003 had a serious bug in its random number generator. Be
sure to update to Excel 2003 SP3.

(B) You may want to avoid duplicates, in which case search Bing or Google
for "excel unique random numbers" (without the quotes).

- Mike
http://www.MikeMiddleton.com
 

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