Google电子表格
问题描述:
我有一个电子表格w /两张。工作表1有一列名称和一列数字。从片材片材2次的引用数据1.Google电子表格
片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 |
答
你需要的是一个VLOOKUP函数
=VLOOKUP(A2,Sheet1!A:B,2,false)
文档可以在这里找到:https://support.google.com/docs/answer/3093318?hl=en