Compare and Merge Specific Values

sarahmoa

New Member
Joined
Jun 5, 2016
Messages
16
I'm working on 2 spreadsheets that are driving me nuts. I know there are compare/merge functions in Excel, but I can't get the options to share/merge options at all (all grayed out). I'm attempting to get the data by a formula instead. I basically have 2 versions of the spreadsheets, but not everything is in the same row - the old data has a lot more information than the new data. I basically need to match up the item numbers for both columns, and pull the Legacy Code to the New Code column if it exists. If there is some formatting option to identify the ones pulled over, that would be even better.Below is a simplified version of the spreadsheet, but the original has almost 3000 lines.

I've attempted to use Match and INDEX functions, but I must be doing something wrong.

=INDEX(A3:C2693,MATCH(E3,A3:A2693,0),3)

Any help would be greatly appreciated!

ABCDEFG
Legacy Item #Legacy DescriptionLegacy CodeNew Item #New DescriptionNew Code
1AppleA1001AppleA100
2Orange3Pear
3PearA1025Banana
4GrapesA1036PlumA109
5BananaA1047CherryA110
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Hey

This formula should work for you. In the New Worksheet, use this formula and replace Sheet4 with the Legacy Worksheet. Or in the Legacy Worksheet, replace Sheet4 with the New Worksheet.

ss4.PNG
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,732
Members
448,987
Latest member
marion_davis

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top