Vlookup Fetching Error #N/A

zaska

Well-known Member
Joined
Oct 24, 2010
Messages
1,046
Hi all ,

I am having problem with vlookup. It is fetching #N/A error eventhough the lookup table matches with most part of the lookupvalue.

I don't know whether if other formulas can be used for this scenario.

I have uploaded the excel sheet here..

http://www.4shared.com/document/99RepnDk/Lookup.html


Thank you for anyhelp.
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Not going to down load

VLOOKUP(lookupvalue, array of values, return column, FALSE=EXACT MATCH, TRUE = CLOSE MATCH as in Help )

Its probably set to FALSE at the moment

Also check for leading and training spaces both in the lookupValue and the array of values

also change one of the array of values so it exactly matches a lookup value just to check the vlookup works!!
 
Upvote 0
Sir,

I tried the following but still the vlookup values are not accurate.

=vlookup(Trim(A2),J:K,2,0)

=Vlookup(--A2,J:K,2,0)

=Vlookup(A2,J:K,2,1)

=Vlooku(Trim(A2,J:K,2,1)

I also tried changing the Lookup table to Proper Case.


None of the above formula's worked for me. The data is accurate only for few cells.

Kindly look at the uploaded worksheet.

Thank you
 
Upvote 0
Sir,

After Using =vlookup(--Trim(A2),J:K,2,0) i got #Value Error and not even a single cell contained the data.

Can i use anyother formulas instead of Vlookup?

Thank you
 
Upvote 0
IF your partial Keys are less than the value appearing in you lookup array then vlookup won't find anything if you just want to get rid of the #N/A's then use

IF(ISNA(VLOOKUP(......)."",VLOOKUP(......))
 
Upvote 0
Sir,

I tried removing the spaces in both lookupvalues and lookuptable and it did work to some extent.

Still i am having errors with few values.

Can i change vlookuformula to look only the first 5 letters of lookupvalue.

Example of one conflict situation.

MothersonSumiSystemsLtd. MothersonSumiSystemsLt

Thank you
 
Upvote 0

Forum statistics

Threads
1,224,525
Messages
6,179,317
Members
452,905
Latest member
deadwings

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