Print blank cell if formula is an error

WLHagen

Board Regular
Joined
Sep 18, 2009
Messages
177
Hi all! I'm using Excel 2007. I know when I had Excel 2003, there was a program setting that I saw in a magazine that could do this (and I did!), but I can't find it in the 2007 version!

I have a spreadsheet that uses formulas based on several pieces of data that I input from several sources. When I print the part of the spreadsheet, I don't always have all the data available to enter, so I have a cell that shows - #DIV/0! = as the data (because the underlying cell data is blank at this time). Without modifying the cell formula, is there a way to make a global Excel setting that would print just a blank cell if the formula is in error??

As always, thanks in advance for any and all answers!
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

lenze

Legend
Joined
Feb 18, 2002
Messages
13,690
You can use Conditial Formatting on these cells
=ISERROR(A1) and format your Font color to white

lenze
 

WLHagen

Board Regular
Joined
Sep 18, 2009
Messages
177
Thanks, but I know it was a global Excel setting, that it would do this, regardless of which file you were in. I don't want to have to go back and modify multiple non-contiguous cells in multitudinous files.
 

lenze

Legend
Joined
Feb 18, 2002
Messages
13,690
There is no global setting for this that I know of, so your options are limited!!
Best thing is to design your sheets so the errors do not occur!
lenze
 

WLHagen

Board Regular
Joined
Sep 18, 2009
Messages
177
I found it! It wasn't a global setting for "all files" but it was at least a setting that can be changed for each file, as needed.

Go in to Page Setup, Then on the Sheet tab under the Print options, from the "Cell Errors As" dropdown box, choose <BLANK>.

Lenze -I design my sheets so errors don't occur, but in the world that I work in, I have to get information from several sources on a monthly basis, and unfortunately, their communication to me is not as timely as I would prefer, and I have to print a document before I've received all my information. Having my spreadsheet print a <BLANK>cell rather than "DIV/0!" in it affords me the space to at least write in the information when it's received.
 

Forum statistics

Threads
1,141,130
Messages
5,704,452
Members
421,350
Latest member
jake9951

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
Top