Combin worksheet function: Obtaining a listing of possible c

johnsmithafc

New Member
Joined
Nov 6, 2002
Messages
6
I have a portfolio of five assets A,B,C,D and E and I want to make a combination of weights in any or all of the assets such that the sum total of the weights will equal 100%. Assuming the possible combination of weights I can make for each asset are 0%,10%,20%,30%,40%,50%,60%,70%,80%,90% or 100% how can I get the listing of possible combination of weights in assets A,B,C,D and E.

Using the Combine function of excel =Combin(11,5) I get 462 possible combinations, but what I need is the syntax to enable me obtain all possible combination in % terms as shown .

An example of the result I expect is shown below:


A B C D E Total
10% 20% 30% 0% 40% 100%
20% 10% 0% 10% 60% 100%
40% 10% 10% 10% 30% 100%
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,147,814
Messages
5,743,360
Members
423,790
Latest member
kevinlee_5

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top