Eliminate #n/a result in a vlookup?

J

Joy Manning

Hi all,

Just wondering if there is a workaround for a vlookup
function to return a null (0) value if its result is
invalid "#N/A". Is there an ISERR function? Any light
you can shed would be fantastic :)
 
R

RagDyer

Same question as the next post, so ... same answer.

However, you can replace the [ "" ] just before the VLOOKUP portion with a
zero (0) if you wish.

=IF(ISNA(MATCH(D2,A2:A100,0)),"",VLOOKUP(D2,A2:C100,3,0))
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


Hi all,

Just wondering if there is a workaround for a vlookup
function to return a null (0) value if its result is
invalid "#N/A". Is there an ISERR function? Any light
you can shed would be fantastic :)
 

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