View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default If condition not met get #N/A

Try.

=IF(ISNA(<formula)=TRUE,"",<formula)
--
If this post helps click Yes
---------------
Jacob Skaria


"Cefoxtrot" wrote:

Using the VLOOKUP function to merge data from two worksheets:
=vlookup(A2,sheet1!$A$2:$M$3000,13,FALSE)

It works fine, except that when there is no match, I get a #N/A on each as
the result. Is there a way to prevent the '#N/A' from displaying? Or replace
it blanks?

Thanks!
Cefoxtrot