Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / October 2006

Tip: Looking for answers? Try searching our database.

Make the #N/A sign invisible

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rixanna - 17 Oct 2006 02:03 GMT
I've developed a simple program using Microsoft Excel and Visual Basic
Editor. In the worksheet, I have specified 10 cells according to their
own formula. All the cells contain #N/A sign as to show that the cells
contain their own formula ( I guess!)

After executing the program only 6 cells were automatically fill-in
with data. What can I do if I want the program to consider the other 4
cells as empty? (eventhough they actually have formulas)

This is because I want the program to automatically hide the empty
cells.(cells with no data)

Anyone can help me?
Thank you in advanced
Ron Rosenfeld - 17 Oct 2006 02:17 GMT
>I've developed a simple program using Microsoft Excel and Visual Basic
>Editor. In the worksheet, I have specified 10 cells according to their
[quoted text clipped - 10 lines]
>Anyone can help me?
>Thank you in advanced

You could use conditional formatting:

Select the cells
Format/Condtional Formatting
Formula Is:  =ISNA(cell_ref)
Format
 Font
 Color -- select same color as the cell background (e.g. white)

--ron
Nick Hodge - 17 Oct 2006 07:24 GMT
Rixanna

The standard convention would be to wrap the formula to trap the error.  If
it is always #N/A then you can use ISNA. e.g

=IF(ISNA('YourFormula'),"",'YourFormula')

This will return a 'blank' cell if the result of your formula is #N/A

The other functions in this error 'group' are

ISERR - handles all errors BAR #N/A
ISNA - handles #N/A errors
ISERROR - handles ALL errors

Signature

HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England

nick_hodgeTAKETHISOUT@zen.co.uk.ANDTHIS
www.nickhodge.co.uk

> I've developed a simple program using Microsoft Excel and Visual Basic
> Editor. In the worksheet, I have specified 10 cells according to their
[quoted text clipped - 10 lines]
> Anyone can help me?
> Thank you in advanced
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.