ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   compare and merge data (https://www.excelbanter.com/excel-worksheet-functions/76941-compare-merge-data.html)

tourmaline

compare and merge data
 
For the life of me I cannot figure this one out... I have two seperate
worksheets. Worksheet 1 has 3 columns (Column A: old-Acct, Column B:
new-Acct, Column C: Index); Worksheet 2 has 2 colums (Column A: old-Acct,
Column B: Index). I would like to merge data from both into one. If wk1
Column A: old-Acct = wk2 Column B: old-Acct then place wk2 Column B: index in
wk1 Column C: index and if Wk2 Column A: old-Acct does not exist in wk1
Column A: old-Acct; then place wk2 Column A: old-Acct in wk1 Column A:
old-Acct and place (same row) wk2 Column B: index in wk1 Column C: index.

I hope this makes sense and thanks in advance for the help!


All times are GMT +1. The time now is 04:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com