Pascalvrolijk
Board Regular
- Joined
- May 28, 2004
- Messages
- 68
Hi dear helper!
I would like to get some help with this VBA problem i am facing:
In excel i drew 5 times (columns of) 250.000 numbers from a N(0,1) distribution and manipulated them in a certain, necessary, way.
So my basis are 5 columns (A,B,C,D,E) with 250.000 numbers, the numbers are value-copies of formulas.
From this starting point, now my problem is that i need to delete unrequired numbers (each column has a different requirement; say requirement column 1,2,3,4,5 is: value1<1;value2>1;value3>1.1;value4<0.003;value5>0.5). Once the unrequired numbers are deleted the first 100.000 numbers need to be retained and printed in the columns next to it (columns G,H,I,J,K). They should be printed without changing the order of appearance (so not sort from high to low, or low to high)
I would really appreciate any help.
Thank you so much,
Pascal.
I would like to get some help with this VBA problem i am facing:
In excel i drew 5 times (columns of) 250.000 numbers from a N(0,1) distribution and manipulated them in a certain, necessary, way.
So my basis are 5 columns (A,B,C,D,E) with 250.000 numbers, the numbers are value-copies of formulas.
From this starting point, now my problem is that i need to delete unrequired numbers (each column has a different requirement; say requirement column 1,2,3,4,5 is: value1<1;value2>1;value3>1.1;value4<0.003;value5>0.5). Once the unrequired numbers are deleted the first 100.000 numbers need to be retained and printed in the columns next to it (columns G,H,I,J,K). They should be printed without changing the order of appearance (so not sort from high to low, or low to high)
I would really appreciate any help.
Thank you so much,
Pascal.