Hi all,
In my current project I use a formula that returns a random value from column A, based on the number of values in column A.
Like so: =INDEX(A:A;ROUNDDOWN(1+COUNTA(A:A)*RAND();0);0)
If in column A the number of values is 100, I may want to look at 10 of them that are randomly selected. Thus I enter the above formula in column B 10 times. My problem is, however, that duplicate values are being returned sometimes (which is logical).
How can I add a contraint that forces the values returned to be unique?
Regards.
In my current project I use a formula that returns a random value from column A, based on the number of values in column A.
Like so: =INDEX(A:A;ROUNDDOWN(1+COUNTA(A:A)*RAND();0);0)
If in column A the number of values is 100, I may want to look at 10 of them that are randomly selected. Thus I enter the above formula in column B 10 times. My problem is, however, that duplicate values are being returned sometimes (which is logical).
How can I add a contraint that forces the values returned to be unique?
Regards.