【问题标题】:excel sheets data copy and paste while column header count differsexcel表数据复制和粘贴,而列标题计数不同
【发布时间】:2020-06-05 17:31:20
【问题描述】:

当列标题计数在 2 个工作表之间不同时,如何将记录从一个 Excel 工作表粘贴到另一个工作表。

示例

Sheet1 -> S.No, Name, Age, DOB, etc... up to 150 columns..

Sheet2 -> Name, DOB, Gender, etc.. up to 50 columns..

我的目标是从 sheet1 复制 sheet2 的所有字段记录并将其粘贴到 sheet2 中。有没有什么有效的方法可以实现。提前致谢。

【问题讨论】:

    标签: excel excel-formula excel-2010 excel-2007 spreadsheet


    【解决方案1】:

    您可以在第一个单元格中使用公式=INDEX(Sheet8!$A2:$E2;MATCH(A$1;Sheet8!$A$1:$E$1;0)) 并复制到所有范围,如下图所示:

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-01-17
      相关资源
      最近更新 更多