Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
BB BB is offline
external usenet poster
 
Posts: 39
Default hiding zero for a sum

i'll try to explain best i can....
i have 3 colums, first and second are put in and the third is the difference
between them. then on the bottom, i have the averages. i know how to do the
subtraction, but for the other rows below keep showing "0" even though and
the averages are now correct. how can i keep that column to automatically
show the difference without always having the zero there and not having to
always put that function in that box.

here is what i looks like

# DATE COURSE SCORE PAR (+/-)
1 04/03/10 49 37 12
2 04/03/10 43 34 9
3 04/19/10 44 36 8
4 0
5 0
6 0
7 0
8 0
9 0
0

AVERAGE 45.33 35.67 1.38


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default hiding zero for a sum

hi
the usual way of doing this is to use an if formula
=if(C2-D2=0,"",C2-D2)
copy down as far as needed.
if there is no data in C or D then the cell with the if formula will show
as blank.
the average formulas will ignore the "blank" cells and calculate only on
cells that show data.

regards
FSt1

"bb" wrote:

i'll try to explain best i can....
i have 3 colums, first and second are put in and the third is the difference
between them. then on the bottom, i have the averages. i know how to do the
subtraction, but for the other rows below keep showing "0" even though and
the averages are now correct. how can i keep that column to automatically
show the difference without always having the zero there and not having to
always put that function in that box.

here is what i looks like

# DATE COURSE SCORE PAR (+/-)
1 04/03/10 49 37 12
2 04/03/10 43 34 9
3 04/19/10 44 36 8
4 0
5 0
6 0
7 0
8 0
9 0
0

AVERAGE 45.33 35.67 1.38


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 345
Default hiding zero for a sum

Another method is to untick the show 'zero in a cell' option.
Check out help in your version of Excel

"bb" wrote:

i'll try to explain best i can....
i have 3 colums, first and second are put in and the third is the difference
between them. then on the bottom, i have the averages. i know how to do the
subtraction, but for the other rows below keep showing "0" even though and
the averages are now correct. how can i keep that column to automatically
show the difference without always having the zero there and not having to
always put that function in that box.

here is what i looks like

# DATE COURSE SCORE PAR (+/-)
1 04/03/10 49 37 12
2 04/03/10 43 34 9
3 04/19/10 44 36 8
4 0
5 0
6 0
7 0
8 0
9 0
0

AVERAGE 45.33 35.67 1.38


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default hiding zero for a sum

hi
true but that wont stop the average formula from counting the zero in it
average.

regards
FSt1

"Ron@Buy" wrote:

Another method is to untick the show 'zero in a cell' option.
Check out help in your version of Excel

"bb" wrote:

i'll try to explain best i can....
i have 3 colums, first and second are put in and the third is the difference
between them. then on the bottom, i have the averages. i know how to do the
subtraction, but for the other rows below keep showing "0" even though and
the averages are now correct. how can i keep that column to automatically
show the difference without always having the zero there and not having to
always put that function in that box.

here is what i looks like

# DATE COURSE SCORE PAR (+/-)
1 04/03/10 49 37 12
2 04/03/10 43 34 9
3 04/19/10 44 36 8
4 0
5 0
6 0
7 0
8 0
9 0
0

AVERAGE 45.33 35.67 1.38


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
hiding help with excel Excel Discussion (Misc queries) 1 March 9th 07 01:47 AM
Hiding a button when hiding rows fergusor Excel Discussion (Misc queries) 2 August 10th 06 02:31 PM
Hiding #N/A FP Novice Excel Discussion (Misc queries) 1 August 7th 06 09:49 PM
HIDING DIV/0! webster Excel Discussion (Misc queries) 2 March 10th 06 12:14 AM
#DIV/0! hiding GJR3599 Excel Discussion (Misc queries) 0 March 9th 05 07:54 PM


All times are GMT +1. The time now is 02:49 AM.

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"