我是一名会计师,有两张不同的和/或相同的账户表。我需要将所有这些合并为一个总列表(有些在两个表中,但有些只在一个表中)- 我vlookup
试过了 - 我可以看到缺少什么 - 但如何合并?
sheet 1: sheet2:
51100 Employee Salaries 41000 Purchase of Services
51100 Employee Salaries Total 41000 Purchase of Services Total
51110 Employee Salaries, Accrual 51100 Employee Salaries
51110 Employee Salaries, Accrual Total 51110 Employee Salaries, Accrual Total
52100 Overtime Pay
52100 Overtime Pay Total
我想合并它们,但不要有重复项。因此,将 2 合并在一起将得到:
41000 Purchase of Services
41000 Purchase of Services Total
51100 Employee Salaries
51100 Employee Salaries //should not exist as it's a duplicate
51100 Employee Salaries Total
51110 Employee Salaries, Accrual
51110 Employee Salaries, Accrual Total
51110 Employee Salaries, Accrual Total //should not exist as it's a duplicate
52100 Overtime Pay
52100 Overtime Pay Total
答案1
根据您执行此操作的频率以及所涉及的工作量,您可以复制每组数据并将它们粘贴到彼此下面以创建一个大列表,其中也充满重复项。
然后,点击“数据”选项卡,突出显示整个列表并选择“删除重复项”。然后,在列表仍然突出显示的情况下对其进行排序(见下图)
请注意,当您有多列数据时这也应该有效(大多数情况下)