DivideByZero
New Member
- Joined
- Jun 28, 2013
- Messages
- 2
Hi I wish to calculate the median of a column of numbers where the number is greater than zero. Sometimes there will be text in the column and I want those to be ignored.
Reading the help documentation for Excel 2007 it states: "Arguments that are error values or text that cannot be translated into numbers cause errors". Now I was expecting that if for example I had "Text" in the column that I would get an error in the median. However I do not, "Text" is ignored and the median of the numbers are calculated correctly.
What is going on? Am I interpreting the Excel documentation incorrectly or is the documentation incorrect? Could this change with future releases?
To be on the safe side should I use something like:
=MEDIAN(IF(IF(ISNUMBER(J15:J17),J15:J17>0),J15:J17))
and enter the formula as an array?
Thank you for reading this.
Reading the help documentation for Excel 2007 it states: "Arguments that are error values or text that cannot be translated into numbers cause errors". Now I was expecting that if for example I had "Text" in the column that I would get an error in the median. However I do not, "Text" is ignored and the median of the numbers are calculated correctly.
What is going on? Am I interpreting the Excel documentation incorrectly or is the documentation incorrect? Could this change with future releases?
To be on the safe side should I use something like:
=MEDIAN(IF(IF(ISNUMBER(J15:J17),J15:J17>0),J15:J17))
and enter the formula as an array?
Thank you for reading this.