Vlookup

  • Thread starter Thread starter NCMIKE
  • Start date Start date
N

NCMIKE

How can I return a value of zero using a VLOOKUP function instead of
#N/A if the formula doesn't find a value?
 
Enclose it in an If.. function to trap the error:

=Vlookup(a1,a3:D10,2,false)

becomes

=if(iserror(Vlookup(a1,a3:D10,2,false)),0,Vlookup
(a1,a3:D10,2,false))

Cheers, Pete
 
Back
Top