+ Reply to Thread
Results 1 to 4 of 4

What is the difference between PERCENTILE and PERCENTILE.EXC?

  1. #1
    Forum Contributor
    Join Date
    09-10-2016
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    680

    What is the difference between PERCENTILE and PERCENTILE.EXC?

    What is the difference between PERCENTILE and PERCENTILE.EXC? Could someone explain more in math? I tried both function on same range of data, and the return values are slightly different.

    Edit: Maybe I should also ask why there is error for cell D16.

    https://support.microsoft.com/en-us/...e-d626debdddca

    https://support.microsoft.com/en-us/...f-c31dc5dce4ba
    Attached Images Attached Images
    Last edited by VAer; 03-19-2024 at 12:54 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,434

    Re: What is the difference between PERCENTILE and PERCENTILE.EXC?

    In your first link, it says this:

    This function has been replaced with one or more new functions that may provide improved accuracy and whose names better reflect their usage. Although this function is still available for backward compatibility, you should consider using the new functions from now on, because this function may not be available in future versions of Excel.
    PERCENTILE.INC replaces PERCENTILE.

    https://bettersolutions.com/excel/fu...-functions.htm
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    09-10-2016
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    680

    Re: What is the difference between PERCENTILE and PERCENTILE.EXC?

    Quote Originally Posted by AliGW View Post
    In your first link, it says this:



    PERCENTILE.INC replaces PERCENTILE.

    https://bettersolutions.com/excel/fu...-functions.htm
    Then maybe I should ask the difference between PERCENTILE.INC and PERCENTILE.EXC

    Maybe I should also ask why there is error for cell D16.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,141

    Re: What is the difference between PERCENTILE and PERCENTILE.EXC?

    The syntax is PERCENTILE.EXC(array, k) and PERCENTILE.INC(array, k)



    PERCENTILE.EXC only works if k is between 1/(+1)n and 1-1/(n+1), where n is the number of elements in array. In your sample there were 5 values, so 1-1/(n+1)=.83333, so Percentile.eXc fails when you chose a value of 0.95. Similarly it fails if k<0.166667

    PERCENTILE.INC uses a slightly less accurate algorithm, but it works for any value of k between 0 and 1.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

+ 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. How to Determine Values of Percentile and Percentile Rank
    By rbellotti in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-30-2019, 09:57 AM
  2. Difference between Inclusive and Exclusive Percentile function
    By Excel_vba in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-09-2014, 11:27 PM
  3. PERCENTILE with IFs?
    By DSwartz in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-21-2013, 12:19 PM
  4. difference bw percentile and normdist
    By erwar in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-07-2013, 02:34 PM
  5. [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
  6. [SOLVED] PERCENTILE.INC and PERCENTILE.EXC - difference
    By Saturn in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-19-2012, 11:34 AM
  7. Percentile
    By sachinattri in forum Excel General
    Replies: 12
    Last Post: 06-04-2009, 01:01 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