replacing #NA with 0

  • Thread starter Thread starter blakcat
  • Start date Start date
B

blakcat

Hello everyone,does anyone know how to replace the #NA with 0 in
Vlookup function. So that when the numbers don't match 0 replaces th
#NA symbol in the column so that the numbers are easier to add up
 
Hi
Use ISNA(Value) e.g.:
=IF(ISNA(VLOOKUP(A1,A1:F50,2,FALSE)),0,VLOOKUP(A1,A1:F50,2,FALSE))

HTh
Cordially
Pascal
 

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

Back
Top