Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
I have read through most of posts that seem to apply but haven't found a
formula that will allow me to calculate the AVERAGE, MAX and MIN for a data range that also contains #N/A in several cells. Can you help? -- RonB |
#2
![]() |
|||
|
|||
![]()
Hi!
Entered as an array with the key combo of CTRL,SHIFT,ENTER: =AVERAGE(IF(ISNUMBER(A1:A10),A1:A10)) =MIN(IF(ISNUMBER(A1:A10),A1:A10)) =MAX(IF(ISNUMBER(A1:A10),A1:A10)) Biff -----Original Message----- I have read through most of posts that seem to apply but haven't found a formula that will allow me to calculate the AVERAGE, MAX and MIN for a data range that also contains #N/A in several cells. Can you help? -- RonB . |
#3
![]() |
|||
|
|||
![]()
Works great...... Thanks!
"Biff" wrote: Hi! Entered as an array with the key combo of CTRL,SHIFT,ENTER: =AVERAGE(IF(ISNUMBER(A1:A10),A1:A10)) =MIN(IF(ISNUMBER(A1:A10),A1:A10)) =MAX(IF(ISNUMBER(A1:A10),A1:A10)) Biff -----Original Message----- I have read through most of posts that seem to apply but haven't found a formula that will allow me to calculate the AVERAGE, MAX and MIN for a data range that also contains #N/A in several cells. Can you help? -- RonB . |
#4
![]() |
|||
|
|||
![]()
You should always try to fix errors at source rather than compensating for
them. =IF(ISNA(your_formula),0,your_formula) or perhaps =IF(ISNA(your_formula),"",your_formula) will prevent the NAs appearing in the first place -- Regards Ken....................... Microsoft MVP - Excel Sys Spec - Win XP Pro / XL 97/00/02/03 ---------------------------------------------------------------------------- It's easier to beg forgiveness than ask permission :-) ---------------------------------------------------------------------------- "RonB" wrote in message ... Works great...... Thanks! "Biff" wrote: Hi! Entered as an array with the key combo of CTRL,SHIFT,ENTER: =AVERAGE(IF(ISNUMBER(A1:A10),A1:A10)) =MIN(IF(ISNUMBER(A1:A10),A1:A10)) =MAX(IF(ISNUMBER(A1:A10),A1:A10)) Biff -----Original Message----- I have read through most of posts that seem to apply but haven't found a formula that will allow me to calculate the AVERAGE, MAX and MIN for a data range that also contains #N/A in several cells. Can you help? -- RonB . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using The Average Function if a cell has NA | Excel Worksheet Functions | |||
AVERAGE problems | Excel Worksheet Functions | |||
EXcluding Zeros from the average in a row | Excel Discussion (Misc queries) | |||
calculate average hours worked | Excel Worksheet Functions | |||
average, array and offsets | Excel Worksheet Functions |