1

A B 1 5 2 10 2 15 3 20

I want to calculate percentile for a column of values B if A is equal say 2. That's I want to get range of B2,B3 and calculate percentile of this.

So basically the question is: how do I select range in one column with the checking with another column?

I.e. it works perfectly with SumIf and CountIf, I just need the same with PercentileIf. Thx!

4

1 回答 1

2

对于 B1:B6 中的值等于 2 的所有单元格,这将为您提供 A1:A6 的第 25 个百分位:

=PERCENTILE.INC(IF(B1:B6=2,A1:A6,""),0.25)

这是一个数组公式,必须用Ctrl- Shift-输入Enter

于 2013-11-24T15:27:56.710 回答