would like to substitute and return value of 0 for vlookup #N/A er

E

egols

I would like to return the value of 0 when the vlookup would otherwise return
the error #N/A - any suggestions?
 
E

Elkar

You could try this:

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

Basically, if your VLOOKUP returns the N/A error, then a 0 will be
displayed, otherwise, show the results of your VLOOKUP.

HTH,
Elkar
 
E

egols

I am not quite sure how to reply - but these postings did exactly what I
needed - thanks.
 
Top