Hello, I'm trying to calculate percentiles for different groups in column A using random value data in column B, but ignoring blanks and zeros. I've searched around, but everywhere I've seen shows ranges of data, and the formula can't quite get me what I'm looking for. And while my example only shows three groups of five, my real world example will have multiple groups with each group having a random number of rows.
So far I have the following, assuming I'm calculating the 80th percentile for each group:
=PERCENTILE(IF(A:A=A2,B:B),0.8)
It works, but it doesn't ignore blanks and zeroes.
Any help on getting me the rest of the way there?
Thanks!
So far I have the following, assuming I'm calculating the 80th percentile for each group:
=PERCENTILE(IF(A:A=A2,B:B),0.8)
It works, but it doesn't ignore blanks and zeroes.
Any help on getting me the rest of the way there?
Thanks!