Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Domenic,
this is a very nice formula! Regards, Kostis On Mar 29, 4:20 am, Domenic wrote: Try the following formula, which needs to be confirmed with CONTROL+SHIFT+ENTER, not just ENTER... B2, copied down to B4: =SMALL(IF(ISNA(MATCH(ROW($B$2:$B$21)-ROW($B$2)+1,$B$1:B1,0)),ROW($B$2:$B$ 21)-ROW($B$2)+1),INT(RAND()*(20-ROW()+ROW($B$2)))+1) Hope this helps! In article , A Long <A wrote: Is there a way to produce multiple, non-repeating, intergers within a given range?For example, generate 3 whole numbers between 1 and 20 (with an answer such as 4,7,18) I need help! Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Random number generator | Excel Worksheet Functions | |||
Random Number generator | Excel Worksheet Functions | |||
Random Number Generator | Excel Worksheet Functions | |||
Random Number Generator | Excel Worksheet Functions | |||
random number generator | Excel Discussion (Misc queries) |