Help With Excel #N/A

G

Guest

I have a lookup that is as follows:
=vlookup(vlookup($B6,Analyst,11),Markit,3,False) This lookup goes out to a
sheet to match a ticker symbol and then goes to another sheet to get what I
want. Sometimes, I get #N/A errors which I expect. However, how do I add
the isna function to my lookup so that when I encounter a #N/A it is
converted to say a hyphen like this - Thanks.
 
P

PCLIVE

Maybe one way:

=IF(ISERROR(VLOOKUP(VLOOKUP($B6,Analyst,11),Markit,3)),
"-",VLOOKUP(VLOOKUP($B6,Analyst,11),Markit,3,FALSE))

HTH,
Paul
 
G

Guest

That worked. I just had to add an extra False in their and it worked. THANK
YOU SO MUCH!!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top