Home |
Search |
Today's Posts |
#6
|
|||
|
|||
"Steved" wrote...
.... I followed what you put below naming the range PNRA ok =RAND() are in cell A1:F10 I highlighted and then I Insert Name Define please I am lost where do I put the below COUNTIF(PRNA,"<="&INDEX(PRNA,ROWS($C$5:C5)*6-COLUMNS($C$5:C5)+1)) First, you're missing the initial equal sign. I may have misunderstood your question. Looks like you want 10 samples of 6 numbers each of which is drawn without replacement from 1-40. If so, then you still don't need anything more than a 40 cell range each cell in which containing =RAND(), which I'll still call PRNA. I'll further assume that PRNA is 40 rows in a single column. Then, in another range WHICH YOU MUST CHOOSE (but for my convenience, I'll continue to use C5:H14, so in my case, the cells containing the =RAND() formula don't overlar C5:H14), select C5:H5 and enter the following array formula. C5:H5 [array formula]: =COUNTIF(PRNA,"<="&TRANSPOSE(OFFSET(PRNA,INT(35*RA ND()),0,6,1))) Select C5:H5 and fill down into C6:H14. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Seed numbers for random number generation, uniform distribution | Excel Discussion (Misc queries) | |||
random numbers, how can you utilize it without repeating them | Excel Discussion (Misc queries) | |||
random numbers from a data of numbers? | Excel Worksheet Functions | |||
Validating random numbers | Excel Worksheet Functions | |||
Random Numbers Change? | Excel Worksheet Functions |