Compatibility Excel 2007 (Compatibility) ◉ 32 views

=PERCENTRANK()

Returns the rank of a value in a data set as a percentage of the data set. This function can be used to evaluate the relative standing of a value within a data set. For example, you can use PERCENTRANK to evaluate the standing of an aptitude test score among all scores for the test. This function has been replaced with one or more new functions that may provide improved accuracy. Although this function is still available for backward compatibility, this function may not be available in future versions of Excel.

Applies To: Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for MacExcel 2021Excel 2021 for MacExcel 2019Excel 2016
=PERCENTRANK(array,x,[significance])
Hover argument names in the table for details.
Output typeNumber
Popularity21 / 100
VolatileNo
Dynamic ArrayNo
Download sample .xlsx ▦ Try in Playground Dedicated file for this function — safe & lightweight · sample data + live formulas
Share:

⬇ Download Sample Workbook

A dedicated .xlsx for =PERCENTRANK() with Persian sample data & live formulas — open in Excel and practice.

  • Sheet “Sample” — data table + formula in place
  • Sheet “Guide” — syntax, arguments & tips from this page
  • Instant & secure (token + rate limit)
Download PERCENTRANK.xlsx ~ 8–12 KB · No macros

⇪ Share

Send this function to friends

Quiz this function

%d questions — syntax, example & errors — test yourself!

◧ Arguments

ArgumentTypeRequiredDescription
array Range Required The range of data (or pre-defined array) of numeric values within which percent rank is determined.
x Number Required The value for which you want to know the rank within the array.
significance Number Optional A value that identifies the number of significant digits for the returned percentage value. If omitted, PERCENTRANK uses three digits (0.xxx).

▣ Examples

▦ Data
CellValue
A2 13
A3 12
A4 11
A5 8
A6 4
A7 3
A8 2
A9 1
A10 1
A11 1
A12 13
A13 12
A14 11
A15 8
A16 4
A17 3
A18 2
A19 1
A20 1
A21 1
Percent rank of 2 in the range A2:A11. Result is 0.333 because three values in the set are less than 2, and six are greater than 2. Because 2 is found in the range (cell A8), the number of values less than 2 is divided by the sum of the number of values less than 2 and the number of values greater than 2. That is, 3/(3+6)=0.333. =PERCENTRANK(A2:A11,2)
Result: 0.333
Percent rank of 4 in the range A2:A11. Five values are less than 4, and four are greater. Following the example above, 5/(4+5)=0.555. =PERCENTRANK(A2:A11,4)
Result: 0.555
Percent rank of 8 in the range A2:A11. Six values are less than 8, and 3 are greater. Following the example above, 6/(6+3) =0.666. =PERCENTRANK(A2:A11,8)
Result: 0.666
Percent rank of 5 in the range A2:A11. Unlike the examples above, 5 is not found in the range. The PERCENTRANK of 5 is calculated by finding the one-quarter mark between the PERCENTRANK of 4 and the PERCENTRANK of 8. This is (0.555)+(0.25*(0.666-0.555)), or 0.583. =PERCENTRANK(A2:A11,5)
Result: 0.583

§ Remarks

  • If the array is empty, PERCENTRANK returns the #NUM! error value.
  • If significance < 1, PERCENTRANK returns the #NUM! error value.
  • If X does not specifically match one of the values in the array (e.g., a list of specific student test scores) PERCENTRANK interpolates to return a percentage rank for X.

✦ Tips

  • This function has been replaced along with other functions that may provide improved accuracy and whose names better reflect their purpose. This function remains available for backward compatibility but may not be available in future versions of Excel. Consider now using the newer functions.
  • If X does not specifically match one of the values in the array (e.g., a list of specific student test scores) PERCENTRANK interpolates to return a percentage rank for X.

⚠ Common Errors

#NUM! If the array is empty, PERCENTRANK returns the #NUM! error value. If significance < 1, PERCENTRANK returns the #NUM! error value.
Fix: مطمئن شوید آرایه پر است و برای significance عدد صحیح 1 یا بیشتر (تعداد ارقام معنادار) وارد کنید.

💬 Comments & Q&A 0 approved

🔒 Your comment will be published after review.

Share your thoughts — visible after admin approval

No comments yet — be the first!

✍️ Add comment / question

captcha
🔒 Your comment will be published after review.