Dear all a y&#39;all,<br><br>I have a list of 25 numbers between 800-19000 that I&#39;m calling randomly&#39;ish.<br><br>I want to add some constraints to those numbers:<br>so for example, I have the number 6569 and by the use of either simple x2 multiplication or dividing I want to shoehorn it into the ranges of 11000-18000 but also 400-800 at the same time.<br>
<br>THe ranges are set but the numbers aren&#39;t.  So say sometimes the range 2400-4700 may get a number that is less than the range like 912 and sometimes it will get a number over the range like 13264, so I need a way of Pd recognising whether the number requires multiplication or dividing.<br>
<br>How can I do this?<br><br>Bests,<br><br>Jbz<br>