Article ID: 96746 - Last Review: August 15, 2005 - Revision: 1.3 Using RAND() to Generate Randomly Distributed IntegersThis article was previously published under Q96746
SUMMARY
Microsoft Excel does not include a built-in method for generating sets
of randomly sorted, uniformly distributed integers. The information
in this article describes how you can use the RAND function (which is
integral to Microsoft Excel) to create a set of this kind.
MORE INFORMATION
Below is an example of a set of randomly sorted, uniformly distributed
integers from 1 to 10:
10 5 7 4 8 1 6 2 3 9 The set is said to be uniformly distributed because every value in the range occurs exactly once. To generate such a set of randomly sorted, uniformly distributed integers, follow these steps:
REFERENCES
"Microsoft Excel Function Reference," version 4.0, page 344 "Microsoft Excel Function Reference," version 3.0, page 191 "Microsoft Excel Functions and Macros," version 2.1 for Windows, page 396 APPLIES TO
| Article Translations
|


Back to the top
