Replace #N/A with 0

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to replace the #N/A that I get in a VLOOKUP with a zero so that I
can use the result in a Multiplication formula. I've tried using this
formula as directed in several other posts but it doesn't seem to work:
=if(iserror(VLOOKUP(B10;'Item List With
Costs'!$A$2:$M$1247;11;FALSE),0,VLOOKUP(B10;'Item List With
Costs'!$A$2:$M$1247;11;FALSE))

Can someone see what I'm doing wrong?
 
Hi
wrong parentheses. Try:
=if(iserror(VLOOKUP(B10;'Item List With
Costs'!$A$2:$M$1247;11;FALSE)),0,VLOOKUP(B10;'Item List With
Costs'!$A$2:$M$1247;11;FALSE))
 
Other possibilities might be found if you look under help for 'Correct a #N/A
Error'.
 
Thanks - This was part of my problem but it still didn't work. I discovered
that it will work if I replace the commas around the zero with semi-colons -
,0, replaced by ;0;
This combination of corrections solved my problem. Thanks to all that
responded!
 
Try this:
=if(iserror(VLOOKUP(B10;'Item List With
Costs'!$A$2:$M$1247;11;FALSE))=true,0,VLOOKUP(B10;'Item List With
Costs'!$A$2:$M$1247;11;FALSE))
 

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

Similar Threads

Replace #N/A with 0 1
Excel Vlookup Help 0
Multiple VLOOKUPS 4
VLOOKUP - 0 instead of # N/A 8
Return 0 instead of #n/a 1
VLOOKUP returning #N/A result 2
VLookup Formula 5
If condition not met get #N/A 5

Back
Top