Help with Error

DKRbella0814

Board Regular
Joined
Aug 10, 2008
Messages
155
column M = PO or Standard

=IF(J2="","LT","PO")

column N = PO or Lead Time (Days)

=IF(OR(L2="lt",L2="po",VLOOKUP(B2,'Vendor List'!$A$4:$D$73,4,FALSE),"PO")

Please help me figure out why col N is returning a #N/A error; the lookup value is in the lookup table in the exact format as in B2...I can't figure this out. Maybe a formatting issue?
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Do either of these work?

=IF(OR(L2="lt",L2="po",VLOOKUP(B2+0,'Vendor List'!$A$4:$D$73,4,FALSE),"PO")

or:

=IF(OR(L2="lt",L2="po",VLOOKUP(B2&"",'Vendor List'!$A$4:$D$73,4,FALSE),"PO")

What is the value in B2?
 
Upvote 0
Neither of those worked. I believe that my formula was written correctly; however, I'm not sure why it is returning the error.
 
Upvote 0

Forum statistics

Threads
1,215,528
Messages
6,125,342
Members
449,218
Latest member
Excel Master

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