Converting percentiles to quintiles

A

agbiggs

This sounds silly, but I have a column of data with percentile values
(i.e., 1 to 100) and I'd like to create a matching column showing what
quintile each one is in. Eg, if the percentile value is between 0-20
it's in the first quintile, 20-40, in the second, etc.).

Is there any easy way to do this other than a big nested IF statement?
If so, thanks!
 
P

Pete_UK

Assuming your data starts in A1, put this formula in B1:

=INT((A1-1)/20)+1

and copy down.

Hope this helps.

Pete
 
A

agbiggs

Assuming your data starts in A1, put this formula in B1:

=INT((A1-1)/20)+1

and copy down.

Hope this helps.

Pete

Thanks very much -- that works perfectly. I also tried it using the
TRUNC function, which seems to work. Thanks again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top