Percentrank with array more than 9768 rows

Bpuad

New Member
Joined
Feb 17, 2012
Messages
36
Office Version
  1. 2019
Platform
  1. Windows
Hi,

I'm trying to use the Percentrank function to rank salaries, but the list is more than 10.000 rows which Percentrank doesn't seem to like. I can use the function as long as I keep the array bellow row 9769? Any idea how I can solve this?
 
Last edited:

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
In my testing, the PERCENTRANK function does work on ranges over 10,000 rows. Here's my worksheet:

ABCDE
111000.0009
22110.0010.001
331000.0090.009901
447770.0770.077608
5597690.9760.976898
6698000.9790.979998
771000011
88
99
1010

<colgroup><col style="width: 25pxpx"><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet3

Worksheet Formulas
CellFormula
D1=PERCENTRANK($A$1:$A$10000,C1)
E1=COUNTIF($A$1:$A$10000,"<"&C1)/COUNTIFS($A$1:$A$10000,"<>"&C1,$A$1:$A$10000,"<>")
A1=ROW()

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>


The data in column A goes to row 10000.

It is worth noting that PERCENTRANK only goes to 3 decimal places and truncates after that. So values under .001 will be 0 (see row 1). If that is unacceptable, you can create your own PERCENTRANK function by combining COUNTIF like the formula in E1.

Hope this helps!
 
Upvote 0
Hi,

thank you, you are so right. The problem was because I had a cell with error on way down in the document. I thought I deleted all data but apparently missed one cell. Sorry for this and thank you for the answer.

/Per
 
Upvote 0

Forum statistics

Threads
1,214,652
Messages
6,120,746
Members
448,989
Latest member
mariah3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top