ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   NA -Errors to show 0 (https://www.excelbanter.com/excel-discussion-misc-queries/128347-na-errors-show-0-a.html)

Newbee

NA -Errors to show 0
 
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

Dave F

NA -Errors to show 0
 
=IF(ISERROR(VLOOKUP([your vlookup]),0,VLOOKUP([your vlookup]))

Dave
--
Brevity is the soul of wit.


"Newbee" wrote:

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


driller

NA -Errors to show 0
 
hello
=if(isna("yourVlookup_formula"),0,("yourVlookup_fo rmula"))

--
*****
birds of the same feather flock together..



"Newbee" wrote:

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


Newbee

NA -Errors to show 0
 
Thank you very much!!

"Dave F" wrote:

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

Dave
--
Brevity is the soul of wit.


"Newbee" wrote:

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


Gord Dibben

NA -Errors to show 0
 
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


On Tue, 30 Jan 2007 09:15:01 -0800, Newbee
wrote:

Thank you very much!!

"Dave F" wrote:

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

Dave
--
Brevity is the soul of wit.


"Newbee" wrote:

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




All times are GMT +1. The time now is 07:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com