Good Evening,
I have a worksheet that at any one time can have anything from 500 to ~ 100,000 rows of data. In order to run some statistical tests on the data I like to take a snapshot of, for example, 5%. In one of the tests the snapshot is comprised of a random selection of data. In order to complete this I have a macro that assigns each row a random number and then skims the rows with the highest 5% of numbers.
I was wondering if anyone knew of (if such a thing exists) a better way to accomplish the same result.
Thank you in advance.
I have a worksheet that at any one time can have anything from 500 to ~ 100,000 rows of data. In order to run some statistical tests on the data I like to take a snapshot of, for example, 5%. In one of the tests the snapshot is comprised of a random selection of data. In order to complete this I have a macro that assigns each row a random number and then skims the rows with the highest 5% of numbers.
I was wondering if anyone knew of (if such a thing exists) a better way to accomplish the same result.
Thank you in advance.