How to distribute according to proportionality
With this table:
I need to distribute the values, 0, 1, 2, 3 randoomly between those 250 rows filling ‘x’ column acording the proportionality en each column.
So, literaly I need to fill column ‘x’ with 125 registers with 0 value, 25 registers with value 1, 75 registers with value 2 and 25 registers filled with value 3.
How can I accomplish this?
Thanks in advance.