formulastreak

Statistics function

PERCENTILE.INC function in Google Sheets and Excel

PERCENTILE.INC returns the value below which a given share of the data falls, such as the 90th percentile of scores.

Checked against Microsoft's and Google's documentation on · Example calculated on a live sheet

Syntax

PERCENTILE.INC(array, k)

Arguments in [brackets] are optional. Google Sheets writes it PERCENTILE.INC(data, percentile).

Example

=PERCENTILE.INC(D2:D13,0.9) reads: Return the score that 90% of the twelve scores in D2:D13 sit at or below.

Exam results · edit J1 and watch it recalculate
Click a cell (or use the arrow keys) to insert its address · Enter shows the resultJ1 = 87.6
ABCDEFGHIJ
1StudentClassHoursScoreFromGrade90th pct87.6
2NoorA2480F
3MateoB56650D
4HanaA88160C
5OllieB35570B
6ZaraA109385A
7IvanB672
8LeaA139
9OmarB777
10SaraA988
11TheoB461
12YukiA670
13BeaB884

J1 shows 87.6: 90% of the scores are at or below it.

How the spreadsheet calculates it

The k-th percentile of a range (k from 0 to 1). Here it's given D2:D13 and 0.9.

  1. 1. PERCENTILE.INC: The k-th percentile of a range (k from 0 to 1). Here it's given D2:D13 and 0.9.
    • range = `D2:D13`: the numbers
    • k = `0.9`: the percentile as a decimal

More PERCENTILE.INC examples

  • =PERCENTILE.INC(D2:D13,0.5)The 50th percentile: the same as the median, 71.
  • =PERCENTILE.INC(D2:D13,0.25)The 25th percentile of the scores.
  • =PERCENTILE.INC(D2:D13,J2)Any percentile, with k typed in J2.
  • =D2>=PERCENTILE.INC($D$2:$D$13,0.9)TRUE for scores in the top 10% (fill down).

Paste any of these into the formula explainer to see it step by step.

Tips

  • Write k as a decimal or a percentage, never as a whole number.
  • Put k in a cell so one formula works for any percentile.
  • Say in reports that the value is interpolated, so readers don't look for it in the data.

What PERCENTILE.INC is used for

Setting cut-offs like the top 10% of sales, reporting response times at the 90th or 95th percentile, salary bands, and grading on a curve.

Arguments

ArgumentRequiredWhat it is
arrayYesThe numbers, such as D2:D13.
kYesThe percentile as a decimal from 0 to 1, inclusive: 0.9 for the 90th, 0.25 for the 25th.Watch out: A k below 0 or above 1 gives #NUM!.

Common mistakes

  • Typing 90 instead of 0.9: #NUM!.

  • Expecting the answer to be one of the values: between two values PERCENTILE.INC takes the point in between, so 87.6 doesn't appear in the list.

  • Mixing up .INC and .EXC: PERCENTILE.EXC excludes 0 and 1 and gives slightly different values, so a report should say which one it used.

  • Writing k as a percentage in a cell formatted as a number, so 90% is read as 0.9 in one place and 90 in another.

In Google Sheets

Google Sheets has PERCENTILE.INC with the same two arguments (PERCENTILE.INC(data, percentile)), and the older name PERCENTILE.

Errors you may see with PERCENTILE.INC

  • #NUM!: k is below 0 or above 1, or the array is empty.
  • #VALUE!: k is text that can't be read as a number.

Questions

What's the difference between PERCENTILE.INC and PERCENTILE.EXC?

INC accepts k from 0 to 1 inclusive, so 0 and 1 return the minimum and maximum. EXC excludes the ends and works on a slightly different scale, so its answers differ a little. PERCENTILE, the older name, matches INC.

Can I type 90% instead of 0.9?

Yes: PERCENTILE.INC(D2:D13, 90%) is the same as 0.9, because 90% is the number 0.9. Typing 90 gives #NUM!.

Is the 50th percentile the median?

Yes: PERCENTILE.INC(range, 0.5) equals MEDIAN. On the exam sheet both give 71.

How do I find which percentile a value is at?

That's the reverse question; PERCENTRANK.INC returns a value's position as a share from 0 to 1.

Sources

Official documentation the facts on this page were checked against.

Practise PERCENTILE.INC on a live sheet

Lesson 44, Ranks, percentiles and bands (Unit 13, Statistics), has 5 graded exercises, checked instantly, with steps and hints when you're stuck. Pro