vlookup question

  • Thread starter Thread starter Gus
  • Start date Start date
G

Gus

When I get a #N/A return from a vlookup, how can I change that to a
statement like "Sorry"?
Thanks in advance
Gus
 
Try it like this:

=IF(ISNA(VLOOKUP(........)),"Sorry",VLOOKUP(.........))
 
Using If() and ISNA():

=IF(ISNA(VLOOKUP(A8,B2:C6,2,0)),"Sorry, I can't do that",LOOKUP(A8,B2:C6,2))
 

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

Back
Top