Using the VLOOKUP Command

  • Thread starter Thread starter Glen Disteafno
  • Start date Start date
G

Glen Disteafno

Is there a way to not get a #N/A when a lookup in invalid. I would
rather have a -0- appear?
Glen
 
=IF(ISNA(YourFormula),"-0-",YourFormula)

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

| Is there a way to not get a #N/A when a lookup in invalid. I would
| rather have a -0- appear?
| Glen
 
Hi!

One way:

=IF(ISNA(VLOOKUP(A1,B1:C10,2,0)),0,VLOOKUP(A1,B1:C10,2,0))

Biff
 

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