Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vlookup - sorry!

Status
Not open for further replies.

stoke

IS-IT--Management
Apr 15, 2003
50
AU
sure you guys must be tired of these:

i have data in a range - b2:10
with corresponding data alongsisde c2:c10
in f2 i have data that i want to lookup in b2:10 and return the corresponding data from c2:c10 into g2

i have:
=VLOOKUP(F2,B2:B10,2,FALSE)
and get #N/A

clearly i'm doing something wrong, but thought i'd followed the guidelines........

Thanks all,

 
Solved guys,
i realised that it was recognizing the data, as it was imported and p'prefixed by '.
Data cleansed it works a treat.
 

Stoke,

You could also anticipate getting any further #N/A error values by using something like this:-

=IF(ISNA(VLOOKUP(F2,B2:C10,2,FALSE)),"No Match",VLOOKUP(F2,B2:C10,2,FALSE))

It looks a bit tidier if there is no match.

Regards,


mudstuffin.
 
Excellent, Thanks mudstuffin.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top