O
OscarC
Hello
I have several columns of data all of which start in row 7. In rows
- 6 I have summary statistics for each column of data, e.g. min, max
mean, std dev etc.
Each column of data has a dynamic named range for use with a graph. i
='Sheet1'!$C$7:OFFSET('Sheet'!$C$7,COUNTA('Sheet'!$C$7:$C$65536)-1,0)
Occassionally the data includes a blank cell, so to ensure that th
dynamic range works correctly, I have inserted #N/A in to the blan
cells.
The problem is this upsets the statistic summary in rows 1-7, whic
return #N/A.
If I change the formula for the stats to an array formula as below
can avoid the #N/A error:
=Max(IF(NOT(ISERROR(My_Range)),My_Range))
Which is fine for MAX, but not for MIN and AVERAGE as it assumes th
#N/A in the data column is a zero, so for MIN, 0 is reported.
The array formula =MIN(IF(My_Range<>0,My_Range,False)) would ignore
zero.
Is there any way to combine these two array formulae, so they #N/A an
zero problem would be ignored in my stats summary?
Or is there a better way to achieve my goal - produce a stats summar
for my columns of data in the first 6 rows of each column, and use
dynamic ranges to prouduce graphs, taking into account I have blan
cells?
Any help would be greatly appreciated!
Thanks,
Michae
I have several columns of data all of which start in row 7. In rows
- 6 I have summary statistics for each column of data, e.g. min, max
mean, std dev etc.
Each column of data has a dynamic named range for use with a graph. i
='Sheet1'!$C$7:OFFSET('Sheet'!$C$7,COUNTA('Sheet'!$C$7:$C$65536)-1,0)
Occassionally the data includes a blank cell, so to ensure that th
dynamic range works correctly, I have inserted #N/A in to the blan
cells.
The problem is this upsets the statistic summary in rows 1-7, whic
return #N/A.
If I change the formula for the stats to an array formula as below
can avoid the #N/A error:
=Max(IF(NOT(ISERROR(My_Range)),My_Range))
Which is fine for MAX, but not for MIN and AVERAGE as it assumes th
#N/A in the data column is a zero, so for MIN, 0 is reported.
The array formula =MIN(IF(My_Range<>0,My_Range,False)) would ignore
zero.
Is there any way to combine these two array formulae, so they #N/A an
zero problem would be ignored in my stats summary?
Or is there a better way to achieve my goal - produce a stats summar
for my columns of data in the first 6 rows of each column, and use
dynamic ranges to prouduce graphs, taking into account I have blan
cells?
Any help would be greatly appreciated!
Thanks,
Michae