G Guest Aug 31, 2006 #1 if a vlookup returns "#n/a" how can I make that cell show a zero instead of an "n/a" but return a value when it is not n/a?
if a vlookup returns "#n/a" how can I make that cell show a zero instead of an "n/a" but return a value when it is not n/a?
G Guest Aug 31, 2006 #3 IF(ISNA(VLOOKUP(......)),0,VLOOKUP(....)) IF vlookup returns #N/A, THEN 0, ELSE do the vlookup and return its value. Dave
IF(ISNA(VLOOKUP(......)),0,VLOOKUP(....)) IF vlookup returns #N/A, THEN 0, ELSE do the vlookup and return its value. Dave
C Cynthia Jan 21, 2008 #4 Is it possible to add or sum up two or more of these vlookup values? If yes, can you tell me how? Thanks!
Is it possible to add or sum up two or more of these vlookup values? If yes, can you tell me how? Thanks!
D David Biddulph Jan 21, 2008 #5 If you want to add the results of 2 lookups, then use =VLOOKUP(first_lookup_formula)+VLOOKUP(second_lookup_formula) If you want to trap for NA() in each as shown below, then use =IF(first_if_formula)+IF(second_if_formula)
If you want to add the results of 2 lookups, then use =VLOOKUP(first_lookup_formula)+VLOOKUP(second_lookup_formula) If you want to trap for NA() in each as shown below, then use =IF(first_if_formula)+IF(second_if_formula)