Vlookup

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?
 
P

Pete McCosh

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
 

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