Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default showing an empty cell instead of a zero in a formulated cell.

I have a spreadsheet (F) where each functional cell has a formula that adds
the coresponding cell information from 13 other worksheets (F1, F2, . . .
F13). These are 13 different sources for counts of information received in
15 minute intervals over a 13 week period.

There are times when none of the 13 "source" worksheets has any data. I
would like this to appear as a blank cell on the main spreadsheet (F). The
reason being, I am trying to take an averege on each row of cells with actual
data. If the zeros are left in then the average is always based on 13.

If I have 7 of my 13 source cells showing zero, I would only want to divide
the sum by the 6, which would give me a larger dividend.

Here is an example of my first cell. What can I add to the formula to have
the F cell in question show an empty cell if no data were received in that
block of time?

='F1'!B2+'F2'!B2+'F3'!B2+'F4'!B2+'F5'!B2+'F6'!B2+' F7'!B2+'F8'!B2+'F9'!B2+'F10'!B2+'F11'!B2+'F12'!B2+ 'F13'!B2

I appreciate any assistance that you can give me.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default showing an empty cell instead of a zero in a formulated cell.

Change
='F1'!B2+'F2'!B2+'F3'!B2+'F4'!B2+'F5'!B2+'F6'!B2+' F7'!B2+'F8'!B2+'F9'!B2+'F10'!B2+'F11'!B2+'F12'!B2+ 'F13'!B2
To
=SUM('F1:F13'!B2)and test
Then test
=IF(=COUNT('F1:F13'!B2)0,SUM('F1:F13'!B2),"")
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"Frustrated in AL" wrote in
message ...
I have a spreadsheet (F) where each functional cell has a formula that adds
the coresponding cell information from 13 other worksheets (F1, F2, . . .
F13). These are 13 different sources for counts of information received
in
15 minute intervals over a 13 week period.

There are times when none of the 13 "source" worksheets has any data. I
would like this to appear as a blank cell on the main spreadsheet (F).
The
reason being, I am trying to take an averege on each row of cells with
actual
data. If the zeros are left in then the average is always based on 13.

If I have 7 of my 13 source cells showing zero, I would only want to
divide
the sum by the 6, which would give me a larger dividend.

Here is an example of my first cell. What can I add to the formula to
have
the F cell in question show an empty cell if no data were received in that
block of time?

='F1'!B2+'F2'!B2+'F3'!B2+'F4'!B2+'F5'!B2+'F6'!B2+' F7'!B2+'F8'!B2+'F9'!B2+'F10'!B2+'F11'!B2+'F12'!B2+ 'F13'!B2

I appreciate any assistance that you can give me.




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 auto count data in an empty cell to be 0. Blank cell=0 Jagneel Excel Discussion (Misc queries) 5 December 13th 06 08:17 PM
format a cell with a formula so an empty reference cell shows blan M2 Excel Discussion (Misc queries) 3 November 7th 06 10:42 PM
why a reference to an empty cell is not considered empty Nicoscot Excel Discussion (Misc queries) 10 March 10th 06 05:36 AM
Adding numbers in one cell and showing total in seperate cell Deernad Construction Excel Discussion (Misc queries) 12 November 29th 05 07:32 PM
How do I leave formula cell blank if 2nd reference cell is empty? Liana S Excel Discussion (Misc queries) 2 October 21st 05 04:38 PM


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