+ Reply to Thread
Results 1 to 3 of 3

median excluding 0's

  1. #1
    maryj
    Guest

    median excluding 0's

    What formula would give the median of a range but exclude all 0's. Thanks!
    --
    maryj

  2. #2
    JNW
    Guest

    RE: median excluding 0's

    I can't think of a direct way to do it.

    Let's say your numbers are in Column A, then in B1 you would place the
    following formula:
    =IF(A1>0,A1,"")

    Then drag it down for all numbers in column A. Then you can use
    =MEDIAN(B:B) to return the median while excluding zeros

    "maryj" wrote:

    > What formula would give the median of a range but exclude all 0's. Thanks!
    > --
    > maryj


  3. #3
    Peo Sjoblom
    Guest

    Re: median excluding 0's

    One way

    =MEDIAN(IF(A1:A50<>0,A1:A50))

    it's an array formula and needs to be entered with ctrl + shift & enter

    --
    Regards,

    Peo Sjoblom

    Portland, Oregon




    "maryj" <maryj@discussions.microsoft.com> wrote in message
    news:59A787D6-FF64-445B-B2A6-99C000FA2131@microsoft.com...
    > What formula would give the median of a range but exclude all 0's. Thanks!
    > --
    > maryj



+ 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