I have in column A the amounts. in column be i want to give them ranks between 1 to 20
the buffer for change from one rank to another would be 5% one rank to another.
You mean like add a column that shows the % where the number falls in increments of 5% so as to group all the numbers from 1-5% in group one, 6-10% in group two, etc?
Professor J
ASKER
yes yes
Professor J
ASKER
John,
your formula seem to work, but there is one small issue. it also shows 0 . i want from 1 to 20 not 0
If you add the number 1 to your data it seems to work....1 returns 0, and the other values have a percentile value.
The lowest number seems to fall out of the range.
John
Professor J
ASKER
John,
the data i attached here was a dummy as a sample. my data is huge like the range is from 5000 to 10 million.
i changed the significance of formula from 2 to 5 =ROUNDUP(PERCENTRANK.INC($A$2:$A$171,A2,5)/5*100,0)
it solved the problem except leaving one amount which is 5370 with zero .
any idea how to solve this?
Tom Farrar
Change INC to EXC. Does that give you what you want?