Make #N/A blank if no value is returned

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

Guest

Using VLOOKUP some of my values are #N/A. The formula I am using is:

=VLOOKUP(1,$X$10:$Z$17,3,FALSE)

If the value returned is #N/A how can I make it display blank or null?
 
you can also use conditional formatting in the spreadsheet..
use the formula =iserror(ref) where ref is the reference to the cells in the
worksheet. With this, use the formatting as text color white. You can
actually apply this to the entire worksheet and not just for the specific
#N/A cells. it would work coz the formula and formatting would make the cells
having #N/A blank.
 
You've probably already had your answer to this, as Google Groups
hasn't updated since about 2pm yesterday, but in case you haven't then
try this:

=IF(ISNA(VLOOKUP(1,$X$10:$Z$17,3,FALSE)),"",VLOOKUP(1,$X$10:$Z
$17,3,FALSE))

Hope this helps.

Pete
 
Using VLOOKUP some of my values are #N/A. The formula I am using is:

=VLOOKUP(1,$X$10:$Z$17,3,FALSE)

If the value returned is #N/A how can I make it display blank or null?


Try

=If(Countif($X$10:$X$17,1)>0,Vlookup(1,$X$10:$Z$17,3,FALSE),"")

Enter
 
Babs

One way is:

=if(VLOOKUP(1,$X$10:$Z$17,1)=1,=VLOOKUP(1,$X$10:$Z$17,3) ,"")

Good luck.

Ken
Norfolk, Va
 
Using VLOOKUP some of my values are #N/A. The formula I am using is:

=VLOOKUP(1,$X$10:$Z$17,3,FALSE)

If the value returned is #N/A how can I make it display blank or null?


Try this:

=IF(ISNA(VLOOKUP(1,$A$10:$C$17,3,FALSE))," ",VLOOKUP(1,$A$10:$C
$17,3,FALSE))

Allan Rogg
 
Try this (not tested):

=IF(ISNA(VLOOKUP(1,$X$10:$Z$17,3,FALSE)),"",VLOOKUP(1,$X$10:$Z
$17,3,FALSE))

Mark Lincoln
 
You could try

isna(vlookup....)

or

iserror(vlookup...) for including other errors such as #REF!
 
the easiest way is =
if(iserror(VLOOKUP(1,$X$10:$Z$17,3,FALSE)),"",(VLOOKUP(1,$X$10:$Z$17,3,FALSE))

This way a "blank" is displayed
 

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