Vlookup

G

Gaffnr

Yes. Do:

=IF(ISERROR(VLOOKUP(A1,RANGE,2,0)=TRUE),0,VLOOKUP(A1,RANGE,2,0))

Where RANGE is of course your vlookup reference point and A1 is cell to
lookup.
Good luck
 
J

Jacob Skaria

=IF(ISERROR(VLOOKUP),0,VLOOKUP) will return 0
=IF(ISERROR(VLOOKUP),"",VLOOKUP) will return blank

VLOOKUP(<lookup>,<range>,<column>,FALSE)

If this post helps click Yes
 
M

Max

You could use ISNA to trap just #N/A errors, eg:
=IF(ISNA(Vlookup),0,Vlookup)

Above presumes you wish to be kept informed should errors other than #N/A
arise
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:370 Subscribers:68
xdemechanik
 
D

David Biddulph

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top