#1   Report Post  
Posted to microsoft.public.excel.misc
Darren
 
Posts: n/a
Default Averaging 14 Cells

Hello - I am trying to get the average of 14 cells on 14 different sheets,
i.e. cells C14 on worksheets 1-14. The problem I am running into is that
some of these cells may contain no data and so I am getting the #DIV/0!
error. Help...
  #2   Report Post  
Posted to microsoft.public.excel.misc
ufo_pilot
 
Posts: n/a
Default Averaging 14 Cells

=AVERAGE(Sheet1!A1,Sheet2!A1,Sheet3!A1) up to 30 cells in this manner
even if there is no data for say 4 out of 14 points, then the AVERAGE
function will still average the arithmetic mean out the 10 with data.


"Darren" wrote:

Hello - I am trying to get the average of 14 cells on 14 different sheets,
i.e. cells C14 on worksheets 1-14. The problem I am running into is that
some of these cells may contain no data and so I am getting the #DIV/0!
error. Help...

  #3   Report Post  
Posted to microsoft.public.excel.misc
Ron Rosenfeld
 
Posts: n/a
Default Averaging 14 Cells

On Wed, 25 Jan 2006 09:32:03 -0800, Darren
wrote:

Hello - I am trying to get the average of 14 cells on 14 different sheets,
i.e. cells C14 on worksheets 1-14. The problem I am running into is that
some of these cells may contain no data and so I am getting the #DIV/0!
error. Help...


Post your formula and the contents of the cells with "no data".

The AVERAGE worksheet function ignores empty cells.
--ron
  #4   Report Post  
Posted to microsoft.public.excel.misc
Darren
 
Posts: n/a
Default Averaging 14 Cells

Right and that is what I thought, but the problem is that I have a formula in
those cells that gives me the error and so when I average, it is averaging
something wtih an error. Sorry I didn't add that in.

"ufo_pilot" wrote:

=AVERAGE(Sheet1!A1,Sheet2!A1,Sheet3!A1) up to 30 cells in this manner
even if there is no data for say 4 out of 14 points, then the AVERAGE
function will still average the arithmetic mean out the 10 with data.


"Darren" wrote:

Hello - I am trying to get the average of 14 cells on 14 different sheets,
i.e. cells C14 on worksheets 1-14. The problem I am running into is that
some of these cells may contain no data and so I am getting the #DIV/0!
error. Help...

  #5   Report Post  
Posted to microsoft.public.excel.misc
Jerry W. Lewis
 
Posts: n/a
Default Averaging 14 Cells

#DIV/0! means that either there is no numeric data in ANY of the cells, or
that at least one of those cells contains a #DIV/0! error.

If the former, use =IF(COUNT(data)=0,0,AVERAGE(data))
If the later, use =AVERAGE(IF(ISNUMBER(data),data)) array entered
(Ctrl-Shift-Enter)

Note that if a cell contains text digits, it is still text and will be
ignored by the AVERAGE function, even though it looks like a number.

As was noted previously AVERAGE(data) will ignore cells that have no data,
but if none of the cells have data, then you get 0/0 which will give you the
#DIV/0! error.

Depending on how the cells are laid out, there may be multiple ways to write
the reference.
=AVERAGE(Sheet1!C14,Sheet2!C14,Sheet3!C14,...,Shee t14!C14)
will work, and will ignore empty and non-numeric cells, but it is much
easier to write it as a 3-D formula
=AVERAGE(Sheet1:Sheet14!C14)

Jerry

"Darren" wrote:

Hello - I am trying to get the average of 14 cells on 14 different sheets,
i.e. cells C14 on worksheets 1-14. The problem I am running into is that
some of these cells may contain no data and so I am getting the #DIV/0!
error. Help...



  #6   Report Post  
Posted to microsoft.public.excel.misc
drvortex
 
Posts: n/a
Default Averaging 14 Cells


I tried this (sorta) for what I'm doing. I know some of the info above
works when you are staying in the same workbook; however, I'm trying to
do the same thing but my main formula is in another workbook. I'm
trying to average up a series of cells but in a total of 30 different
sheets.


--
drvortex
------------------------------------------------------------------------
drvortex's Profile: http://www.excelforum.com/member.php...o&userid=15896
View this thread: http://www.excelforum.com/showthread...hreadid=504992

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
checking that cells have a value before the workbook will close kcdonaldson Excel Worksheet Functions 8 December 5th 05 04:57 PM
how do i protect cells in a shared worksheet Debi Excel Discussion (Misc queries) 3 September 30th 05 11:15 PM
Fill cells from non-adjacent cells Abes Excel Discussion (Misc queries) 2 March 25th 05 01:15 PM
Help adding text values Texas-DC_271 Excel Worksheet Functions 7 January 15th 05 11:14 PM
Convert data type of cells to Text,Number,Date and Time Kevin Excel Worksheet Functions 1 December 31st 04 12:57 PM


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