Hi,
I have the following array formula located in cell C4.
=MEDIAN(IF(TEXT($H$11:$H$1057,"mmm")="Jul",(IF($B$11:$B$1057="North East",$J$11:$J$1057)),""))
The column headers go across row 10.
Column H: List of Dates e.g. 06-Jul-10
Column B: List of Quadrants - North East, North West, South East, South West, #N/A
Column J: List of numbers e.g. 39
The formula described above works great if i custom sort my data set by quadrant and only highlight up to the last quadrant before the #N/A's begin. For column B - as you can see this goes up to 1057. However, inclusive of the #N/A's the array actually goes up to row 1063.
If i don't custom sort my data by quadrant and go up to row 1063 for the arrays the formula just returns #N/A.
This leads me to my question;
Is there a way in which i don't have to custom sort my data set, can use the entire arrays and the formula will return the median? In other words, what change do i need to make to my formula to get it to work how i've just described.
Thanks
I have the following array formula located in cell C4.
=MEDIAN(IF(TEXT($H$11:$H$1057,"mmm")="Jul",(IF($B$11:$B$1057="North East",$J$11:$J$1057)),""))
The column headers go across row 10.
Column H: List of Dates e.g. 06-Jul-10
Column B: List of Quadrants - North East, North West, South East, South West, #N/A
Column J: List of numbers e.g. 39
The formula described above works great if i custom sort my data set by quadrant and only highlight up to the last quadrant before the #N/A's begin. For column B - as you can see this goes up to 1057. However, inclusive of the #N/A's the array actually goes up to row 1063.
If i don't custom sort my data by quadrant and go up to row 1063 for the arrays the formula just returns #N/A.
This leads me to my question;
Is there a way in which i don't have to custom sort my data set, can use the entire arrays and the formula will return the median? In other words, what change do i need to make to my formula to get it to work how i've just described.
Thanks