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

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
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,925
Messages
6,122,303
Members
449,078
Latest member
nonnakkong

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