+ Reply to Thread
Results 1 to 9 of 9

Calculating percentile after conditional filtering in excel 2016

  1. #1
    Registered User
    Join Date
    01-13-2018
    Location
    Florida
    MS-Off Ver
    2016
    Posts
    2

    Calculating percentile after conditional filtering in excel 2016

    I’m looking for help in a formula that will calculate the percentile of only the visible cells data in a column after applying a filter.
    Nothing I have been able to do works and it continues to calculate the hidden cells.

  2. #2
    Spammer
    Join Date
    01-08-2015
    Location
    Cali, Colombia
    MS-Off Ver
    365
    Posts
    302

    Re: Calculating percentile after conditional filtering in excel 2016

    Hi, @thomascmartiniv!

    If your range of numbers is A2:A10, you can try this Array Formula (Must be entered with Ctrl + Shift + Enter, and not just Enter):
    =PERCENTILE.EXC(IF(SUBTOTAL(102,OFFSET(A2,ROW(A2:A10)-ROW(A2),)),A2:A10),0.5)

    This could be an option for PERCENTILE 50. Blessings!

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Calculating percentile after conditional filtering in excel 2016

    It can also be done with AGGREGATE. It does not have to be array entered. For median.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  4. #4
    Registered User
    Join Date
    01-13-2018
    Location
    Florida
    MS-Off Ver
    2016
    Posts
    2

    Re: Calculating percentile after conditional filtering in excel 2016

    Wow, excellent support from this forum! I tried both methods but using flamesretired Aggregate formula worked the way I needed. As I toggled through different filters in my raw data it calculated the percentile result as it should!
    Thanks again all for the contributions.

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Calculating percentile after conditional filtering in excel 2016

    You're welcome. Thanks for the feedback.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  6. #6
    Registered User
    Join Date
    03-19-2019
    Location
    San Antonio
    MS-Off Ver
    2016
    Posts
    1

    Re: Calculating percentile after conditional filtering in excel 2016

    Just found this thread after my office analysts told me this topic couldn't be done. The AGGREGATE formula worked like a champ. The whole office was mesmerized by my excel prowess and my analysts learned something new today. Thanks for taking the time to post the solution.

  7. #7
    Registered User
    Join Date
    06-02-2020
    Location
    Boston, MA
    MS-Off Ver
    Office 365
    Posts
    1

    Re: Calculating percentile after conditional filtering in excel 2016

    Another happy camper. Thanks FlameRetired!

  8. #8
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Calculating percentile after conditional filtering in excel 2016

    You are welcome. Glad it helps. Thank you for the feedback.

  9. #9
    Registered User
    Join Date
    02-02-2021
    Location
    bled
    MS-Off Ver
    2013
    Posts
    1

    Re: Calculating percentile after conditional filtering in excel 2016

    .. and another one.. Thanks FlameRetired!

+ 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. Replies: 1
    Last Post: 09-18-2017, 08:27 AM
  2. [SOLVED] Has anyone else had issues with formulas not calculating in Excel 2016?
    By Grimace in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-31-2017, 08:03 PM
  3. Automatic Search Box in excel 2016 for data selection or filtering
    By paradise2sr in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-19-2017, 03:32 AM
  4. [SOLVED] Conditional percentile: Bug in percentíle function?
    By Duronka in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-13-2013, 08:08 AM
  5. [SOLVED] Calculating percentile
    By sarinky in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-30-2013, 02:17 AM
  6. calculating a percentile from other percentiles
    By kelib in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 10-02-2012, 11:02 AM
  7. Calculating percentile spread
    By maxthebear in forum Excel General
    Replies: 0
    Last Post: 08-16-2010, 08:49 PM

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