CRGreathouse Community Supporter Mar 1, 2002 #13 Oops - the version I sent you works properly, but is formatted so it looks like it's drawing from 1d4+1 instead of 1d3+1. It actually works properly, though. Here's the heart of the program: Code: =IF(A3<=B$1,LOOKUP(INT(RAND()*8)+1,Data!A$2:A$9,Data!B$2:B$9),"") It draws a random value from the "Data" sheet (B2:B9) if A3 is no greater than B1, where B1 is the total # of objects to draw.
Oops - the version I sent you works properly, but is formatted so it looks like it's drawing from 1d4+1 instead of 1d3+1. It actually works properly, though. Here's the heart of the program: Code: =IF(A3<=B$1,LOOKUP(INT(RAND()*8)+1,Data!A$2:A$9,Data!B$2:B$9),"") It draws a random value from the "Data" sheet (B2:B9) if A3 is no greater than B1, where B1 is the total # of objects to draw.