我有一个带有两张纸的电子表格。表 1 有一列名称和一列数字。表 2 引用表 1 中的数据。
表 1
+---+------+--------+
| | A | B |
+---+------+--------+
| 1 | Name | Number |
+---+------+--------+
| 2 | Foo | 10 |
在工作表 2 中,我引用工作表 1。即:='工作表 1':A2。我还有另一个地方需要获取与引用的单元格关联的数值。
表 2
+---+----------------+-------------------------------------------+
| | A | B |
+---+----------------+-------------------------------------------+
| 1 | Bar | Baz |
+---+----------------+-------------------------------------------+
| 2 | ='Sheet 1':A2 | Needs to look up what cell was referenced |
| | | in cell A2, and get the appropriate |
| | | number column, next to that cell |
| | | In this case it would be 'Sheet 1':B2 |