Returning result as 0 from #N/A

  • Thread starter Thread starter JP1912
  • Start date Start date
J

JP1912

I have created a table, using vlookup, allowing me to copy in phone stats
into an excel spreadsheet, the vlookup formula uses ID's to gather the info,
in situations where the report is missing the ID the cell returns #N/A (no
info error).

Is there any formula that will turn the #N/A into a 0 or blank cell..? I
don't want to macro the sheets for this purpose if possible....

any/ all suggestions welcome..

thanks
 
I have created a table, using vlookup, allowing me to copy in phone stats
into an excel spreadsheet, the vlookup formula uses ID's to gather the info,
in situations where the report is missing the ID the cell returns #N/A (no
info error).

Is there any formula that will turn the #N/A into a 0 or blank cell..?  I
don't want to macro the sheets for this purpose if possible....

any/ all suggestions welcome..

thanks
 
Hi
=IF(ISNA(Vlookup(.....),0,Vlookup(.....))

where Vlookup(.....) is your lookup formula. Will return 0 if lookup
returns #N/A. If you want to return blank, use "" instead of 0.

regards
Paul
 
Thanks Paul, got it sorted now...you learn something new every day...I know
how to "ISNA" now....;o)

cheers again...
 

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