VLOOKUP displaying "NO ANSWER" instead of "0"

K

ksean

When using this formula everything works great as long as an answer can be
found but when an answer can't be found the answer displays as a "0". What do
I have to add to the formula to get it to display a "No Answer" when the
answer can't be found?

=IF(ISERROR(VLOOKUP(B3,Master!$A$3:$O$4180,2,FALSE)),IF(ISERROR(VLOOKUP(B3,Master!$E$3:$O$4180,2,FALSE)),IF(ISERROR(VLOOKUP(B3,Master!$I$3:$O$4180,2,FALSE)),VLOOKUP(B3,Master!$I$3:$O$4180,2,FALSE)),VLOOKUP(B3,Master!$E$3:$O$4180,2,FALSE)),VLOOKUP(B3,Master!$A$3:$O$4180,2,FALSE))


Thanks
Ksean
 
K

ksean

The source cell was totall empty, once something was put in it the formula
returned the "NO ANSWER" just as I wanted it to.
 
F

Fred Smith

To display "No answer" when the lookup value is not found, do it this way:
=if(isna(vlookup(...)),"No answer",vlookup(...))

Regards,
Fred.
 

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