gpt4 book ai didi

excel - 动态将两张纸合二为一

转载 作者:行者123 更新时间:2023-12-04 21:11:28 25 4
gpt4 key购买 nike

我有一个类似的问题:Combine 2 Excel tables into one appending the data?
如果我有以下 2 个工作表:
enter image description here
enter image description here
我想要第三张纸,如下所示:
enter image description here
如何从原来的两个工作表创建第三个工作表?如果我在前两个工作表之一中添加一行,第三个工作表会自动更新吗?

最佳答案

对两张纸执行以下步骤。

  • 在其中一列中选择一个值。
  • 转到数据选项卡并选择 From Table在获取和转换组中。单击确定。
  • 在查询编辑器中选择 Close & Load to从“主页”选项卡上的“关闭并加载”下拉菜单中。在加载到对话框中选择 Only Create Connection并单击加载。

  • 对两个工作表执行此操作后,您现在应该在“工作簿查询” Pane 中看到以下两个查询。

    enter image description here
  • 右键单击 Table1 查询并选择追加。在底部下拉框中选择 Table2。单击确定。
  • 在查询编辑器中单击关闭并加载(图标,而不是下拉菜单)。

  • 你现在有了你想要的 table 。将行添加到 Table1 和/或 Table2 后,新表 Append1 将在您单击数据选项卡上的刷新按钮时更新。

    enter image description here

    关于excel - 动态将两张纸合二为一,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53089536/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com