how do i get exact matches in a vlookup fomrula

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

in my vlookup formula, I am finding values that shouldn't have values are
returning the value for the closest match.
 
Set the 4th argument to FALSE or 0:

=VLOOKUP(A1,B1:C10,2,FALSE)

=VLOOKUP(A1,B1:C10,2,0)

Biff
 
That worked great! Thanks. I am now receiving #N/A where there are no values.
How can I force the N/A to 0???
 
=if(iserror(vlookup(...)),0,vlookup(...))

If you're using xl2007:
=iferror(vlookup(...),0)
 
Back
Top