Error in vlookup formula

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

Guest

Hi,
I use the following formula on one of my spreadsheets
=VLOOKUP(C24,Input!$K$17:$R$1000,8,FALSE) but it returns a #N/A error
message. I want to change the formula that it displays a 0 (zero) instead of
#N/A. I thought of including an ISERROR statement but the formula keeps
returning the error message.

Can somebody please help?

Thanks

Minos
 
Minos said:
Hi,
I use the following formula on one of my spreadsheets
=VLOOKUP(C24,Input!$K$17:$R$1000,8,FALSE) but it returns a #N/A error
message. I want to change the formula that it displays a 0 (zero)
instead of #N/A. I thought of including an ISERROR statement but the
formula keeps returning the error message.

Can somebody please help?

Thanks

Minos

Hi Minos,

this will show you 0 instead of #N/A:

=IF(ISNA(VLOOKUP(C24,Input!$K$17:$R$1000,8,FALSE)),0,VLOOKUP(C24,Input!$K$17:$R$1000,8,FALSE))

this will show you a blank instead of #N/A:

=IF(ISNA(VLOOKUP(C24,Input!$K$17:$R$1000,8,FALSE)),"",VLOOKUP(C24,Input!$K$17:$R$1000,8,FALSE))

--
Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy
 
try following function.

=IF(ISNA(VLOOKUP(C24,Input!$K$17:$R$1000,8,FALSE)),0,VLOOKUP(C24,Input!$K$17:$R$1000,8,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

Back
Top