franzpeter

New Member
Joined
Apr 5, 2018
Messages
4
Hello,

unfortunately it is not possible to upload a file, so I try to explain it as best as I can:

I use =NORM.INV to produce columns of random values like:

ValuesValuesValuesValuesValuesValuesValuesValuesValuesValues
26.85388155.45631173-51.007732479.496015139.7611752-5.854172760.1993370636.3109158-55.9130755-46.7417441
19.077618164.8366344-44.44987988.03219761-73.814003110.2904382-42.69792096.0305091458.5401413-56.3084451
4.3904762459.976281840.6865279-44.851910147.474835655.2761705-43.4841945-34.045141140.957141775.5229871
44.7989651-56.38683038.22514414-36.3734794119.625039149.91050329.353067425.621326755.5856752-3.09640204
21.788854122.6155273-71.7567003-30.37260477.35397868-37.675057936.2415254-50.6866414-7.0754459183.0755513
47.603659294.524798575.6824659-56.3281605-67.596242115.366405647.7862198-51.35475044.77921981-73.7810138
107.963969-44.798649819.76079978.366183-9.1176939429.7125062-68.8502439-24.580957514.400296220.2050168
0.9958699494.206091486.80699342.220633784.076384129.8304161-87.771842939.364367137.249769975.1516207
67.2919977-36.262053653.299010344.1607761-20.993100523.5962428-21.414425-4.1745817529.755699864.432296
9.0266647222.261111150.613966220.7483508-47.211560141.1012334-30.3950436-52.867056262.9456079-42.8888878
43.379137926.78910768.22455558-34.5639249-3.28262263-22.8775143-69.8304546-92.9627745-14.6273932-21.3035731
102.232077-53.005199940.8151199-67.484605614.796886344.1383743-81.5909865103.31287378.5493199-5.51498408
-34.0479123-25.885055-52.746525912.7435909-43.5573836-37.0990157-18.448809563.0978172-22.8850337-49.3460674
79.8985720.1725486116.88749249.1896592-46.829304416.83405222.30193905-25.0458245-61.96862918.34629485

<tbody>
</tbody>


Each column represents a curve in a diagram that is always updated, if F9 is pressed.


It would be great, if you have some hints how the following tasks could be solved.
Task 1: It should be possible to generate thousends of these curves automatically if F9 is pressed without entering thousends of columns manually and without assigning them manually to a diagram after the calculation is finished.
Task 2: Ideally I can define the number of curves I want manually by entering this numer into a cell and the rest will be done fully automatically after F9 is pressed.
Task 3: All of these curves should be visible in a diagram, i.e. the diagramm changes dynamically depending on the number of curves calculated.
For the values in the colums a random generator is used.
Task 4: It should be possible to define a bernoulli or another distribution and to define the probability of success via cells in the excel sheet (i.e. without using the excel add-ins to avoid manual configuration).
If F9 is pressed the calculations above are then made based on the selected distribution.
Task 5: After x (e.g. thousends) of calculations are finished a result list is provided based on conficence levels.
Example: See right side.List provided after calculations are finished:
It is not clear how these calculations could be done in Excel and how the confidence levels could be achieved.Confidence (%)Threshold +/- 50Threshold +/- 100Threshold +/- 150
50%70%20%10%
55%etc.etc.etc.
60%etc.etc.etc.
65%etc.etc.etc.
70%etc.etc.etc.
75%etc.etc.etc.
80%etc.etc.etc.
85%etc.etc.etc.
90%etc.etc.etc.
95%60%30%10%
100%etc.etc.etc.
Threshold: The percentage of curves the are between + 50 and -50 or +100 and - 100 etc. relative to the number of curves produced (e.g. 10.000) after F9 was pressed.

<tbody>
</tbody>




It would be great, if you have some hints how the tasks could be solved (hints on single tasks are also welcome of course .... so that I can put it all together).

If you need the file please let me know how I could send it ...

Best Regards ...
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Forum statistics

Threads
1,213,551
Messages
6,114,266
Members
448,558
Latest member
aivin

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