+ Reply to Thread
Results 1 to 3 of 3

MEDIAN with IF function not working

  1. #1
    Registered User
    Join Date
    02-28-2014
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    2

    MEDIAN with IF function not working

    Hey guys, new here. Visited a lot, but just joined and this is my first post.

    I'm using this formula in several columns of a cross-tab, and it seems to be working in most, but not a couple.

    So this works: {=MEDIAN(IF(working!O:O>3,working!E:E))}
    Yet this doesn't: {=MEDIAN(IF(working!O:O<4,working!E:E))}

    And yes, there are results that meet that IF requirement. Workbook is attached. Help is appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: MEDIAN with IF function not working

    take just
    {=MEDIAN(IF(O:O<4,E:E))} this will probably always return 0 as blanks are counted as 0
    try
    {=MEDIAN(IF(O:O<4,IF(E:E<>"",E:E)))}
    buy try and avoid whole range references limit to what you are likely to need
    say e1:e2000
    Last edited by martindwilson; 02-28-2014 at 07:55 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    02-28-2014
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: MEDIAN with IF function not working

    Awesome, that works, thank you very much.

  4. #4
    Registered User
    Join Date
    12-15-2012
    Location
    In a bin
    MS-Off Ver
    Excel 2013
    Posts
    43

    Re: MEDIAN with IF function not working

    Hi happycynic80

    Another version and a non array as you are using Excel 2010.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by Crisp Packet; 03-02-2014 at 04:56 AM.

+ 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. [SOLVED] Median with IF not working?
    By chriskopf in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-08-2013, 02:59 PM
  2. [SOLVED] Median Ifs, need to find median $ amount per deal for each year
    By xenomorph8472 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-13-2012, 02:01 PM
  3. median if function
    By jlogan987 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-08-2007, 12:24 PM
  4. median function
    By flyingmeatball in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-17-2006, 12:58 PM
  5. median function
    By flyingmeatball in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-17-2006, 11:40 AM

Tags for this Thread

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