Hide the contents of cell

C

Canon

Excel 2007
I am using the following formula;
=VLOOKUP(C14,Sheet2!$A$1:$C$295,3,FALSE)
but I do not want #N/A to show up in the unused cells - can i hide this?
 
J

Jacob Skaria

Use ISNA() or ISERROR()

=IF(ISNA(formula),"",formula)

=IF(ISNA(VLOOKUP(C14,Sheet2!$A$1:$C$295,3,FALSE)),"",VLOOKUP(C14,Sheet2!$A$1:$C$295,3,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


Top