Vishal Srivastava
Member
Dear All,
I want to create a formula that gives all possible combination of numbers that equals to given sum.
Let start with following values of cell A1:A8 in column "A".
50
45
50
45
40
42
40
10
Suppose our target value is 90, there would be some combination such as 50+40,45+45, 40+40+10, etc.
Can we write a formula(NON-VBA) to know all possible combination?
I know, It possible with VBA and also Solver could give the answer but Solver gives only first combination of values not all combinations.
Can anyone help me out?
Thanks in Advance.
CMA Vishal Srivastava
I want to create a formula that gives all possible combination of numbers that equals to given sum.
Let start with following values of cell A1:A8 in column "A".
50
45
50
45
40
42
40
10
Suppose our target value is 90, there would be some combination such as 50+40,45+45, 40+40+10, etc.
Can we write a formula(NON-VBA) to know all possible combination?
I know, It possible with VBA and also Solver could give the answer but Solver gives only first combination of values not all combinations.
Can anyone help me out?
Thanks in Advance.
CMA Vishal Srivastava