XL: Using RAND() to Generate Randomly Distributed IntegersLast reviewed: February 2, 1998Article ID: Q96746 |
The information in this article applies to:
SUMMARYMicrosoft 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 INFORMATIONBelow 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 9The 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
|
Additional query words: 2.0 2.00 2.01 2.1 2.10 2.2 2.20 2.21 3.0 3.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |