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

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,215,054
Messages
6,122,897
Members
449,097
Latest member
dbomb1414

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
Back
Top