Wyodor wrote:
A1 is a Checkbox
B1 is =IF(A1;RAND();RAND())
To change the number, check/uncheck A1.
I don't think this works. While the random number is regenerated when the by toggling the checkbox, it is still also regenerated when anything else is changed.
Here are two possible approaches to solving this:
(1) Generate the random numbers with a formula using RAND(), copy them and paste them back as values. When "fresh" values are needed, repeat these steps.
(2) Create a formula for a random number which takes a seed value. Change the seed value when you want "fresh" random numbers. For ideas of how such a formula might be constructed, see [wikipedia|http://en.wikipedia.org/wiki/Random
numbergeneration].