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.
 
Back
Top