Forum Discussion

AmyG123's avatar
AmyG123
Copper Contributor
Oct 19, 2022
Solved

Calculation method for Quartile

It is about different results between Excel Quartile function and manual calculation. Though this question has been asked previously by someone else. I didn't see a solution.   For even numbered da...
  • JoeUser2004's avatar
    Oct 19, 2022

    AmyG123 

     

    Unfortunately, MSFT has been "sanitizing" the function help pages, removing a lot of useful stuff.

     

    I found the following explanation in the PERCENTILE.INC online help page (click here😞

     

    ``If k is not a multiple of 1/(n - 1), PERCENTILE.INC interpolates to determine the value at the k-th percentile.``

     

    For QUARTILE (QUARTILE.INC), "k" would be 0, 25%, 50% 75% and 100%.

     

    Unfortunately, MSFT help pages are unreliable in general.  I would not trust that kind of information without some careful testing.

     

    It might be helpful if you posted some examples where your calculation differs -- and show how you are calculating your results.

     

    I do see your one example.  But you do not "show your work".  And some more examples might be helpful for inferring the algorithm.

     

    (I will also try to find a set of examples that might be dispositive.)

     

    As you noted, that does not make either method more or less correct, since statisticians do not agree on methods for interpolating percentiles -- or not.

     

Resources