montecarlo2012
Well-known Member
- Joined
- Jan 26, 2011
- Messages
- 984
- Office Version
- 2010
- Platform
- Windows
Hello, I am not pretend to be a programmer I just try tospeak your vba language, so maybe I help a little more.
For something
If (O.value = array A:F.values)
Then H:M =P:U.values
Next
Ubound
End
A2:F2 corresponding to P values, A3:F3 to Q, and so on.
In the spreadsheet you can see on H1 value 1 because A2=9and O11=9 then replace for P.value next to O11.
Where is my array? B2:G2060
And the pu.values at P2:AMA1000
DISPLAY RESULTS AT (“i:N”)
thanks.
For something
If (O.value = array A:F.values)
Then H:M =P:U.values
Next
Ubound
End
A2:F2 corresponding to P values, A3:F3 to Q, and so on.
In the spreadsheet you can see on H1 value 1 because A2=9and O11=9 then replace for P.value next to O11.
Where is my array? B2:G2060
And the pu.values at P2:AMA1000
DISPLAY RESULTS AT (“i:N”)
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | |
1 | |||||||||||||||||||||
2 | 9 | 12 | 15 | 21 | 33 | 45 | 1 | 1 | 4 | 1 | 0 | 1 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | ||
3 | 20 | 25 | 29 | 30 | 36 | 37 | 2 | 2 | 0 | 0 | 3 | 4 | 2 | 3 | 3 | 2 | 2 | 2 | 2 | ||
4 | 2 | 11 | 13 | 20 | 27 | 28 | 3 | 3 | 3 | 3 | 4 | 4 | 5 | ||||||||
5 | 4 | 6 | 15 | 24 | 47 | 52 | 4 | 2 | 2 | 2 | 1 | 1 | 0 | ||||||||
6 | 10 | 16 | 21 | 25 | 37 | 49 | 5 | 1 | 1 | 1 | 1 | 1 | 0 | ||||||||
7 | 4 | 5 | 8 | 13 | 27 | 44 | 6 | 1 | 2 | 2 | 1 | 1 | 2 | ||||||||
8 | 2 | 3 | 15 | 39 | 44 | 49 | 7 | 1 | 1 | 1 | 1 | 1 | 1 | ||||||||
9 | 19 | 23 | 28 | 38 | 48 | 53 | 8 | 3 | 3 | 3 | 3 | 3 | 2 | ||||||||
10 | 3 | 8 | 16 | 20 | 43 | 48 | 9 | 1 | 1 | 1 | 2 | 2 | 2 | ||||||||
11 | 13 | 16 | 17 | 40 | 42 | 44 | 10 | 2 | 2 | 3 | 3 | 2 | 2 | ||||||||
12 | 1 | 12 | 22 | 44 | 46 | 52 | 11 | 1 | 1 | 1 | 2 | 3 | 3 | ||||||||
13 | 10 | 13 | 35 | 36 | 37 | 42 | 12 | 1 | 1 | 2 | 2 | 2 | 2 | ||||||||
14 | 9 | 26 | 34 | 40 | 42 | 49 | 13 | 4 | 4 | 3 | 3 | 3 | 2 | ||||||||
15 | 1 | 2 | 25 | 43 | 48 | 53 | 14 | 1 | 2 | 2 | 2 | 2 | 2 | ||||||||
16 | 8 | 32 | 35 | 46 | 47 | 52 | 15 | 4 | 4 | 4 | 3 | 3 | 3 | ||||||||
17 | 14 | 15 | 23 | 36 | 49 | 50 | 16 | 4 | 4 | 4 | 4 | 3 | 3 | ||||||||
18 | 15 | 17 | 22 | 40 | 41 | 45 | 17 | 2 | 2 | 3 | 3 | 3 | 3 | ||||||||
19 | 3 | 26 | 36 | 37 | 43 | 44 | 18 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||
20 | 7 | 16 | 31 | 38 | 39 | 42 | 19 | 1 | 1 | 1 | 1 | 1 | 1 | ||||||||
21 | 6 | 14 | 37 | 41 | 48 | 49 | 20 | 3 | 2 | 1 | 1 | 1 | 1 | ||||||||
22 | 10 | 11 | 12 | 17 | 28 | 46 | 21 | 1 | 1 | 1 | 2 | 1 | 1 | ||||||||
23 | 3 | 9 | 11 | 21 | 24 | 49 | 22 | 2 | 2 | 2 | 2 | 2 | 2 | ||||||||
24 | 11 | 24 | 36 | 45 | 46 | 47 | 23 | 2 | 2 | 2 | 2 | 2 | 2 | ||||||||
25 | 3 | 6 | 36 | 46 | 48 | 52 | 24 | 1 | 1 | 1 | 1 | 2 | 2 | ||||||||
26 | 2 | 7 | 11 | 15 | 43 | 45 | 25 | 3 | 2 | 2 | 2 | 1 | 1 | ||||||||
27 | 3 | 6 | 16 | 30 | 31 | 40 | 26 | 2 | 2 | 2 | 2 | 2 | 2 | ||||||||
28 | 20 | 44 | 46 | 48 | 52 | 53 | 27 | 2 | 2 | 1 | 1 | 1 | 0 | ||||||||
29 | 29 | 33 | 46 | 48 | 49 | 53 | 28 | 2 | 2 | 2 | 2 | 2 | 2 | ||||||||
30 | 3 | 4 | 5 | 39 | 47 | 48 | 29 | 1 | 0 | 0 | 0 | 0 | 0 | ||||||||
31 | 4 | 8 | 17 | 20 | 51 | 52 | 30 | 1 | 0 | 0 | 0 | 0 | 0 | ||||||||
32 | 6 | 10 | 18 | 27 | 28 | 51 | 31 | 1 | 1 | 1 | 1 | 1 | 1 | ||||||||
33 | 4 | 8 | 15 | 16 | 32 | 52 | 32 | 1 | 1 | 1 | 1 | 1 | 1 | ||||||||
34 | 8 | 21 | 22 | 27 | 40 | 44 | 33 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||
35 | 1 | 3 | 4 | 12 | 15 | 38 | 34 | 1 | 1 | 1 | 1 | 1 | 1 | ||||||||
36 | 2 | 10 | 11 | 41 | 42 | 53 | 35 | 2 | 2 | 2 | 2 | 2 | 2 | ||||||||
37 | 13 | 17 | 20 | 23 | 24 | 30 | 36 | 4 | 3 | 3 | 3 | 4 | 5 | ||||||||
38 | 1 | 7 | 35 | 39 | 43 | 47 | 37 | 4 | 4 | 4 | 4 | 3 | 3 | ||||||||
39 | 3 | 13 | 42 | 47 | 52 | 53 | 38 | 2 | 2 | 2 | 2 | 2 | 2 | ||||||||
40 | 1 | 3 | 5 | 14 | 28 | 32 | 39 | 2 | 2 | 2 | 2 | 2 | 2 | ||||||||
41 | 5 | 13 | 18 | 28 | 31 | 43 | 40 | 3 | 3 | 3 | 3 | 3 | 3 | ||||||||
42 | 2 | 7 | 31 | 40 | 46 | 52 | 41 | 1 | 2 | 2 | 2 | 2 | 2 | ||||||||
43 | 5 | 8 | 9 | 12 | 23 | 27 | 42 | 4 | 4 | 4 | 4 | 4 | 4 | ||||||||
44 | 3 | 16 | 19 | 20 | 32 | 52 | 43 | 3 | 3 | 3 | 3 | 3 | 3 | ||||||||
45 | 2 | 29 | 35 | 37 | 41 | 42 | 44 | 5 | 5 | 5 | 5 | 5 | 4 | ||||||||
46 | 21 | 24 | 34 | 41 | 47 | 52 | 45 | 1 | 1 | 1 | 1 | 2 | 2 | ||||||||
47 | 13 | 19 | 22 | 44 | 46 | 52 | 46 | 2 | 2 | 3 | 3 | 4 | 5 | ||||||||
48 | 5 | 15 | 29 | 35 | 40 | 47 | 47 | 2 | 2 | 2 | 1 | 2 | 2 | ||||||||
49 | 4 | 36 | 42 | 47 | 48 | 52 | 48 | 3 | 4 | 4 | 4 | 4 | 5 | ||||||||
50 | 1 | 21 | 26 | 30 | 46 | 48 | 49 | 4 | 5 | 5 | 6 | 5 | 5 | ||||||||
51 | 21 | 24 | 33 | 37 | 43 | 46 | 50 | 1 | 1 | 1 | 1 | 1 | 1 | ||||||||
52 | 1 | 11 | 19 | 33 | 37 | 49 | 51 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||
53 | 5 | 6 | 13 | 33 | 35 | 40 | 52 | 3 | 3 | 3 | 2 | 2 | 3 | ||||||||
54 | 20 | 23 | 26 | 32 | 41 | 46 | 53 | 2 | 2 | 2 | 2 | 2 | 2 |
Last edited by a moderator: