Hi There,
I am new to this forum, I really need some one's help for the below problem,
I have a workbook with 4 columns, coloumn A has a region name, coloumn B has a school name, column c has the subject name and coloumn D has the number of books to be delivered to each of these schools.
What i need the vba programme to do is try different combinations for summing the numbers in coloumn D to return combinations (not repeating the same number) that equals to a value that lies in a specific range.
Say the maximum number of books i can pack in a box 30, the vba should return me the combinations of values from coloumn D to equal to the value between 26-30
Each school have 14 subjects, so basically i will devide the data of 6500 rows to school wise.
Any help would be much apprecited.... thanks in advance!!!!!
<TBODY>
</TBODY>
I am new to this forum, I really need some one's help for the below problem,
I have a workbook with 4 columns, coloumn A has a region name, coloumn B has a school name, column c has the subject name and coloumn D has the number of books to be delivered to each of these schools.
What i need the vba programme to do is try different combinations for summing the numbers in coloumn D to return combinations (not repeating the same number) that equals to a value that lies in a specific range.
Say the maximum number of books i can pack in a box 30, the vba should return me the combinations of values from coloumn D to equal to the value between 26-30
Each school have 14 subjects, so basically i will devide the data of 6500 rows to school wise.
Any help would be much apprecited.... thanks in advance!!!!!
Region | School name | Subject | Number of books |
DXB | A | English | 13 |
DXB | A | Mathematics | 10 |
DXB | A | History | 1 |
DXB | A | Geography | 7 |
DXB | A | Physics | 5 |
DXB | A | Chemistry | 4 |
DXB | A | Language | 12 |
DXB | A | Craft | 11 |
DXB | A | economics | 2 |
DXB | A | statics | 1 |
<TBODY>
</TBODY>