yep :
=if(isna(original formula)=true,0,original formula)
should return 0 if there is an #N/A about to happen
HTH
Chris
For exact match, use:
=IF(COUNTIF(E2:E40),VLOOKUP(A2,E2:G40,2,0),0)
For approximate match, use:
=IF(ISNUMBER(MATCH(A2,E2:E40)),VLOOKUP(A2,E2:G40,2),0)
where A2 is the lookup value and E2:G40 the lookup table. The 0 as the last argument of VLOOKUP is the same as the logical FALSE.
=============
Or you could use the following formula
=if(iserror(vlookup formula),0,(vlookup formula))
Hi Angela,
be mindful when using =iserror just to trap an #N/A "error"
see 14328.htmlthese previous postings about the =iserror function
:-)