Weighting random allocations within a range

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Int((8 - 1 + 1) * Rnd + 1), randomly generate a number between 1 and 8.
I am populating a column with those random results.
How could enhance this to weight more 1s than 2s, more 2s than 3s and so on?

Appreciatively,
Arturo
 
One way:

You would need to make a step distribution that divides the interval between
0 and 1 into 8 sections to fit the proportion of the values you want - and
then possibly use it with a vlookup or lookup function.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top