Index/match, return value - I think!

chally3

Board Regular
Joined
Mar 22, 2006
Messages
157
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

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
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,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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