Randomised 7 patterns out of 9</SPAN></SPAN>
Using Excel 2000</SPAN></SPAN>
Hi,</SPAN></SPAN>
VBA, which can choose "7 random patterns" out of 9 from a My List of column A, and make a list of random in the 7 columns E:K as number of random rows are set in the cell B1</SPAN></SPAN>
Example data show 12 random as per B1 value </SPAN></SPAN>
Thank you in advance</SPAN></SPAN>
Regards,</SPAN>
Kishan</SPAN></SPAN>
Using Excel 2000</SPAN></SPAN>
Hi,</SPAN></SPAN>
VBA, which can choose "7 random patterns" out of 9 from a My List of column A, and make a list of random in the 7 columns E:K as number of random rows are set in the cell B1</SPAN></SPAN>
Example data show 12 random as per B1 value </SPAN></SPAN>
Book1 | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | |||
1 | My List | 12 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | |||||
2 | 1|1 | 1|1 | 2|2 | 2|2 | 2|X | 1|1 | 2|2 | X|1 | ||||||
3 | 1|X | X|1 | 1|2 | 2|1 | X|2 | X|1 | 2|1 | 1|X | ||||||
4 | X|1 | 2|1 | 2|2 | 1|1 | X|2 | X|X | 2|1 | 1|X | ||||||
5 | 1|2 | X|X | 2|X | X|2 | 1|X | X|2 | 1|2 | X|2 | ||||||
6 | 2|1 | 2|1 | 2|1 | X|1 | 1|1 | 2|1 | 2|X | X|1 | ||||||
7 | X|2 | 2|1 | 1|X | X|2 | X|1 | 1|1 | X|X | 1|X | ||||||
8 | 2|X | 2|2 | X|1 | 2|X | 2|2 | 2|1 | 1|1 | 2|1 | ||||||
9 | X|X | 1|1 | 1|2 | 1|2 | 1|1 | 2|1 | 2|1 | 2|X | ||||||
10 | 2|2 | 2|2 | 2|2 | 1|1 | 1|2 | 2|X | 2|2 | 2|1 | ||||||
11 | 1|X | 1|X | X|X | X|X | X|X | X|X | 2|1 | |||||||
12 | 1|2 | X|X | 2|1 | X|1 | 1|1 | 1|2 | 1|X | |||||||
13 | 1|2 | 2|X | X|X | X|1 | 1|2 | 2|1 | 1|1 | |||||||
14 | ||||||||||||||
15 | ||||||||||||||
16 | ||||||||||||||
Sheet5 |
Thank you in advance</SPAN></SPAN>
Regards,</SPAN>
Kishan</SPAN></SPAN>
Last edited: