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

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

schielrn

Well-known Member
Joined
Apr 4, 2007
Messages
6,941
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?
 

DKRbella0814

Board Regular
Joined
Aug 10, 2008
Messages
155
Neither of those worked. I believe that my formula was written correctly; however, I'm not sure why it is returning the error.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,878
Messages
5,834,200
Members
430,263
Latest member
abz54

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
Top