+ Reply to Thread
Results 1 to 3 of 3

Formula won't calculate

  1. #1
    Registered User
    Join Date
    10-13-2005
    Posts
    17

    Formula won't calculate

    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


    tlosgyl3

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    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))}

  3. #3
    Registered User
    Join Date
    10-13-2005
    Posts
    17
    Got it - works - brillaint - thanks

    tlosgyl3

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1