Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/google-sheets/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/google-chrome/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google sheets 在Google工作表上连接表_Google Sheets_Google Sheets Formula - Fatal编程技术网

Google sheets 在Google工作表上连接表

Google sheets 在Google工作表上连接表,google-sheets,google-sheets-formula,Google Sheets,Google Sheets Formula,如何使用列作为键引用连接Google Sheet上的两个表 我在表1和表2上有我的数据 我应该在表3中插入什么公式!A1要得到这个结果 表1 | | A | B | | - | ---------- | ---------- | | 1 | Date | Task 1 (h) | | 2 | 2021-01-01 | 1 | | 3 | 2021-01-02 | | | 4 | 2021-01-04 |

如何使用列作为键引用连接Google Sheet上的两个表

我在表1表2上有我的数据

我应该在表3中插入什么公式!A1要得到这个结果


表1

|   | A          | B          |
| - | ---------- | ---------- |
| 1 | Date       | Task 1 (h) |
| 2 | 2021-01-01 | 1          |
| 3 | 2021-01-02 |            |
| 4 | 2021-01-04 | 1          |
| 5 | 2021-01-06 | 1          |

第2张

|   | A          | B          | C          |
| - | ---------- | ---------- | ---------- |
| 1 | Date       | Task 2 (h) | Task 3 (h) |
| 2 | 2021-01-01 | 2          |            |
| 3 | 2021-01-03 |            | 3          |
| 4 | 2021-01-05 |            | 3          |
| 5 | 2021-01-06 |            |            |

第3张

|   | A          | B          | C          | D          |
| - | ---------- | ---------- | ---------- | ---------- |
| 1 | Date       | Task 1 (h) | Task 2 (h) | Task 3 (h) |
| 2 | 2021-01-01 | 1          | 2          |            |
| 3 | 2021-01-02 |            |            |            |
| 4 | 2021-01-03 |            |            | 3          |
| 5 | 2021-01-04 | 1          |            |            |
| 6 | 2021-01-05 |            |            | 3          |
| 7 | 2021-01-06 | 1          |            |            |

上面建议使用数组公式的建议答案比解决简单问题所需要的要复杂得多

搜索有关“索引匹配”函数的教程。这将允许您在拥有完整的键列后执行表联接


要获得完整的键列,请使用函数从两张表中输入A列,以获得唯一的键列表。

上面建议使用数组公式的建议答案远比简单问题所需的复杂

搜索有关“索引匹配”函数的教程。这将允许您在拥有完整的键列后执行表联接


要获得完整的键列,请使用函数从两张表中输入A列,以获得唯一的键列表。

这是否回答了您的问题?也许应该,但我想这会更容易回答你的问题吗?也许应该,但我认为使用这种方法会更容易,Sheet3中的每个所需单元格都需要一个公式,对吗?正确。可以从第一行到整个工作表自动填充公式。使用这种方法,表3中的每个所需单元格都需要一个公式,对吗?正确。可以从第一行到整个工作表自动填充公式。