I can use indirect or index to randomly retrieve data from a 10,000 long array,
Excel 2007
which method will be more efficient? How can I do a benchmark?
Thanks.
Excel Workbook | |||
---|---|---|---|
C | |||
6 | 0.094139914 | ||
7 | 0.136214049 | ||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
C6 | =INDEX(Sheet4!A1:A10000,RANDBETWEEN(1,10000)) | |
C7 | =INDIRECT("Sheet4!A"&RANDBETWEEN(1,10000)) |
which method will be more efficient? How can I do a benchmark?
Thanks.