View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Sam Wilson Sam Wilson is offline
external usenet poster
 
Posts: 523
Default Returning result as 0 from #N/A

Rather than use =VLOOKUP(...)

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

"JP1912" wrote:

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
--
JP1912