What can I add to a vlookup formula to give me a 0 not #n/a

G

Guest

When I do a v-lookup formula some results are #n/a, is there another formula
to add to the v-lookup to give me a 0 (zero) instead of the #n/a without
having to change the original formula, because the result may change the next
month if we import data into the data sheet from where the v-lookup formula
is reading.
 
G

Guest

If your original formula is:

=VLOOKUP(K6,$T$3:$X$11,5,0)

change it to:

=IF(ISNA(VLOOKUP(K6,$T$3:$X$11,5,0)),0,VLOOKUP(K6,$T$3:$X$11,5,0))

This will replace any #N/A errors with zero.

Hope this helps
Rowan
 

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