ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Random Draw (https://www.excelbanter.com/excel-programming/312492-random-draw.html)

ExcelMonkey[_174_]

Random Draw
 

I am looking for a quick routine that randomly draws between 1 and X (
will define X). I want the routine to continually run until all draw
have been completed. That is, if 3 is chosen in the first draw, it i
then removed from the remaining population in the next round.

Does anyone know how to do this?

Thank

--
ExcelMonke
-----------------------------------------------------------------------
ExcelMonkey's Profile: http://www.excelforum.com/member.php...nfo&userid=522
View this thread: http://www.excelforum.com/showthread.php?threadid=26637


sulprobil

Random Draw
 
Take http://www.sulprobil.com/html/uniqrandint.html

Then select as many result cells as you want to draw,
enter the formula =uniqrandint(X) CTRL + SHIFT + ENTER
(Array formula)

HTH,
sulprobil


All times are GMT +1. The time now is 12:09 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com