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?
 

Some videos you may like

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

schielrn

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

Watch MrExcel Video

Forum statistics

Threads
1,122,719
Messages
5,597,736
Members
414,170
Latest member
Mdm

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