View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default how to remove #n/a error in excel vlookup b/c value is not found?

Try one of these:

Returns a blank:

=IF(ISNA(VLOOKUP(.....)),"",VLOOKUP(.....))

Returns a 0:

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

--
Biff
Microsoft Excel MVP


"B. Franklin Saunders" <B. Franklin
wrote in message ...
I'm using vlookup in excel to pull select data from a worksheet. The
problem
is that the value I'm seeking isn't always in the table array. So, I get
a
#n/a error. The #n/a then prevents me from summing the data that I'm
collecting using the vlookup. How do I make the #n/a go away or equal
zero
so I can sum the data?