LactoseO.D.'d
Board Regular
- Joined
- Feb 22, 2010
- Messages
- 52
I am trying to create a Monte Carlo simulator from scratch with the computational speed of Crystal Ball or better. Currently, the solutions I've been able to come up with take something like 20 seconds to run a simple 500 trials by varying values within the a spreadsheet.
I am thinking that if I can write the macro without referencing cells until the very end, it will run faster. Is there a way to generate a list of randomized trial results given distribution types, means, and stdevs and then populate it to a range of cells at the very end? Would this speed things up? I am looking to get in to the 10-20k trials range and things must go faster. I have seen it done, I just don't know how
I am thinking that if I can write the macro without referencing cells until the very end, it will run faster. Is there a way to generate a list of randomized trial results given distribution types, means, and stdevs and then populate it to a range of cells at the very end? Would this speed things up? I am looking to get in to the 10-20k trials range and things must go faster. I have seen it done, I just don't know how