ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Making N/A become a zero (https://www.excelbanter.com/excel-worksheet-functions/77876-making-n-become-zero.html)

Jaye

Making N/A become a zero
 
If I do a VLOOKUP and the resulting answer is #N/A, how can I get the result
to show as a zero (0) instead?

CarlosAntenna

Making N/A become a zero
 
=IF(ISNA("your vlookup here"),0,"your vlookup here")
or
=IF(ISERROR("your vlookup here"),0,"your vlookup here")

--
Carlos

"Jaye" wrote in message
...
If I do a VLOOKUP and the resulting answer is #N/A, how can I get the

result
to show as a zero (0) instead?




CLR

Making N/A become a zero
 
You can wrap your VLOOKUP formula in an IF statement, like.....

=IF(ISNA(YourVlookupFormula),0,YourVlookupFormula)

Vaya con Dios,
Chuck, CABGx3



"Jaye" wrote:

If I do a VLOOKUP and the resulting answer is #N/A, how can I get the result
to show as a zero (0) instead?


Biff

Making N/A become a zero
 
Hi!

Try this:

=IF(ISNA(your_vlookup_here)),0,your_vlookup_here))

Biff

"Jaye" wrote in message
...
If I do a VLOOKUP and the resulting answer is #N/A, how can I get the
result
to show as a zero (0) instead?




Jaye

Making N/A become a zero
 
Hi, Chuck!! Thanks for your help. Worked perfectly.

"CLR" wrote:

You can wrap your VLOOKUP formula in an IF statement, like.....

=IF(ISNA(YourVlookupFormula),0,YourVlookupFormula)

Vaya con Dios,
Chuck, CABGx3



"Jaye" wrote:

If I do a VLOOKUP and the resulting answer is #N/A, how can I get the result
to show as a zero (0) instead?



All times are GMT +1. The time now is 10:20 AM.

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