Install the Analysis Toolpack add-in
Tools -> Add-ins and check off the "Analysis Toolpack".
You might need your install discs depending on your installation.
Once complete you can use the RANDBETWEEN worksheet
function, which does exactly what your asking for.
This formula will generate whole numbers between 5 and 20 inclusive, but
both 5 and 20 have half the probability of occurring as the numbers 6 to 19
inclusive.
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.