Weird VLOOKUP issue

zerovector

New Member
Joined
Mar 29, 2006
Messages
8
Hello,

I was wondering why Vlookup would be returning a value when the value does not exist in another table, and I have the Range_Lookup set to 0 (or false).

The value I am looking up is


579190*202

This value does NOT exist in the table (I want it to return N/A)

The value it keeps looking up is:

579190*1202 2.98

Does this have to do with the lookup index being a text value? Does the Range_Lookup not trigger on text values?


When I change the lookup key to

579190202

The value it returns is:

#N/A



Is this normal? Thanks so much :)
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
The * is a wildcard in VLOOKUP. To find an actual * you need to precede it with a tilde, eg:

=VLOOKUP(SUBSTITUTE(A1,"*","~*"),C:C,1,0)
 

zerovector

New Member
Joined
Mar 29, 2006
Messages
8
The * is a wildcard in VLOOKUP. To find an actual * you need to precede it with a tilde, eg:

=VLOOKUP(SUBSTITUTE(A1,"*","~*"),C:C,1,0)

Thank you. I thought it was something along those lines.
 

Forum statistics

Threads
1,141,098
Messages
5,704,319
Members
421,338
Latest member
Pepess

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