Vlookup Problems

OliviaGrey

New Member
Joined
May 28, 2018
Messages
4
Hey All

Im using this formula to do a Vlookup =VLOOKUP(A:A,Sheet1!A:G,7,TRUE)

Any product codes that are not numbers show as #N/A but it works when the SKU is just a number.

I have tried formatting the cells as numbers. If its general it just shows 3E+11 everywhere

Any Ideas how I solve this please



[TABLE="width: 921"]
<tbody>[TR]
[TD="class: xl64, width: 181"]SKU[/TD]
[TD="width: 392"]Name[/TD]
[TD="width: 87"]In stock?[/TD]
[TD="width: 87"]Stock[/TD]
[TD="width: 174, colspan: 2"]Backorders allowed?[/TD]
[/TR]
[TR]
[TD="class: xl64"][/TD]
[TD]2PC Chloe Set | Black | Demoniq Lingerie[/TD]
[TD]backorder[/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl64"]DEMKOCHL001L[/TD]
[TD]2PC Chloe Set | Black | Demoniq Lingerie - Large, Black[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="class: xl64"]DEMKOCHL001M[/TD]
[TD]2PC Chloe Set | Black | Demoniq Lingerie - Medium, Black[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="class: xl64"]DEMKOCHL001S[/TD]
[TD]2PC Chloe Set | Black | Demoniq Lingerie - Small, Black[/TD]
[TD]backorder[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="class: xl64"][/TD]
[TD]2PC Chloe Set | White | Demoniq Lingerie[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="class: xl64"]DEMKOCHLP001L[/TD]
[TD]2PC Chloe Set | White | Demoniq Lingerie - Large[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="class: xl64"]DEMKOCHLP001M[/TD]
[TD]2PC Chloe Set | White | Demoniq Lingerie - Medium[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="class: xl64"]DEMKOCHLP001S[/TD]
[TD]2PC Chloe Set | White | Demoniq Lingerie - Small[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="class: xl64"]DEMKOCHLP001[/TD]
[TD]2PC Chloe Set | White | Demoniq Lingerie - XL[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]0[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD="class: xl64, align: right"]700000257026[/TD]
[TD]5 Piece Hogtie Set | Lux Fetish[/TD]
[TD]backorder[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD]In Stock[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
My apology. I got it other way around.

Please use TRUE for approximate lookup (false is for exact lookup).
 
Upvote 0
Please ignore my previous post.

VLOOKUP(A:A,Sheet1!A:G,7,TRUE). it is not right.

Use only one cell reference in first argument (not A: A)which is a whole column). Use A3, A$ etc and with false.


 
Upvote 0
Changed the cell to =VLOOKUP(A11,Sheet1!A:G,7,FALSE) I Get "#N/A"

If I use =VLOOKUP(A11,Sheet1!A:G,7,TRUE) I Get "In Stock" which is what I am looking for.

But this only works on SKU "700000257026" not on any of the others in this format "DEMKOCHL001L"


 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,334
Members
452,636
Latest member
laura12345

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