Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I would like to select each time different cell in same column using random
number. I generate the number but don't know how to implement it in the cell address? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If you want to choose from column A, in the row range of 1-10: =INDIRECT("A"
& INT(RAND()*10)+1). The '1' in the formula indicates the minumun row that can be selected; the '10' indicates the number of rows among which to select (so 10 rows from column A, starting at row 1 is the range A1:A10). "surffrank" wrote: I would like to select each time different cell in same column using random number. I generate the number but don't know how to implement it in the cell address? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Perfect, thanks a lot
"bpeltzer" wrote: If you want to choose from column A, in the row range of 1-10: =INDIRECT("A" & INT(RAND()*10)+1). The '1' in the formula indicates the minumun row that can be selected; the '10' indicates the number of rows among which to select (so 10 rows from column A, starting at row 1 is the range A1:A10). "surffrank" wrote: I would like to select each time different cell in same column using random number. I generate the number but don't know how to implement it in the cell address? |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Use the following
Range("a" & ref).Select where ref is your random number and "a" is your coloum reference "surffrank" wrote: I would like to select each time different cell in same column using random number. I generate the number but don't know how to implement it in the cell address? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Code to copy the formulae of one cell to all the cell in the rangewith the specific cell and columnnumber changing Options | Excel Discussion (Misc queries) | |||
Populate a cell if values in cell 1 and cell 2 match cell 3 and 4 | Excel Worksheet Functions | |||
How to create/run "cell A equals Cell B put Cell C info in Cell D | Excel Discussion (Misc queries) | |||
Question about cell adressing | Excel Programming | |||
Adressing | Excel Programming |