Index/match, return value - I think!

chally3

Board Regular
Joined
Mar 22, 2006
Messages
155
Good afternoon all,

Can anyone please help with the following, I think its an ‘index/match’ formula – but I cannot understand any guides I can find online and it’s beyond a simple vlookup.

I have sheets 1 in the same workbook,

What I am trying to do is return a value in column C from sheet 2, in sheet 1 but only if the cell values in sheet 1 match in columns A & B

Sheet 1
Column A Column B Column C
Part No Vendor No ‘return value from sheet 2”


Sheet 2
Column A Column B Column C
Part No Vendor No Country of Origin ie UK,USA,CHINA and so on



Sheet 1 will only have 1 supplier and vendor number, whereas sheet 2 can have multiples of the same part number but different vendor numbers
And I want to return the value found in column C found in sheet 2 if columns A&B match.


Hope this explains it well enough ?
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
How about
=INDEX(Sheet2!C2:C100,MATCH(A2&"|"&B2,INDEX(Sheet2!A2:A100&"|"&Sheet2!B2:B100,0),0))
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,214,599
Messages
6,120,448
Members
448,966
Latest member
DannyC96

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