How to calculate Percentile for a large data set?

Aryaprakash

New Member
Joined
Oct 29, 2017
Messages
2
I want to know how to calculate percentile for a large data set. I have to calculate percentiles of 5th,10th,20th,30th,40th,50th,60th,70th,75th,80th,90th and 95th for a known value of data lets say.

1.456
1.234
1.457
1.453
1.789
1.670
1.543
1.234
1.342
1.568

I can do this by putting the formula like example=PERCENTILE.INC(IF(B:B=F3,A:A),0.05) for 5th-95th.
I want to do it for 50 states and 5 territories. That means I have to do it manually every time for each state and each territory. Is there a way in excel where I can put the formula and calculate the same thing faster for 50+5 times without doing it manually?
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Not sure I understand what you are trying to accomplish.

What is it in your formula that you have to change manually?

What first occurred to me was the "k", so you could try this if your data starts in A1, and copy down to row 19:

[TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]=PERCENTILE.INC($A$1:$A$10,ROW()*0.05)[/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:
Upvote 0
Ok. So for all the percentiles I can put the formula and drag down/confirm to populate the values. I want to do that for let’s say 50 times. Is there a simple way to populate it? I think I m just messing around with it which is taking lot of time.
 
Upvote 0
If you have your values columns lined up, first row at, say A1, and stretching all the way thru BC1 (55 columns), and down to as many rows as necessary, I would paste formula below, and copy it across another 55 columns, either in the same tab or another, and down for 19 rows to the 95th percentile.

=PERCENTILE.INC(A$1:A$10,ROW()*0.05)
(unlocking columns so it will cover subsequent columns, check number of rows for your values)

That would be a one time job, for next time, you'll just have to copy/paste new values.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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