however it is better to only conduct the MATCH element rather than repeat the entire VLOOKUP, eg:

=IF(ISNA(MATCH(lookup_value,lookup_array,0)),0,VLOOKUP(criteria,table_array,col_index_num,range_lookup))