我是一名會計師,有兩張不同和/或相同帳戶的不同表格。我需要從所有這些中合併一個總列表(有些帳戶在兩個帳戶中,但有些帳戶僅在一個帳戶中) -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
根據您執行此操作的頻率以及涉及的工作量,您可以複製每組資料並將它們貼上到彼此下面,以建立包含重複項的大列表。
然後,按一下“資料”選項卡,突出顯示整個清單並選擇“刪除重複”。然後,在清單仍然突出顯示的情況下,對其進行排序(見下圖)
請注意,這也應該適用於多列中有資料的情況(在大多數情況下)