Formula won't calculate

  • Thread starter Thread starter tlosgyl3
  • Start date Start date
T

tlosgyl3

I have the following expressions in adjacent cells
{=IF(L3:L62>0,MEDIAN(IF(L3:L62>0,L3:L62)),0)}
{=IF(M3:M62>0,MEDIAN(IF(M3:M62>0,M3:M62)),0)}

The data from which it is trying to calculae the Median is extracted
from another sheet.

I want to know the median value of those cells where the value is above
0

The first expression calculates correctly
The second consitently returns 0 even though there are positive values
in 44 of the cells.

Any ideas?http://www.excelforum.com/images/smilies/confused.gif
:confused:

tlosgyl3
 
You need to change the formulas - the ones you have will only give you
the result you want when L3 (or M3) has a positive value.You only need

{=MEDIAN(IF(L3:L62>0,L3:L62))}
{=MEDIAN(IF(M3:M62>0,M3:M62))}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top