VLOOKUP deciding to give up the ghost...

rlmays

New Member
Joined
May 3, 2012
Messages
8
I am using VLOOKUP in a large data set, but in a simple VLOOKUP formula.

=vlookup(L:L,U:V,2,false)

L is a column of concatenated part numbers and units of measure: 100009EA, 100009BX, 100009CA for example
U is the same as L and V is a number

My results are like this:

100009EA 1
100009CA #N/A
100009EA 1
100009EA 1

And yes, I have manually checked to make sure the numbers exist for the 100009CA version. It happening to various numbers in various areas on the spreadsheet? Any ideas about what my problem might be?

Thanks, rlmays
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Assuming what sheetspread said is true, and maybe you just mistyped your equation in your question (and you do actually have one cell in the first argument), the issue could be the following.

Quite often, there might be an extra space or some special character at the end of one of your values that is messing things up.

An easy way to tell. If you see one that isn't working, but you think should be. Let's say that you think L2 should matching up to U100. Try this equation:
=L2=U100
If that returns FALSE, then regardless of what you may think, those values are, in fact, NOT equal.

So then you can proceed to check the length of each one:
=LEN(L2)
=LEN(U100)

If those do not return the same number, than one of them has an extra character in there.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,217,364
Messages
6,136,112
Members
449,993
Latest member
Sphere2215

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