Match two different columns in two worksheets then return value

Clarka75

New Member
Joined
Apr 3, 2011
Messages
4
Hi all. I need some help with either a formula or Macro/VBA. I am working in one workbook with two different sheets. I want to compare sheet2 to sheet1. The data in sheet2 is located in column B and the data in sheet1 is located anywhere in column K. When a match is found, I want data from sheet2 column J:M to auto populate to sheet1 in columns S:V.

I have searched and searched but can't find what I am looking for. I appreciate any help that anyone can give.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Hi all. I need some help with either a formula or Macro/VBA. I am working in one workbook with two different sheets. I want to compare sheet2 to sheet1. The data in sheet2 is located in column B and the data in sheet1 is located anywhere in column K. When a match is found, I want data from sheet2 column J:M to auto populate to sheet1 in columns S:V.

I have searched and searched but can't find what I am looking for. I appreciate any help that anyone can give.

You seem to have items in column K on Sheet1 that you want to match against column B on Sheet2...

L2, Sheet1

=MATCH(K2,Sheet2!$B$2:$B$400,0)

S2, copy across to V2 and down:

=IF(ISNUMBER($L2),INDEX(Sheet2!J$2:J$400,$L2),"")
 
Upvote 0

Forum statistics

Threads
1,214,584
Messages
6,120,384
Members
448,956
Latest member
JPav

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