+ Reply to Thread
Results 1 to 4 of 4

Median of Column E Where Column K=X

  1. #1
    Registered User
    Join Date
    08-26-2014
    Location
    Washington, DC
    MS-Off Ver
    2010
    Posts
    31

    Median of Column E Where Column K=X

    I am using the following formulas and have the following errors/problems. Please help. Thank you in advance.

    {=MEDIAN(IF('Case Management'!$K$1:$K$9999<>"",IF('Case Management'!$K$1:$K$9999=0,'Case Management'!#REF!)))}
    =NUMBER ERROR

    {=MEDIAN(IF('Case Management'!$K$1:$K$9999<>"",IF('Case Management'!$K$1:$K$9999=1,'Case Management'!$E1:$E9999)))}
    =CORRECT

    {=MEDIAN(IF('Case Management'!$K$1:$K$9999<>"",IF('Case Management'!$K$1:$K$9999=2,'Case Management'!$E2:$E10000)))}
    =THE OUTPUT VALUE IS NOT CORRECT

    {=MEDIAN(IF('Case Management'!$K$1:$K$9999<>"",IF('Case Management'!$K$1:$K$9999=3,'Case Management'!$E3:$E10001)))}
    = CORRECT

    {=MEDIAN(IF('Case Management'!$K$1:$K$9999<>"",IF('Case Management'!$K$1:$K$9999="r",'Case Management'!$E4:$E10002)))}
    = THE OUTPUT VALUE IS NOT CORRECT

    {=MEDIAN(IF('Case Management'!$K$1:$K$9999<>"",IF('Case Management'!$K$1:$K$9999="t",'Case Management'!$E5:$E10003)))}
    = THE OUTPUT VALUE IS NOT CORRECT

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Median of Column E Where Column K=X

    Your array has to be consistent. Change E5 to E1003 to E1 to E9999

    {=MEDIAN(IF('Case Management'!$K$1:$K$9999<>"",IF('Case Management'!$K$1:$K$9999="t",'Case Management'!$E5:$E10003)))}

  3. #3
    Registered User
    Join Date
    08-26-2014
    Location
    Washington, DC
    MS-Off Ver
    2010
    Posts
    31

    Re: Median of Column E Where Column K=X

    Thanks, fixed now, although that did not solve the problem. All the number 1s are sorted at the top of that column, so the mistake you found doesn't affect anything in the above outputs.

  4. #4
    Registered User
    Join Date
    08-26-2014
    Location
    Washington, DC
    MS-Off Ver
    2010
    Posts
    31

    Re: Median of Column E Where Column K=X

    I think I got them all working. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Finding the median in specific cells of one column
    By KaiserD2 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-20-2014, 12:45 PM
  2. Calculating median across many columns based on conditions in first column
    By rahulconda in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-12-2013, 02:06 PM
  3. [SOLVED] Get the median of the column heading
    By darkhangelsk in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-17-2013, 05:19 AM
  4. [SOLVED] Formula to get the median, but ignoring the duplicate numbers in the column
    By Rianne in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-16-2013, 03:23 AM
  5. MAX/MIN/Median of column depending on neighboring values
    By Rydell in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-06-2010, 02:12 AM

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