Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Match then lookup | Excel Worksheet Functions | |||
Formula Question | Excel Worksheet Functions | |||
I have a question regarding countif formula. | Excel Worksheet Functions | |||
formula (IF) question | Excel Worksheet Functions | |||
Formula Question | Excel Discussion (Misc queries) |