•1 min read•from Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community
Need to optimize conditional percentile
I have a table of data about 200k rows long, and I'm trying to calculate a percentile of a column based on a subset of the data based on keys in other columns. What I am currently using is the following:
```
=percentile.inc(iferror(small(if((table[column1]>0)*(table[column2]=A5)*..., table[column3]), row(table[column1)-1), ""), A12)
```
This is currently taking way too long to run fir how many times I need to repeat this. Any suggestions to optimize the conditional percentile?
[link] [comments]
Want to read more?
Check out the full article on the original site
Tagged with
#rows.com