Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'm plotting daily results in a data table which sometimes have 0 values. I
have created a formula which replaces the 0 values with #NA ie:=IF(B6,B6,NA()) . This throws off the average formula at the end of the table. Can someone suggest a solution, please? Thanks Rosina |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Hi, Try this and change the range to suit =AVERAGE(IF(ISNUMBER(A1:A5),A1:A5,FALSE)) This is an array formula which must be entered with CTRL+Shift+Enter and NOT just enter. If you do it correct then Excel will put curly brackets around the formula{}. You can't type these yourself. Mike "Chart blues" wrote: I'm plotting daily results in a data table which sometimes have 0 values. I have created a formula which replaces the 0 values with #NA ie:=IF(B6,B6,NA()) . This throws off the average formula at the end of the table. Can someone suggest a solution, please? Thanks Rosina |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Mike: Thank you for the tip... it did the job!
"Mike H" wrote: Hi, Try this and change the range to suit =AVERAGE(IF(ISNUMBER(A1:A5),A1:A5,FALSE)) This is an array formula which must be entered with CTRL+Shift+Enter and NOT just enter. If you do it correct then Excel will put curly brackets around the formula{}. You can't type these yourself. Mike "Chart blues" wrote: I'm plotting daily results in a data table which sometimes have 0 values. I have created a formula which replaces the 0 values with #NA ie:=IF(B6,B6,NA()) . This throws off the average formula at the end of the table. Can someone suggest a solution, please? Thanks Rosina |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
ignore MAX and MIN values in a set to calculate average | Excel Discussion (Misc queries) | |||
How to make average function ignore MIN and MAX | Excel Worksheet Functions | |||
Average calcs - ignore sheets | Excel Worksheet Functions | |||
How do I ignore cells with errors when calculating an average? | Excel Worksheet Functions | |||
calculate average in percentage coloumn with #DIV/! (ignore error | Excel Discussion (Misc queries) |