You bring up good points.
If the numbers are not in order, from 1 to 138,
use this formula instead:
=INDEX($A$1:$A$138,RANK(Z1,$Z$1:$Z$138))
This will randomize any data (numbers or text) that are contained in the
range A1 to A138.
Secondly, for a true random display (with replacement), where duplicates are
always a possibility, and more likely a probability, try this formula:
=INDEX(A$1:A$138,RAND()*138+1)
--
HTH,
RD
=====================================================
Please keep all correspondence within the Group, so all may benefit!
=====================================================
"Joe User" <joeu2004> wrote in message
RagDyeR said:
It's considered bad manners when you don't use
the body of the post for your actual question.
It's more than just a netiquette thing.
First, some newsreaders truncate long subject lines.
Second, it is very rare that a one-line description can tell the whole
story. That is, almost every question requires some embellishment. (But
the "embellishment" should completely repeat or restate the subject line as
well.)
For example, in this case, the Stan might have told us whether he wants
selection with or without replacement. Of course, we can make a reasonable
ass-u-me-tion. But there is a reason why the last word is hyphenated ;-).
Also, if Stan had told us that the 138 numbers are consecutive starting with
1 (or any other number), someone might have a good suggestion for a
simplified design. Again, otherwise we each make our own ass-u-me-tions,
which might lead to a confusing thread.
Finally, third, with some newsreaders, it might be inconvenient to refer to
a separate subject line. For example, I like to "quote" the relevant part
of a message that I am responding to. Copy-and-pasting from the subject
line is not always straight-forward.
That is also one reason why the subject line should be repeated or restated
in the body of the message, along with any embellishment.
----- original message -----