would like to substitute and return value of 0 for vlookup #N/A er

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to return the value of 0 when the vlookup would otherwise return
the error #N/A - any suggestions?
 
You could try this:

=IF(ISNA(VLOOKUP(...)),0,VLOOKUP(...))

Basically, if your VLOOKUP returns the N/A error, then a 0 will be
displayed, otherwise, show the results of your VLOOKUP.

HTH,
Elkar
 
I am not quite sure how to reply - but these postings did exactly what I
needed - thanks.
 

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