rocksandbroncs
Technical User
OK, I give up!!
What I'm trying to do is determine all the valid combinations I can get based on the table below (Excel cells). Position matters in this case. Then I want to load them into a range of cells.
Digit 100S 10s 1S
Cnt Cnt Cnt
0 2 2 3
1 4 2 5
2 4 2 1
3 5 4 1
4 4 2 6
5 6 1 5
6 0 4 1
7 0 4 0
8 0 4 2
9 0 1 1
Cnt 3 3 4
4 ND D ND
I've got the part where there is more than one digit that is tied for highest number of occurances (the D for Dups or ND for NoDups) i.e. 3,6,7 and 8 of the tens digit has occurred the same (4), highest number of times. I can even figure out how many total combinations are going to be generated (the 4 in this case: 1x4x1) The valid combinations would be: 534, 564, 574 & 584. Any ideas?
I have a feeling this will have to be done in VBA and I'm a rookie in OOP. Any help would be greatly appreciated and thanks in advance
.
![[hairpull] [hairpull] [hairpull]](/data/assets/smilies/hairpull.gif)
Digit 100S 10s 1S
Cnt Cnt Cnt
0 2 2 3
1 4 2 5
2 4 2 1
3 5 4 1
4 4 2 6
5 6 1 5
6 0 4 1
7 0 4 0
8 0 4 2
9 0 1 1
Cnt 3 3 4
4 ND D ND
I've got the part where there is more than one digit that is tied for highest number of occurances (the D for Dups or ND for NoDups) i.e. 3,6,7 and 8 of the tens digit has occurred the same (4), highest number of times. I can even figure out how many total combinations are going to be generated (the 4 in this case: 1x4x1) The valid combinations would be: 534, 564, 574 & 584. Any ideas?
I have a feeling this will have to be done in VBA and I'm a rookie in OOP. Any help would be greatly appreciated and thanks in advance
![[2thumbsup] [2thumbsup] [2thumbsup]](/data/assets/smilies/2thumbsup.gif)