Vlookup for mutiple criteria

jo.stanley

Board Regular
Joined
Apr 13, 2004
Messages
177
I have two sheets for ease lets say they are called Master Data and Sup

All the data is on the Master Data Sheet so its here I want to find the values to return to Sheet Sup

I need to find out a supplier if 3 columns of criteria match on both sheets and then return the unique value on Master Data Sheet to Sup Sheet

Here are the references

Master Data A1 = BF Sup A1 =BF
Master Data B1 = TP Sup B1 = TP
Master Data T1 = Reason Sup D1 = Reason

Master Data C1 = Supplier and this is the information I am trying to find out if all the above match (These are unique and will not be more than one possible result)
 

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.
Try this

=LOOKUP(2,1/(('Master Data'!$A$1:$A$1000=A1)*('Master Data'!$B$1:$B$1000=B1)*('Master Data'!$T$1:$T$1000=D1)),'Master Data'!$C$1:$C$1000)

Change ranges to suit but make sure they are the same length if you do.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,876
Members
452,363
Latest member
merico17

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