Hi
I would like to calculate the median of a string of numbers taking into consideration only numbers that are positive and equal or below 20. Is that possible? I attach a sample file.
Hi
I would like to calculate the median of a string of numbers taking into consideration only numbers that are positive and equal or below 20. Is that possible? I attach a sample file.
try =MEDIAN(IF(A1:A6<20,IF(A1:A6>0,A1:A6)))
and enter using
control + shift + enter as an array formula and get {} around the formula
did you want to include 0 and include 20 if so then
=MEDIAN(IF(A1:A6<=20,IF(A1:A6>=0,A1:A6)))
to ignore blank cells
=MEDIAN((IF(ISNUMBER(A1:A6),IF(A1:A6<=20,IF(A1:A6>=0,A1:A6)))))
Wayne
if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here
If you have a solution to your thread - Please mark your thread solved do the following: >
Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.
As you have Excel 2010, use the aggregate function.
=AGGREGATE(18,6,A1:A5/((A1:A5>0)*(A1:A5<20)),0.5)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks