Random allocation based on proportion

kevinm87

New Member
Joined
Sep 19, 2016
Messages
6
Hi,

I'm trying creating a stock portfolio selector wherein the end user gets to choose the portfolio that he would like to have which will based on multiple criteria such as industry, size etc.

One of the final steps is to allocate the stock randomly (after the initial filter based on their selection) by the proportion of risk. That is if they choose to have 50 company stocks, they would have the option to choose how they would want to split between say high risk, low risk and medium risk in terms of percentages say 40% medium risk, 25% high and the rest would be low risk.

I have got excel to filter out all the companies that do meet the base criteria (i.e size, industry etc.). Now I can't think of any manner by which I can get excel to produce random lists from these chosen companies by the allocation proportion.

Any advice would be much appreciated.
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,215,356
Messages
6,124,471
Members
449,163
Latest member
kshealy

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