Solved

# Calculating a percentile

Posted on 2011-02-24
Medium Priority
270 Views
In column A are dates (in order, from 1986 to the present).  In column B are a range of values, so each day has a corresponding value.  Using the first x days of column B values as my sample (for example, 50 days), I need to calculate a value such that a given percentage of the sample values (say, 15%) are greater than that value and the rest are below that value.
0
Question by:pwflexner
1 Comment

LVL 81

Accepted Solution

zorvek (Kevin Jones) earned 1000 total points
ID: 34972673
Assuming that your first data row is 2 and the percentile is in cell C1 and the population size is in D1:

=SMALL(OFFSET(B2,0,0,D1,1),INT(C1*D1)+1)

Kevin
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft's Excel has many features that most people will never need nor take advantage of.  Conditional formatting is one feature that you may find a necessity once you start using it.
Windows Explorer let you handle zip folders nearly as any other folder: Copy, move, change, and delete, etc. In VBA you can also handle normal files and folders, but zip folders takes a little more - and that you'll find here.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
###### Suggested Courses
Course of the Month8 days, 23 hours left to enroll