#1   Report Post  
Posted to microsoft.public.excel.misc
Bruce D.
 
Posts: n/a
Default Formula Question

Hi all,

I am trying to calcuate the average for cell C17 in 12 different sheets
within the same spreadsheet. This is what I am using. But its not working if
there is an empty cell and its not averaging correctly. Any ideas?

=IF(ISERROR(AVERAGE(Jan06!C17)+(Feb06!C17)+(Mar06! C17)+(Apr06!C17)+(May06!C17)+(Jun06!C17)+(July06!C 17)+(Aug06!C17)+(Sept06!C17)+(Oct06!C17)+(Nov06!C1 7)+(Dec06!C17)),"",(Jan06!C17)+(Feb06!C17)+(Mar06! C17)+(Apr06!C17)+(May06!C17)+(Jun06!C17)+(July06!C 17)+(Aug06!C17)+(Sept06!C17)+(Oct06!C17)+(Nov06!C1 7)+(Dec06!C17))

Thanks for any help!!!
--
Bruce DiPaola
  #2   Report Post  
Posted to microsoft.public.excel.misc
bpeltzer
 
Posts: n/a
Default Formula Question

For starters, don't average (A+B+C...) (which averages one number - the sum
of all the cells) but rather (A,B,C) (which averages the three cells).
And, to make your life a lot easier, you can probably use a '3D' cell
reference:
=average(Jan06:Dec06!C17). That assumes that the Jan06 through Dec06 are
consecutive sheets in your workbook.
--Bruce


"Bruce D." wrote:

Hi all,

I am trying to calcuate the average for cell C17 in 12 different sheets
within the same spreadsheet. This is what I am using. But its not working if
there is an empty cell and its not averaging correctly. Any ideas?

=IF(ISERROR(AVERAGE(Jan06!C17)+(Feb06!C17)+(Mar06! C17)+(Apr06!C17)+(May06!C17)+(Jun06!C17)+(July06!C 17)+(Aug06!C17)+(Sept06!C17)+(Oct06!C17)+(Nov06!C1 7)+(Dec06!C17)),"",(Jan06!C17)+(Feb06!C17)+(Mar06! C17)+(Apr06!C17)+(May06!C17)+(Jun06!C17)+(July06!C 17)+(Aug06!C17)+(Sept06!C17)+(Oct06!C17)+(Nov06!C1 7)+(Dec06!C17))

Thanks for any help!!!
--
Bruce DiPaola

  #3   Report Post  
Posted to microsoft.public.excel.misc
Bruce D.
 
Posts: n/a
Default Formula Question

Yes That's it.
Many thanks

--
Bruce DiPaola


"Bruce D." wrote:

Hi all,

I am trying to calcuate the average for cell C17 in 12 different sheets
within the same spreadsheet. This is what I am using. But its not working if
there is an empty cell and its not averaging correctly. Any ideas?

=IF(ISERROR(AVERAGE(Jan06!C17)+(Feb06!C17)+(Mar06! C17)+(Apr06!C17)+(May06!C17)+(Jun06!C17)+(July06!C 17)+(Aug06!C17)+(Sept06!C17)+(Oct06!C17)+(Nov06!C1 7)+(Dec06!C17)),"",(Jan06!C17)+(Feb06!C17)+(Mar06! C17)+(Apr06!C17)+(May06!C17)+(Jun06!C17)+(July06!C 17)+(Aug06!C17)+(Sept06!C17)+(Oct06!C17)+(Nov06!C1 7)+(Dec06!C17))

Thanks for any help!!!
--
Bruce DiPaola

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
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Question Marcus Feldmore Excel Worksheet Functions 1 November 11th 05 03:47 PM
I have a question regarding countif formula. Fahad Farid Ansari Excel Worksheet Functions 6 October 1st 05 11:57 PM
formula (IF) question Drew Halevy Excel Worksheet Functions 7 February 2nd 05 07:19 PM
Formula Question JDT Excel Discussion (Misc queries) 2 January 30th 05 01:17 PM


All times are GMT +1. The time now is 12:08 AM.

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

About Us

"It's about Microsoft Excel"