How not to display null values (0's and/or #DIV/0!'s?

A

absinthe

Is there a relatively simple way to format a sheet or an entire workbook so
that cells with null references display as EMPTY instead of showing 0's or
#DIV/0!'s?
 
D

Dave Peterson

You could use conditional formatting to hide the errors (use the same color font
as fill). The cells will still hold the errors, but they'll look empty.

Or you could change the formulas to check the denominator before doing the
division:

=if(b1=0,"",a1/b1)
 
A

absinthe

Mmmm ... I especially like the first idea. Seems rather elegant. I'll give
it a shot.

Thanks,
 

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