2

I create a random number in my excel sheet (using RAND), 5 for example. Now I want to reference column A[my number], in this example its A5. How would I do that?

If thats not possible, is it possible to get a random row value from a column?

Thanks!

4

2 回答 2

2

通常 INDEX 比 INDIRECT 更可取(它不是易失性的,您不需要“硬编码”列引用)。如果您在 B3 中有随机数,请尝试

=INDEX(Data!A:A,B3)

于 2013-02-05T15:40:23.810 回答
2

=INDIRECT("A"&RANDBETWEEN(1;10))将随机返回 range 中的单元格A1:A10

于 2013-02-05T15:38:14.443 回答