Calculate Percentile in Excel 2010

*爱你&永不变心* 提交于 2019-12-01 20:26:34

An extra column would simplify the calculations but you can calculate without if you want......

Assuming milliseconds in A2:A21 and number of calls in B2:B21 you can use this array formula

=PERCENTILE(IF(TRANSPOSE(ROW(INDIRECT("1:"&MAX(B$2:B$21))))<=B$2:B$21,A$2:A$21),0.95)

confirmed with CTRL+SHIFT+ENTER

or this non-array version

=LOOKUP(SUM(B$2:B$21)*0.95,SUBTOTAL(9,OFFSET(B$1,0,0,ROW(B$2:B$21)-ROW(B$2)+1)),A$2:A$21)

I get a result of 63 with both - change to 0.75 (75th percentile) and you get 59

Set up a new column which is "Number of Calls At or Below Time", and have it calculate the sum of the current row's number of calls, plus all numbers of calls in higher rows (lower times). Then, set up a column next to that called "Percentile", and calculate that by dividing "Number of Calls at or Below Time" by the total number of calls received. Whatever is the first row to show a percentile higher than 95% is the one which contains the 95th percentile.

Get the standard deviation of the time in milliseconds field, and use that to (95% ~ 2 x std) count the number of calls below ~2 standard deviations?

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!