+ Reply to Thread
Results 1 to 3 of 3

Calculating auto filtered data

  1. #1
    Patty via OfficeKB.com
    Guest

    Calculating auto filtered data

    how do I calculate the median of filtered data without counting the hidden
    columns?


    --
    Message posted via OfficeKB.com
    http://www.officekb.com/Uwe/Forums.a...excel/200508/1

  2. #2
    George Nicholson
    Guest

    Re: Calculating auto filtered data

    Take a look at the SUBTOTAL worksheet function.
    = SUBTOTAL(1, A1:A500)
    would give you the Average of all non-filtered data in the specified range.
    (yeah, I know you asked for Median. Average is the best I can do.)

    HTH,
    --
    George Nicholson

    Remove 'Junk' from return address.


    "Patty via OfficeKB.com" <forum@OfficeKB.com> wrote in message
    news:534776E33C7FB@OfficeKB.com...
    > how do I calculate the median of filtered data without counting the hidden
    > columns?
    >
    >
    > --
    > Message posted via OfficeKB.com
    > http://www.officekb.com/Uwe/Forums.a...excel/200508/1




  3. #3
    Debra Dalgleish
    Guest

    Re: Calculating auto filtered data

    Laurent Longre created a formula that lets you work with visible rows
    after a filter. For information see Power Formula Technique in this
    article at John Walkenbach's web site:

    http://j-walk.com/ss/excel/eee/eee001.txt

    For example, if your numbers are in cells E2:E200:

    =MEDIAN(IF(SUBTOTAL(3,OFFSET(E2:E200,ROW(E2:E200)-MIN(ROW(E2:E200)),,1)),E2:E200,""))

    It's an array formula, so after typing the formula, press
    Ctrl+Shift+Enter to enter it.

    Patty via OfficeKB.com wrote:
    > how do I calculate the median of filtered data without counting the hidden
    > columns?
    >
    >



    --
    Debra Dalgleish
    Excel FAQ, Tips & Book List
    http://www.contextures.com/tiptech.html


+ 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