Sorry, but: yes.
Your algorithm CALCULATES nEnd - nStart + 1 random numbers and RETURNS the
number of requested random ints.
So, if you array-enter 10 cells with =RANDINT(1,1000000), for example, your
algorithm calculates 1,000,000 random ints and finally returns 10. That's not
necessary, I thought.
Regards,
Bernd
|