Hi,
I have created an example of a macro function below.
- 1st sheet of the workbook would just be for inputting the bias "factor" in B1 and receiving the resulting average in B3.
- 2nd sheet has first column with numbers listed 1 to 1000, but in reality this would be to any number so I don't want an upper cap on my "random_limit".
- 3rd sheet starts blank and is for the macro to do its work in.
The effect that changing the factor has on the resulting average is very gentle. I was wondering what a more sensible way would be to create a large bias towards picking smaller numbers.
Any help would be greatly appreciated, thanks.Please Login or Register to view this content.
Bookmarks