display an empty cell

L

Lynn

I used to reference cells in our worksheets (e.g. =Sheet1!C6). if
Sheet1!C6 is empty i will get a 0 in my cell. How can i get a blank
cell if Sheet1!C6 is an empty cell?

thanks
 
B

Bernard Liengme

=IF(ISBLANK(Sheet1!C6),"",Sheet1!C6)
this will work when C6 is truly blank not when it has a formula that returns
a blank

=IF(Sheet1!C6="","",Sheet1!C6)
should work for you also

best wishes
 
B

BRO

Your problem is only a format problem. right click -- format cells (or
press Ctrl+1) in the "Number" tab, choose Custome, in the text box
enter the following format #,###.##

(the 1st one is a comma, the second one is a dot)

Please inform me if it works
 
S

S. A. Stone

A simple way is to use Conditional formatting, make the condition so that if
the cell is = to 0 then format the text color to match the color of that
cell.

SS
 

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

Top