在excel中引用不同工作表中的一行

问题描述

我正在尝试从 Excel 工作表制作一个表格,其中表格元素将被引用到特定的行。

for example

  This is my row 4 data and I'm trying to create table using header and this 4 row. 
  
       4/27/2021    78  3   3   0   0

  so,when next time when I insert data row 4,the table should be updated to the inserted data,but my data is Now referring to row 5.

我试过了:

=Sheet1!A$4 
=Sheet1!$A$4 
=Sheet1!A4

I tied all 3 formula to refer to my sheet 1 excel,but next time when I'm inserting data in row 4,table is referring to row 5.How can I do this ?

解决方法

通常,我建议不要在现有数据集之上添加新行(而是将它们添加到现有数据下方并使用公式来检索最后一个条目)。

如果您想继续采用当前的方法,here 很好地解释了为什么会发生这种情况以及您需要做什么才能达到预期的结果。