Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Displaying cell contents

I have a spreadsheet that has a formula in it in cells C1:J50. The cells are
displaying 0 because there is nothing to calculate. How can I keep my
formula for calculating when actual numbers are entered but the display will
show an empty cell, not 0.

Thanks,

Blue Angel
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Displaying cell contents

In your formulas you do some variation of this:
=if(a1="","",yourformula)

Regards,
Fred

"BlueAngel" wrote in message
...
I have a spreadsheet that has a formula in it in cells C1:J50. The cells
are
displaying 0 because there is nothing to calculate. How can I keep my
formula for calculating when actual numbers are entered but the display
will
show an empty cell, not 0.

Thanks,

Blue Angel


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 561
Default Displaying cell contents

The easiest way will be by de-selection 'Zero values' - in Tools Options
View tab.
The longest way will be by using an IF statement which checks the condition.
It should read something like:
=IF(<calculation=0,"",<calculation)
Micky


"BlueAngel" wrote:

I have a spreadsheet that has a formula in it in cells C1:J50. The cells are
displaying 0 because there is nothing to calculate. How can I keep my
formula for calculating when actual numbers are entered but the display will
show an empty cell, not 0.

Thanks,

Blue Angel

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 153
Default Displaying cell contents

The easiest way will be by de-selection 'Zero values' - in Tools Options
View tab.
The longest way will be by using an IF statement which checks the condition.
It should read something like:
=IF(<calculation=0,"",<calculation)


A third way is to use this for the relevant cells:
Format Cells Custom
with something like this for Type:
General;-General;
This way, you can be selective about which cells show zero values and
which ones don't.

If the appearance is all that matters, there's not much more to say.

But be careful if the cells are used for further computation, because
0 and "" don't behave the same. To see this, in column A put
2
0
4
and in column B put
=AVERAGE(A1:A3)
=SUM(A1:A3)
=A1+A2+A3
Notice what appears in column B.

Then change A2 from 0 to "" and notice what changes in column B.

So think about how the values will be used when selecting an approach.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Displaying contents of Active Cell Rope Excel Discussion (Misc queries) 4 June 30th 09 10:03 AM
Displaying Cell Contents ajones1978 Excel Discussion (Misc queries) 3 September 10th 08 10:35 PM
Help with displaying the contents of the last populate cell. Pank New Users to Excel 9 April 4th 07 06:25 PM
Displaying cell contents on one sheet Peter J Watson Excel Discussion (Misc queries) 2 April 28th 06 12:25 AM
Displaying contents of cell on different spreadsheet telewats Excel Discussion (Misc queries) 1 January 26th 06 04:58 PM


All times are GMT +1. The time now is 03:46 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"