Vlookup with Multiple criteria in different columns

dgross

New Member
Joined
Apr 20, 2015
Messages
3
Item #Manu #Vendor #New #
46118

<tbody>
</tbody>
1650

<tbody>
</tbody>
3963-535

<tbody>
</tbody>
46973

<tbody>
</tbody>
0531005FG
07-397-6396

<tbody>
</tbody>
2540-145

<tbody>
</tbody>

<tbody>
</tbody>
07-090-0035

<tbody>
</tbody>
4779-073

<tbody>
</tbody>

<tbody>
</tbody>
I need to pull the "new #" based on either getting a match from columns A through C. I would like to use a vlookup that says if there is an item # give me the new # but if there is no item # in the column then find the Manu # and give me the new # and if there is no manu # then match the vendor # for the new #. I already created this formula:
=IF(IFERROR((VLOOKUP(A2,Sheet2!$A:$D,4,FALSE)),(VLOOKUP(B2,Sheet2!$A:$D,4,FALSE)))=0,"",IFERROR((VLOOKUP(A2,Sheet2!$A:$D,4,FALSE)),(VLOOKUP(B2,Sheet2!$A:$D,4,FALSE))))

How can I add in a vlookup for C2?
Sorry for the format but I didn't know how to copy and paste in my excel
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Try it with just iferrors
=IFERROR(VLOOKUP(A2,Sheet2!$A:$D,4,FALSE),IFERROR(VLOOKUP(B2,Sheet2!$A:$D,4,FALSE),VLOOKUP(C2,Sheet2!$A:$D,4,FALSE)))
 
Upvote 0
Perfect, thats a much simpler way to do it!!!!:)

Where in the formula can I add that if it comes up to #N/A so leave it blank?
 
Upvote 0
Never-mind i just added another IFERROR instead of just a regular Vlookup on the last part
 
Upvote 0
You're welcome and thats what i was about say

=iferror(IFERROR(VLOOKUP(A2,Sheet2!$A:$D,4,FALSE),IFERROR(VLOOKUP(B2,Sheet2!$A:$D,4,FALSE),VLOOKUP(C2,Sheet2!$A:$D,4,FALSE))),"")
 
Upvote 0

Forum statistics

Threads
1,214,878
Messages
6,122,062
Members
449,064
Latest member
scottdog129

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