NA -Errors to show 0

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

Guest

Is there a way when you perform a VLook-up and the value is not found that
the formula will produce 0 instead of NA
 
Thank you very much!!

Dave F said:
=IF(ISERROR(VLOOKUP([your vlookup]),0,VLOOKUP([your vlookup]))

Dave
--
Brevity is the soul of wit.


Newbee said:
Is there a way when you perform a VLook-up and the value is not found that
the formula will produce 0 instead of NA
 
Just as long as you know that with ISERROR all errors will return 0, not just
the NA. You may be hiding something you should know about.

The ISNA trap will return 0 for data not found.

=IF(ISNA(VLOOKUP([your vlookup]),0,VLOOKUP([your vlookup]))


Gord Dibben MS Excel MVP


Thank you very much!!

Dave F said:
=IF(ISERROR(VLOOKUP([your vlookup]),0,VLOOKUP([your vlookup]))

Dave
--
Brevity is the soul of wit.


Newbee said:
Is there a way when you perform a VLook-up and the value is not found that
the formula will produce 0 instead of NA
 

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