Vlookup Issue

babypink

Board Regular
Joined
Oct 10, 2007
Messages
81
I have the following table error

Qty Type Code List Price Sub Total Line Total
1 8 tier Special #N/A #N/A #N/A #N/A

It should read

1 8 tier Special A101001 £20.00 £40.00 £32.00

Under type my formula is =IF(B15="","",VLOOKUP(B15,picklist,2) )

My data table looks like

Type Code RRP

8 tier super A011001 £262.65
8 tier super 24hr A071019 £304.25
8 tier super 48hr A021002 £335.00

How come I am getting the #NA

Ta
 

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.
Because the 8 is not an index. You won't get the right data. You need an index in your lookup table, and that table has be sorted Ascending as well.
 
Upvote 0

Forum statistics

Threads
1,216,330
Messages
6,130,073
Members
449,556
Latest member
Sergiusz

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