Make the #N/A invisible

Rizana

Board Regular
Joined
Jul 7, 2006
Messages
105
I have specified some formula in my Excel worksheets. But, when the
cells are empty(with no data), it shows this sign #N/A in the cells.

How could I make it invisible so that when a user print the sheet, it
will only display the cells that contain data and let the cell that contains no data(specified with formula) blank?

Any ideas?
Thanks in advanced.
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
What is the formula that returns #N/A?

BTW, apply AutoFilter that makes records with #N/A invisible before printing.
 
Upvote 0
I used this kind of formula in the cells that returns the #N/A if there are no corresponding data for the cells :

='PCR-Master'!D43
 
Upvote 0
Good morning Rizana

If there is no corresponding data, would the formula not just return 0?
Anyway, try this :

=IF(ISERROR('PCR-Master'!D43)=TRUE,0,'PCR-Master'!D43)

This would return 0 rather than an error.

HTH

DominicB
 
Upvote 0
Redundancy in formula. Use this:

=IF(ISERROR('PCR-Master'!D43),0,'PCR-Master'!D43)
 
Upvote 0
Hello everybody,

Thank you soo much for the ideas. Now, I learnt that there are many ways for me to solve the problems.

Thanks a lot.

Regards,
Rizana
 
Upvote 0
word of caution re use of iserror() - it masks errors due to faulty formula construction, not just error returns from the data:

=IF(ISERROR('PCR-Master'43),0,'PCR-Master'!D43)

...is not an error you'd want to mask...in general, better to check directly for the source of the error if you can...
 
Upvote 0

Forum statistics

Threads
1,214,897
Messages
6,122,148
Members
449,066
Latest member
Andyg666

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top