Interative Macro To Summarize Values Based off Random Number X Number of Times
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi - I have sales pipeline data with a dollar value and a probability of success for a number of deals. I'd like to generate a random number between 0 and 1 for each of these deals for each of 500 trials. From each trial, I want to output the sum of all dollar values where the randomly generated number is less than or equal to the deal probability.
The attached excel contains some sample data with this loop working through a data table. I'm trying to build an iterative macro to handle this, but I can't seem to get it to loop the way I want it to. I want the output to have as many rows as the the macro has iterations.
Solved! Go to Solution.
- Labels:
- Macros
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@pjb028
I think we are looking at a batch macro rather than iterative one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You are correct.
Thanks!
