Exceldynamic行

嗨,我使用这些公式从一张表提取一些数据到另一个。

='[test.xlsx]Some Fantastic Sheet Name'!A1 ='[test.xlsx]Some Fantastic Sheet Name'!B1 ='[test.xlsx]Some Fantastic Sheet Name'!C1 

我拿到了数字(1),例如D1。 通过更改单元格D1中的数字来更改公式中的行号是否可行? …所以当D1是2时,它将如下所示:

 ='[test.xlsx]Some Fantastic Sheet Name'!A2 ='[test.xlsx]Some Fantastic Sheet Name'!B2 ='[test.xlsx]Some Fantastic Sheet Name'!C2 

是,

这是一个非易失性公式(INDIRECT和OFFSET是易失的)

 =INDEX('[test.xlsx]Some Fantastic Sheet Name'!A:A,D1)