Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default HOW DO MAKE ZEROES DISAPPEAR WHEN THERE ARE NO NUMBERS TO SUM

I have formatted multiple cells to SUM when the appropriate data is input.
But until that data is input, it puts a 0(zero) in the cell. Is there any
way to make the cells blank until actual data is input without clearing the
cell of the SUM command?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default HOW DO MAKE ZEROES DISAPPEAR WHEN THERE ARE NO NUMBERS TO SUM

Tazman,

I don't know if this is exactly what you're looking for, but try setting
conditional formatting on the cells.

Mark

"tazman2168" wrote:

I have formatted multiple cells to SUM when the appropriate data is input.
But until that data is input, it puts a 0(zero) in the cell. Is there any
way to make the cells blank until actual data is input without clearing the
cell of the SUM command?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 303
Default HOW DO MAKE ZEROES DISAPPEAR WHEN THERE ARE NO NUMBERS TO SUM

something like
=if(sum(a23:a45)=0,"",sum(a23:a45))
--
Greetings from New Zealand
Bill K
"tazman2168" wrote in message
...
I have formatted multiple cells to SUM when the appropriate data is input.
But until that data is input, it puts a 0(zero) in the cell. Is there any
way to make the cells blank until actual data is input without clearing
the
cell of the SUM command?



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 222
Default HOW DO MAKE ZEROES DISAPPEAR WHEN THERE ARE NO NUMBERS TO SUM

Either test for zero value then place a null in the cell if true or the sum
if false

=IF(SUM(A1:A10)=0,"",SUM(A1:A10))

or remove all zeros from the sheet by clicking ToolsOptionsView and
uncheck Zero Values

"tazman2168" wrote:

I have formatted multiple cells to SUM when the appropriate data is input.
But until that data is input, it puts a 0(zero) in the cell. Is there any
way to make the cells blank until actual data is input without clearing the
cell of the SUM command?

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default HOW DO MAKE ZEROES DISAPPEAR WHEN THERE ARE NO NUMBERS TO SUM

tools/options uncheck the zero values option

--


Gary


"tazman2168" wrote in message
...
I have formatted multiple cells to SUM when the appropriate data is input.
But until that data is input, it puts a 0(zero) in the cell. Is there any
way to make the cells blank until actual data is input without clearing
the
cell of the SUM command?





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 903
Default HOW DO MAKE ZEROES DISAPPEAR WHEN THERE ARE NO NUMBERS TO SUM

Is there a difference between no cells to sum and cells with zero,
and cells that sum to zero.

from previous example:
=if(sum(a23:a45)=0,"",sum(a23:a45))

=IF(Count(A23:a45)0,Sum(A23:a45),"")
would show the zero if the actual sum is zero, but an empty string
if there were no numeric values in the range.
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"tazman2168" wrote in message ...
I have formatted multiple cells to SUM when the appropriate data is input.
But until that data is input, it puts a 0(zero) in the cell. Is there any
way to make the cells blank until actual data is input without clearing the
cell of the SUM command?



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
how to make a form self disappear Ben Excel Programming 1 November 18th 05 09:21 PM
How to make excel disappear! grandfilth Excel Discussion (Misc queries) 4 October 28th 05 12:28 AM
How do I make it disappear? Ralphael1 New Users to Excel 1 October 12th 05 12:19 AM
Make a button disappear Aaron Howe[_2_] Excel Programming 3 June 22nd 05 04:35 PM
how to make dropdown arrow disappear in vba mango Excel Worksheet Functions 2 November 30th 04 12:56 AM


All times are GMT +1. The time now is 12:03 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"